Commit 4ea62d1a by Richard Kenner

(ftruncdf2): Enable for m68060 systems.

From-SVN: r11770
parent 3c46fbf6
...@@ -99,11 +99,10 @@ ...@@ -99,11 +99,10 @@
;;- be emulated in software by the OS. It is faster to avoid these ;;- be emulated in software by the OS. It is faster to avoid these
;;- instructions and issue a library call rather than trapping into ;;- instructions and issue a library call rather than trapping into
;;- the kernel. The affected instructions are: divs.l <ea>,Dr:Dq; ;;- the kernel. The affected instructions are: divs.l <ea>,Dr:Dq;
;;- divu.l <ea>,Dr:Dq; muls.l <ea>,Dr:Dq; mulu.l <ea>,Dr:Dq, fintrz; ;;- divu.l <ea>,Dr:Dq; muls.l <ea>,Dr:Dq; mulu.l <ea>,Dr:Dq; and
;;- and fscale. The TARGET_68060 flag turns the use of the opcodes ;;- fscale. The TARGET_68060 flag turns the use of the opcodes
;;- off. ;;- off.
;;- FPA port explanation: ;;- FPA port explanation:
;;- Usage of the Sun FPA and the 68881 together ;;- Usage of the Sun FPA and the 68881 together
...@@ -1910,7 +1909,7 @@ ...@@ -1910,7 +1909,7 @@
(define_insn "ftruncdf2" (define_insn "ftruncdf2"
[(set (match_operand:DF 0 "general_operand" "=f") [(set (match_operand:DF 0 "general_operand" "=f")
(fix:DF (match_operand:DF 1 "general_operand" "fFm")))] (fix:DF (match_operand:DF 1 "general_operand" "fFm")))]
"TARGET_68881 && !TARGET_68040 && !TARGET_68060" "TARGET_68881 && !TARGET_68040"
"* "*
{ {
if (FP_REG_P (operands[1])) if (FP_REG_P (operands[1]))
...@@ -1921,7 +1920,7 @@ ...@@ -1921,7 +1920,7 @@
(define_insn "ftruncsf2" (define_insn "ftruncsf2"
[(set (match_operand:SF 0 "general_operand" "=f") [(set (match_operand:SF 0 "general_operand" "=f")
(fix:SF (match_operand:SF 1 "general_operand" "dfFm")))] (fix:SF (match_operand:SF 1 "general_operand" "dfFm")))]
"TARGET_68881 && !TARGET_68040 && !TARGET_68060" "TARGET_68881 && !TARGET_68040"
"* "*
{ {
if (FP_REG_P (operands[1])) if (FP_REG_P (operands[1]))
......
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