- removed IF_CENTAUR and replaced it with IF_CYRIX. Rationale: only 3 Centaur -

specific instructions were marked as CENTAUR, all the others were marked
  CYRIX, so it wasn't an accurate flag at all

git-svn-id: trunk@33326 -
This commit is contained in:
nickysn 2016-03-25 17:01:11 +00:00
parent 9f2defcb7e
commit cf3230b100
5 changed files with 14 additions and 16 deletions

View File

@ -7677,21 +7677,21 @@
ops : 0;
optypes : (ot_none,ot_none,ot_none,ot_none);
code : #219#3#15#166#192;
flags : if_centaur
flags : if_p6 or if_cyrix
),
(
opcode : A_XSHA1;
ops : 0;
optypes : (ot_none,ot_none,ot_none,ot_none);
code : #219#3#15#166#200;
flags : if_centaur
flags : if_p6 or if_cyrix
),
(
opcode : A_XSHA256;
ops : 0;
optypes : (ot_none,ot_none,ot_none,ot_none);
code : #219#3#15#166#208;
flags : if_centaur
flags : if_p6 or if_cyrix
),
(
opcode : A_DMINT;

View File

@ -7705,21 +7705,21 @@
ops : 0;
optypes : (ot_none,ot_none,ot_none,ot_none);
code : #219#3#15#166#192;
flags : if_centaur
flags : if_p6 or if_cyrix
),
(
opcode : A_XSHA1;
ops : 0;
optypes : (ot_none,ot_none,ot_none,ot_none);
code : #219#3#15#166#200;
flags : if_centaur
flags : if_p6 or if_cyrix
),
(
opcode : A_XSHA256;
ops : 0;
optypes : (ot_none,ot_none,ot_none,ot_none);
code : #219#3#15#166#208;
flags : if_centaur
flags : if_p6 or if_cyrix
),
(
opcode : A_DMINT;

View File

@ -460,7 +460,6 @@ implementation
IF_WILLAMETTE = $08000000; { Willamette instructions }
IF_PRESCOTT = $09000000; { Prescott instructions }
IF_X86_64 = $0a000000;
IF_CENTAUR = $0d000000; { centaur-specific instruction }
IF_SANDYBRIDGE = $0e000000; { Sandybridge-specific instruction }
IF_NEC = $0f000000; { NEC V20/V30 instruction }
@ -474,7 +473,7 @@ implementation
IF_CYRIX or IF_486,
IF_CYRIX or IF_PENT,
IF_CYRIX or IF_P6 }
IF_CYRIX = $10000000; { Cyrix-specific instruction }
IF_CYRIX = $10000000; { Cyrix, Centaur or VIA-specific instruction }
IF_AMD = $20000000; { AMD-specific instruction }
{ added flags }
@ -2742,7 +2741,6 @@ implementation
if objdata.CPUType>=cpu_386 then
Message(asmw_e_instruction_not_supported_by_cpu);
{ todo: handle these properly }
IF_CENTAUR,
IF_SANDYBRIDGE:
;
end;

View File

@ -3011,19 +3011,19 @@ void \3\x0F\x01\xDE 386,SVM,PRIV,PROT
void \3\x0F\x01\xDF 386,SVM,PRIV,PROT
;
; Centaur
; VIA (Centaur)
;
[MONTMUL]
(Ch_All, Ch_None, Ch_None)
void \333\3\x0F\xA6\xC0 CENTAUR
void \333\3\x0F\xA6\xC0 P6,CYRIX
[XSHA1]
(Ch_All, Ch_None, Ch_None)
void \333\3\x0F\xA6\xC8 CENTAUR
void \333\3\x0F\xA6\xC8 P6,CYRIX
[XSHA256]
(Ch_All, Ch_None, Ch_None)
void \333\3\x0F\xA6\xD0 CENTAUR
void \333\3\x0F\xA6\xD0 P6,CYRIX
;
; Geode

View File

@ -7649,21 +7649,21 @@
ops : 0;
optypes : (ot_none,ot_none,ot_none,ot_none);
code : #219#3#15#166#192;
flags : if_centaur
flags : if_p6 or if_cyrix
),
(
opcode : A_XSHA1;
ops : 0;
optypes : (ot_none,ot_none,ot_none,ot_none);
code : #219#3#15#166#200;
flags : if_centaur
flags : if_p6 or if_cyrix
),
(
opcode : A_XSHA256;
ops : 0;
optypes : (ot_none,ot_none,ot_none,ot_none);
code : #219#3#15#166#208;
flags : if_centaur
flags : if_p6 or if_cyrix
),
(
opcode : A_DMINT;