diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2015-01-17 22:34:27 +0000 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2015-01-26 19:56:45 +0000 |
commit | 5f30046f156c181fb4088da2f4b8ea25a7d07c7a (patch) | |
tree | 06a195fdd14cb87d1f0120a88ae38aca71bb6736 /target-tricore/cpu.c | |
parent | 452e3d49d871f311f7b884dc69160c3e0973b050 (diff) |
target-tricore: Several translator and cpu model fixes
Fix tc1796 cpu model using wrong ISA version.
Fix cond_add sometimes writing back wrong result.
Fix RCR_SEL and RCR_SELN using wrong registers for result and cond.
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'target-tricore/cpu.c')
-rw-r--r-- | target-tricore/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-tricore/cpu.c b/target-tricore/cpu.c index abe16fa7e6..2ba0cf4c89 100644 --- a/target-tricore/cpu.c +++ b/target-tricore/cpu.c @@ -118,7 +118,7 @@ static void tc1796_initfn(Object *obj) { TriCoreCPU *cpu = TRICORE_CPU(obj); - set_feature(&cpu->env, TRICORE_FEATURE_13); + set_feature(&cpu->env, TRICORE_FEATURE_131); } static void aurix_initfn(Object *obj) |