target-sh4: implement flush-to-zero
commita0d4ac333a8e59152c48ce659dc831391fff6df3
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:18 +0000 (14 20:39 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 14 Jan 2011 19:39:18 +0000 (14 20:39 +0100)
tree5fb8809b8de58d13d445e7191416cc1c31d76d2c
parent26ac1ea5590c2710d050bfe2630c1546f109d28c
target-sh4: implement flush-to-zero

When the FPSCR.DN bit is set, the SH4 FPU treat denormalized numbers as
zero. Enable the corresponding softfloat option when this bit is set.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-sh4/op_helper.c
target-sh4/translate.c