summaryrefslogtreecommitdiffstats
path: root/target-sh4/translate.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-01-14 20:39:18 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-01-14 20:39:18 +0100
commit21829e9b39e3aa0874931aa6981f258c82f41715 (patch)
treea10198fae0d5e0f65ede02c9d3dd135a51a28455 /target-sh4/translate.c
parenta0d4ac333a8e59152c48ce659dc831391fff6df3 (diff)
downloadhqemu-21829e9b39e3aa0874931aa6981f258c82f41715.zip
hqemu-21829e9b39e3aa0874931aa6981f258c82f41715.tar.gz
target-sh4: implement FPU exceptions
FPU exception support where not implemented on SH4. Implement them by clearing the softfloat exceptions flags before an FP instruction (the SH4 FPU also clear them before an instruction), and calling a function to update the FPSCR register after an FP instruction. This function update the corresponding FPSCR bits (both flags and cumulative flags) and trigger exception if enabled. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-sh4/translate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud