[llvm-branch-commits] [llvm-gcc-branch] r98849 - /llvm-gcc-4.2/branches/Apple/Morbo/gcc/config/i386/i386.c
Stuart Hastings
stuart at apple.com
Thu Mar 18 11:55:57 PDT 2010
Author: stuart
Date: Thu Mar 18 13:55:57 2010
New Revision: 98849
URL: http://llvm.org/viewvc/llvm-project?rev=98849&view=rev
Log:
Inline LEA instruction doesn't want the second modifier letter. Radar 7763139.
Modified:
llvm-gcc-4.2/branches/Apple/Morbo/gcc/config/i386/i386.c
Modified: llvm-gcc-4.2/branches/Apple/Morbo/gcc/config/i386/i386.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Morbo/gcc/config/i386/i386.c?rev=98849&r1=98848&r2=98849&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Morbo/gcc/config/i386/i386.c (original)
+++ llvm-gcc-4.2/branches/Apple/Morbo/gcc/config/i386/i386.c Thu Mar 18 13:55:57 2010
@@ -22877,8 +22877,9 @@
|| strcasecmp (opcode, "str") == 0
|| strcasecmp (opcode, "xlat") == 0)
e->mod[0] = 0;
- else if (strcasecmp (opcode, "rcr") == 0
+ else if (strcasecmp (opcode, "lea") == 0
|| strcasecmp (opcode, "rcl") == 0
+ || strcasecmp (opcode, "rcr") == 0
|| strcasecmp (opcode, "rol") == 0
|| strcasecmp (opcode, "ror") == 0
|| strcasecmp (opcode, "sal") == 0
More information about the llvm-branch-commits
mailing list