Commit c0ce409a by Brendan Kehoe

alpha.md (fix_truncdfdi2, [...]): Use `cvttqc', not `cvttq', to avoid rounding up.

        * alpha.md (fix_truncdfdi2, fix_truncsfdi2): Use `cvttqc', not
        `cvttq', to avoid rounding up.

From-SVN: r3454
parent ad082475
...@@ -955,7 +955,7 @@ ...@@ -955,7 +955,7 @@
[(set (match_operand:DI 0 "register_operand" "=f") [(set (match_operand:DI 0 "register_operand" "=f")
(fix:DI (match_operand:DF 1 "reg_or_fp0_operand" "fG")))] (fix:DI (match_operand:DF 1 "reg_or_fp0_operand" "fG")))]
"TARGET_FP" "TARGET_FP"
"cvttq %R1,%0" "cvttqc %R1,%0"
[(set_attr "type" "fpop")]) [(set_attr "type" "fpop")])
(define_insn "fix_truncsfdi2" (define_insn "fix_truncsfdi2"
...@@ -963,7 +963,7 @@ ...@@ -963,7 +963,7 @@
(fix:DI (float_extend:DF (fix:DI (float_extend:DF
(match_operand:SF 1 "reg_or_fp0_operand" "fG"))))] (match_operand:SF 1 "reg_or_fp0_operand" "fG"))))]
"TARGET_FP" "TARGET_FP"
"cvttq %R1,%0" "cvttqc %R1,%0"
[(set_attr "type" "fpop")]) [(set_attr "type" "fpop")])
(define_insn "floatdisf2" (define_insn "floatdisf2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment