Ticket #9070: gccbswap.patch
File gccbswap.patch, 560 bytes (added by , 16 years ago) |
---|
-
gcc-4.3.2/gcc/config/mips/mips.md
old new 4846 4846 [(set_attr "type" "shift") 4847 4847 (set_attr "mode" "<MODE>")]) 4848 4848 4849 4849 4850 (define_insn "bswapsi2" 4851 [(set (match_operand:SI 0 "register_operand" "=d") 4852 (bswap:SI (match_operand:SI 1 "register_operand" "d")))] 4853 "ISA_HAS_ROR" 4854 "wsbh\t%0,%1\n\tror\t%0,%0,16" 4855 [(set_attr "type" "shift") 4856 (set_attr "mode" "SI") 4857 (set_attr "length" "8")]) 4858 4850 4859 ;; 4851 4860 ;; ....................