diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-14 20:39:18 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-14 20:39:18 +0100 |
commit | 21829e9b39e3aa0874931aa6981f258c82f41715 (patch) | |
tree | a10198fae0d5e0f65ede02c9d3dd135a51a28455 /target-sh4/helper.h | |
parent | a0d4ac333a8e59152c48ce659dc831391fff6df3 (diff) |
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/helper.h')
0 files changed, 0 insertions, 0 deletions