Browse Source

- rm LEA reg,imm from x86ins.dat, as that's not a valid x86 instruction,
using it in inline asm causes an internal error and removing it didn't show
any regressions after running the testsuite on i386-linux.

git-svn-id: trunk@25827 -

nickysn 11 years ago
parent
commit
0f69362edd

+ 1 - 1
compiler/i386/i386nop.inc

@@ -1,2 +1,2 @@
 { don't edit, this file is generated from x86ins.dat }
 { don't edit, this file is generated from x86ins.dat }
-1658;
+1657;

+ 0 - 7
compiler/i386/i386tab.inc

@@ -2653,13 +2653,6 @@
     code    : #208#1#141#72;
     code    : #208#1#141#72;
     flags   : if_8086
     flags   : if_8086
   ),
   ),
-  (
-    opcode  : A_LEA;
-    ops     : 2;
-    optypes : (ot_reg16 or ot_bits32 or ot_bits64,ot_immediate,ot_none,ot_none);
-    code    : #208#1#141#72;
-    flags   : if_8086 or if_sd
-  ),
   (
   (
     opcode  : A_LEAVE;
     opcode  : A_LEAVE;
     ops     : 0;
     ops     : 0;

+ 1 - 1
compiler/i8086/i8086nop.inc

@@ -1,2 +1,2 @@
 { don't edit, this file is generated from x86ins.dat }
 { don't edit, this file is generated from x86ins.dat }
-1686;
+1685;

+ 0 - 7
compiler/i8086/i8086tab.inc

@@ -2653,13 +2653,6 @@
     code    : #208#1#141#72;
     code    : #208#1#141#72;
     flags   : if_8086
     flags   : if_8086
   ),
   ),
-  (
-    opcode  : A_LEA;
-    ops     : 2;
-    optypes : (ot_reg16 or ot_bits32 or ot_bits64,ot_immediate,ot_none,ot_none);
-    code    : #208#1#141#72;
-    flags   : if_8086 or if_sd
-  ),
   (
   (
     opcode  : A_LEAVE;
     opcode  : A_LEAVE;
     ops     : 0;
     ops     : 0;

+ 0 - 1
compiler/x86/x86ins.dat

@@ -925,7 +925,6 @@ reg16|32,mem          \320\1\xC5\110                  8086,NOX86_64
 [LEA,leaX]
 [LEA,leaX]
 (Ch_Wop2, Ch_Rop1, Ch_None)
 (Ch_Wop2, Ch_Rop1, Ch_None)
 reg16|32|64,mem          \320\1\x8D\110                  8086
 reg16|32|64,mem          \320\1\x8D\110                  8086
-reg16|32|64,imm          \320\1\x8D\110                  8086,SD
 
 
 [LEAVE]
 [LEAVE]
 (Ch_RWESP, Ch_WEBP, Ch_None)
 (Ch_RWESP, Ch_WEBP, Ch_None)

+ 1 - 1
compiler/x86_64/x8664nop.inc

@@ -1,2 +1,2 @@
 { don't edit, this file is generated from x86ins.dat }
 { don't edit, this file is generated from x86ins.dat }
-1679;
+1678;

+ 0 - 7
compiler/x86_64/x8664tab.inc

@@ -2548,13 +2548,6 @@
     code    : #208#1#141#72;
     code    : #208#1#141#72;
     flags   : if_8086
     flags   : if_8086
   ),
   ),
-  (
-    opcode  : A_LEA;
-    ops     : 2;
-    optypes : (ot_reg16 or ot_bits32 or ot_bits64,ot_immediate,ot_none,ot_none);
-    code    : #208#1#141#72;
-    flags   : if_8086 or if_sd
-  ),
   (
   (
     opcode  : A_LEAVE;
     opcode  : A_LEAVE;
     ops     : 0;
     ops     : 0;