This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[applied] Patch to mips.md leadi pattern
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: echristo at redhat dot com
- Date: 06 Jan 2003 13:38:01 +0000
- Subject: [applied] Patch to mips.md leadi pattern
I'm sure this patch has been posted & approved before now,
but I think it qualifies as obvious anyway. Tested on
mips64vrel-elf, fixes execute/930529-1.c for EABI64.
Applied to trunk.
Richard
* config/mips/mips.md (leadi): Use dla rather than la.
Index: config/mips/mips.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.md,v
retrieving revision 1.159
diff -u -d -p -F^[(a-zA-Z0-9_^#] -r1.159 mips.md
--- config/mips/mips.md 5 Jan 2003 12:02:22 -0000 1.159
+++ config/mips/mips.md 6 Jan 2003 13:31:29 -0000
@@ -11202,7 +11202,7 @@ (define_insn "leadi"
[(set (match_operand:DI 0 "register_operand" "=d")
(match_operand:DI 1 "address_operand" "p"))]
"Pmode == DImode"
- "la %0,%a1"
+ "dla %0,%a1"
[(set_attr "type" "arith")
(set_attr "mode" "DI")
(set_attr "length" "40")])