diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2016-03-11 16:03:11 +0100 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2016-03-23 09:22:48 +0100 |
commit | 996a729f9b7f93fb921891bf0e07757a29d0c68a (patch) | |
tree | aa4f52d2b9a699187c4afc52c24258b85caf069a /target-tricore/translate.c | |
parent | 1bd3e2fc3de683941f18e346a1793b81b20cab2d (diff) |
target-tricore: Add FPU infrastructure
This patch adds a file for all the FPU related helpers with all the includes,
useful defines, and a function to update the status bits. Additionally it adds
a mask for the rounding mode bits of PSW as well as all the opcodes for the
FPU instructions.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <1457708597-3025-2-git-send-email-kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'target-tricore/translate.c')
-rw-r--r-- | target-tricore/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-tricore/translate.c b/target-tricore/translate.c index 66f798a9b9..8c429c5387 100644 --- a/target-tricore/translate.c +++ b/target-tricore/translate.c @@ -8773,6 +8773,7 @@ void cpu_state_reset(CPUTriCoreState *env) { /* Reset Regs to Default Value */ env->PSW = 0xb80; + fpu_set_state(env); } static void tricore_tcg_init_csfr(void) |