Fix alpha-linux -mieee bug reported by H.J. Lu.

* alpha.md (floatdisf2-1): New pattern.

From-SVN: r15045
This commit is contained in:
Jim Wilson 1997-09-03 01:27:01 +00:00 committed by Jim Wilson
parent 49dad301f0
commit 8cf02b4799
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
* alpha.md (floatdisf2-1): New pattern.
Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
* mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions

View File

@ -1517,6 +1517,14 @@
"cvt%-qc %R1,%0"
[(set_attr "type" "fadd")])
(define_insn ""
[(set (match_operand:SF 0 "register_operand" "=&f")
(float:SF (match_operand:DI 1 "register_operand" "f")))]
"TARGET_FP && alpha_tp == ALPHA_TP_INSN"
"cvtq%,%+%& %1,%0"
[(set_attr "type" "fadd")
(set_attr "trap" "yes")])
(define_insn "floatdisf2"
[(set (match_operand:SF 0 "register_operand" "=f")
(float:SF (match_operand:DI 1 "register_operand" "f")))]