]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-mips: use softfloat constants when possible
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 23 Oct 2012 08:12:00 +0000 (10:12 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 31 Oct 2012 21:20:46 +0000 (22:20 +0100)
commit05993cd05fcdebc75f8432cf6ad558726dc8ec15
tree664f4bdee55d84d7eddc9d7a7f895be2c77ec923
parent4cc2e5f989728424e913777c494d68dbf0d2ec09
target-mips: use softfloat constants when possible

softfloat already has a few constants defined, use them instead of
redefining them in target-mips.

Rename FLOAT_SNAN32 and FLOAT_SNAN64 to FP_TO_INT32_OVERFLOW and
FP_TO_INT64_OVERFLOW as even if they have the same value, they are
technically different (and defined differently in the MIPS ISA).

Remove the unused constants.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/op_helper.c