SPARC64: fix VIS1 SIMD signed compare instructions
authorTsuneo Saito <tsnsaito@gmail.com>
Mon, 18 Jul 2011 06:00:00 +0000 (15:00 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 20 Jul 2011 20:44:23 +0000 (20:44 +0000)
commit885a4ddf863e962d51dee33497840b4a4ea58606
tree5d780c0cc56865d7dedebea0c8d49ed5b47c2785
parent87169158c30439ca3cc266dbb67d674535f6b8ea
SPARC64: fix VIS1 SIMD signed compare instructions

The destination registers of SIMD signed compare instructions
(fcmp*<16|32>) are not FP registers but general purpose r registers.
Comparisons should be freg_rs1 CMP freg_rs2, that were reversed.

Signed-off-by: Tsuneo Saito <tsnsaito@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/helper.h
target-sparc/op_helper.c
target-sparc/translate.c