Another linux/alpha bug

Jim Wilson wilson@chestnut.cygnus.com
Tue Sep 2 18:24:00 GMT 1997


The problem is a missing pattern for the -mieee support.  The following patch
fixes this.

Tue Sep  2 18:09:39 1997  Jim Wilson  <wilson@cygnus.com>

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

Index: alpha.md
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/config/alpha/alpha.md,v
retrieving revision 1.2
diff -p -r1.2 alpha.md
*** alpha.md	1997/08/15 05:29:33	1.2
--- alpha.md	1997/09/03 01:09:12
***************
*** 1517,1522 ****
--- 1517,1530 ----
    "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")))]




More information about the Gcc mailing list