fix ia64 glibc s_scalbn.c miscompilation at -O
Jim Wilson
wilson@cygnus.com
Fri Mar 17 12:23:00 GMT 2000
I had the operands to mix4.r swapped in the 3 operand case.
Thu Mar 16 20:17:03 2000 Jim Wilson <wilson@cygnus.com>
* config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
Index: ia64.md
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/ia64/ia64.md,v
retrieving revision 1.52
diff -p -r1.52 ia64.md
*** ia64.md 2000/03/15 19:44:18 1.52
--- ia64.md 2000/03/17 04:17:00
***************
*** 702,708 ****
(ashift:DI (zero_extend:DI (match_operand:SI 2 "register_operand" "r"))
(const_int 32))))]
""
! "mix4.r %0 = %1, %2"
[(set_attr "type" "I")])
--- 702,708 ----
(ashift:DI (zero_extend:DI (match_operand:SI 2 "register_operand" "r"))
(const_int 32))))]
""
! "mix4.r %0 = %2, %1"
[(set_attr "type" "I")])
More information about the Gcc-patches
mailing list