From 73e22f19191ef9f8410c888f6a0990fa119bd41f Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 26 Mar 2006 20:27:02 +0000 Subject: [PATCH] * one byte inc/dec aren't allowed for x86_64 git-svn-id: trunk@3047 - --- compiler/x86/x86ins.dat | 4 ++-- compiler/x86_64/x8664nop.inc | 2 +- compiler/x86_64/x8664tab.inc | 14 -------------- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/compiler/x86/x86ins.dat b/compiler/x86/x86ins.dat index 6a18e1d8ef..d9f4dc3302 100644 --- a/compiler/x86/x86ins.dat +++ b/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 diff --git a/compiler/x86_64/x8664nop.inc b/compiler/x86_64/x8664nop.inc index 5fe2125afc..38b54b54d2 100644 --- a/compiler/x86_64/x8664nop.inc +++ b/compiler/x86_64/x8664nop.inc @@ -1,2 +1,2 @@ { don't edit, this file is generated from x86ins.dat } -1380; +1378; diff --git a/compiler/x86_64/x8664tab.inc b/compiler/x86_64/x8664tab.inc index 663aba4f32..52723a6f20 100644 --- a/compiler/x86_64/x8664tab.inc +++ b/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;