* fix for jcxz, jecxz and jrcxz on 64 bit platforms

git-svn-id: trunk@6400 -
This commit is contained in:
florian 2007-02-10 21:05:27 +00:00
parent 9813a8708c
commit a19ed91cc3
13 changed files with 30 additions and 15 deletions

View File

@ -163,6 +163,7 @@
'iretw',
'jcxz',
'jecxz',
'jrcxz',
'jmp',
'lahf',
'lar',

View File

@ -163,6 +163,7 @@ attsufNONE,
attsufNONE,
attsufNONE,
attsufNONE,
attsufNONE,
attsufINT,
attsufNONE,
attsufINT,

View File

@ -163,6 +163,7 @@
'iretw',
'jcxz',
'jecxz',
'jrcxz',
'jmp',
'lahf',
'lar',

View File

@ -163,6 +163,7 @@ A_IRETD,
A_IRETW,
A_JCXZ,
A_JECXZ,
A_JRCXZ,
A_JMP,
A_LAHF,
A_LAR,

View File

@ -163,6 +163,7 @@
(Ch: (Ch_All, Ch_None, Ch_None)),
(Ch: (Ch_RECX, Ch_None, Ch_None)),
(Ch: (Ch_RECX, Ch_None, Ch_None)),
(Ch: (Ch_RECX, Ch_None, Ch_None)),
(Ch: (Ch_ROp1, Ch_None, Ch_None)),
(Ch: (Ch_WEAX, Ch_RFlags, Ch_None)),
(Ch: (Ch_Wop2, Ch_None, Ch_None)),

View File

@ -2517,15 +2517,15 @@
opcode : A_JCXZ;
ops : 1;
optypes : (ot_immediate,ot_none,ot_none);
code : #200#1#227#40;
flags : if_8086
code : #2#103#227#40;
flags : if_8086 or if_nox86_64
),
(
opcode : A_JECXZ;
ops : 1;
optypes : (ot_immediate,ot_none,ot_none);
code : #201#1#227#40;
flags : if_386
code : #1#227#40;
flags : if_386 or if_nox86_64
),
(
opcode : A_JMP;

View File

@ -855,11 +855,16 @@ void \324\1\xCF 8086
[JCXZ]
(Ch_RECX, Ch_None, Ch_None)
imm \310\1\xE3\50 8086
imm \2\x67\xE3\50 8086,NOX86_64
[JECXZ]
(Ch_RECX, Ch_None, Ch_None)
imm \311\1\xE3\50 386
imm \1\xE3\50 386,NOX86_64
imm \2\x67\xE3\50 X86_64
[JRCXZ]
(Ch_RECX, Ch_None, Ch_None)
imm \1\xE3\50 X86_64
[JMP,jmpX]
(Ch_ROp1, Ch_None, Ch_None)

View File

@ -163,6 +163,7 @@ attsufNONE,
attsufNONE,
attsufNONE,
attsufNONE,
attsufNONE,
attsufINT,
attsufNONE,
attsufINT,

View File

@ -163,6 +163,7 @@
'iretw',
'jcxz',
'jecxz',
'jrcxz',
'jmp',
'lahf',
'lar',

View File

@ -163,6 +163,7 @@
'iretw',
'jcxz',
'jecxz',
'jrcxz',
'jmp',
'lahf',
'lar',

View File

@ -163,6 +163,7 @@ A_IRETD,
A_IRETW,
A_JCXZ,
A_JECXZ,
A_JRCXZ,
A_JMP,
A_LAHF,
A_LAR,

View File

@ -163,6 +163,7 @@
(Ch: (Ch_All, Ch_None, Ch_None)),
(Ch: (Ch_RECX, Ch_None, Ch_None)),
(Ch: (Ch_RECX, Ch_None, Ch_None)),
(Ch: (Ch_RECX, Ch_None, Ch_None)),
(Ch: (Ch_ROp1, Ch_None, Ch_None)),
(Ch: (Ch_WEAX, Ch_RFlags, Ch_None)),
(Ch: (Ch_Wop2, Ch_None, Ch_None)),

View File

@ -2499,19 +2499,19 @@
code : #212#1#207;
flags : if_8086
),
(
opcode : A_JCXZ;
ops : 1;
optypes : (ot_immediate,ot_none,ot_none);
code : #200#1#227#40;
flags : if_8086
),
(
opcode : A_JECXZ;
ops : 1;
optypes : (ot_immediate,ot_none,ot_none);
code : #213#1#227#40;
flags : if_386
code : #2#103#227#40;
flags : if_x86_64
),
(
opcode : A_JRCXZ;
ops : 1;
optypes : (ot_immediate,ot_none,ot_none);
code : #1#227#40;
flags : if_x86_64
),
(
opcode : A_JMP;