Browse Source

* one byte inc/dec aren't allowed for x86_64

git-svn-id: trunk@3047 -
florian 19 years ago
parent
commit
73e22f1919
3 changed files with 3 additions and 17 deletions
  1. 2 2
      compiler/x86/x86ins.dat
  2. 1 1
      compiler/x86_64/x8664nop.inc
  3. 0 14
      compiler/x86_64/x8664tab.inc

+ 2 - 2
compiler/x86/x86ins.dat

@@ -225,7 +225,7 @@ void                  \1\x2F                          8086
 
 [DEC,decX]
 (Ch_Mop1, Ch_WFlags, Ch_None)
-reg16|32|64           \320\10\x48                     8086
+reg16|32|64           \320\10\x48                     8086,NOX86_64
 rm16|32|64            \320\300\1\xFF\201              8086
 rm8                   \300\1\xFE\201                  8086
 
@@ -793,7 +793,7 @@ reg_ax|32|64,reg_dx   \320\1\xED                      8086
 
 [INC,incX]
 (Ch_Mop1, Ch_WFlags, Ch_None)
-reg16|32|64           \320\10\x40                     8086
+reg16|32|64           \320\10\x40                     8086,NOX86_64
 rm16|32|64            \320\300\1\xFF\200              8086
 rm8                   \300\1\xFE\200                  8086
 

+ 1 - 1
compiler/x86_64/x8664nop.inc

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

+ 0 - 14
compiler/x86_64/x8664tab.inc

@@ -707,13 +707,6 @@
     code    : #1#47;
     flags   : if_8086
   ),
-  (
-    opcode  : A_DEC;
-    ops     : 1;
-    optypes : (ot_reg16 or ot_bits32 or ot_bits64,ot_none,ot_none);
-    code    : #208#8#72;
-    flags   : if_8086
-  ),
   (
     opcode  : A_DEC;
     ops     : 1;
@@ -2394,13 +2387,6 @@
     code    : #208#1#237;
     flags   : if_8086
   ),
-  (
-    opcode  : A_INC;
-    ops     : 1;
-    optypes : (ot_reg16 or ot_bits32 or ot_bits64,ot_none,ot_none);
-    code    : #208#8#64;
-    flags   : if_8086
-  ),
   (
     opcode  : A_INC;
     ops     : 1;