alpha.md (fix_truncdfdi2, [...]): Use `cvttqc', not `cvttq', to avoid rounding up.
authorBrendan Kehoe <brendan@gcc.gnu.org>
Wed, 10 Feb 1993 03:16:37 +0000 (22:16 -0500)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Wed, 10 Feb 1993 03:16:37 +0000 (22:16 -0500)
        * alpha.md (fix_truncdfdi2, fix_truncsfdi2): Use `cvttqc', not
        `cvttq', to avoid rounding up.

From-SVN: r3454

gcc/config/alpha/alpha.md

index d07f82c..a49b621 100644 (file)
   [(set (match_operand:DI 0 "register_operand" "=f")
        (fix:DI (match_operand:DF 1 "reg_or_fp0_operand" "fG")))]
   "TARGET_FP"
-  "cvttq %R1,%0"
+  "cvttqc %R1,%0"
   [(set_attr "type" "fpop")])
 
 (define_insn "fix_truncsfdi2"
        (fix:DI (float_extend:DF
                 (match_operand:SF 1 "reg_or_fp0_operand" "fG"))))]
   "TARGET_FP"
-  "cvttq %R1,%0"
+  "cvttqc %R1,%0"
   [(set_attr "type" "fpop")])
 
 (define_insn "floatdisf2"