mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 14:29:20 +02:00
- 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:
parent
9f2defcb7e
commit
cf3230b100
@ -7677,21 +7677,21 @@
|
|||||||
ops : 0;
|
ops : 0;
|
||||||
optypes : (ot_none,ot_none,ot_none,ot_none);
|
optypes : (ot_none,ot_none,ot_none,ot_none);
|
||||||
code : #219#3#15#166#192;
|
code : #219#3#15#166#192;
|
||||||
flags : if_centaur
|
flags : if_p6 or if_cyrix
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
opcode : A_XSHA1;
|
opcode : A_XSHA1;
|
||||||
ops : 0;
|
ops : 0;
|
||||||
optypes : (ot_none,ot_none,ot_none,ot_none);
|
optypes : (ot_none,ot_none,ot_none,ot_none);
|
||||||
code : #219#3#15#166#200;
|
code : #219#3#15#166#200;
|
||||||
flags : if_centaur
|
flags : if_p6 or if_cyrix
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
opcode : A_XSHA256;
|
opcode : A_XSHA256;
|
||||||
ops : 0;
|
ops : 0;
|
||||||
optypes : (ot_none,ot_none,ot_none,ot_none);
|
optypes : (ot_none,ot_none,ot_none,ot_none);
|
||||||
code : #219#3#15#166#208;
|
code : #219#3#15#166#208;
|
||||||
flags : if_centaur
|
flags : if_p6 or if_cyrix
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
opcode : A_DMINT;
|
opcode : A_DMINT;
|
||||||
|
@ -7705,21 +7705,21 @@
|
|||||||
ops : 0;
|
ops : 0;
|
||||||
optypes : (ot_none,ot_none,ot_none,ot_none);
|
optypes : (ot_none,ot_none,ot_none,ot_none);
|
||||||
code : #219#3#15#166#192;
|
code : #219#3#15#166#192;
|
||||||
flags : if_centaur
|
flags : if_p6 or if_cyrix
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
opcode : A_XSHA1;
|
opcode : A_XSHA1;
|
||||||
ops : 0;
|
ops : 0;
|
||||||
optypes : (ot_none,ot_none,ot_none,ot_none);
|
optypes : (ot_none,ot_none,ot_none,ot_none);
|
||||||
code : #219#3#15#166#200;
|
code : #219#3#15#166#200;
|
||||||
flags : if_centaur
|
flags : if_p6 or if_cyrix
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
opcode : A_XSHA256;
|
opcode : A_XSHA256;
|
||||||
ops : 0;
|
ops : 0;
|
||||||
optypes : (ot_none,ot_none,ot_none,ot_none);
|
optypes : (ot_none,ot_none,ot_none,ot_none);
|
||||||
code : #219#3#15#166#208;
|
code : #219#3#15#166#208;
|
||||||
flags : if_centaur
|
flags : if_p6 or if_cyrix
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
opcode : A_DMINT;
|
opcode : A_DMINT;
|
||||||
|
@ -460,7 +460,6 @@ implementation
|
|||||||
IF_WILLAMETTE = $08000000; { Willamette instructions }
|
IF_WILLAMETTE = $08000000; { Willamette instructions }
|
||||||
IF_PRESCOTT = $09000000; { Prescott instructions }
|
IF_PRESCOTT = $09000000; { Prescott instructions }
|
||||||
IF_X86_64 = $0a000000;
|
IF_X86_64 = $0a000000;
|
||||||
IF_CENTAUR = $0d000000; { centaur-specific instruction }
|
|
||||||
IF_SANDYBRIDGE = $0e000000; { Sandybridge-specific instruction }
|
IF_SANDYBRIDGE = $0e000000; { Sandybridge-specific instruction }
|
||||||
IF_NEC = $0f000000; { NEC V20/V30 instruction }
|
IF_NEC = $0f000000; { NEC V20/V30 instruction }
|
||||||
|
|
||||||
@ -474,7 +473,7 @@ implementation
|
|||||||
IF_CYRIX or IF_486,
|
IF_CYRIX or IF_486,
|
||||||
IF_CYRIX or IF_PENT,
|
IF_CYRIX or IF_PENT,
|
||||||
IF_CYRIX or IF_P6 }
|
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 }
|
IF_AMD = $20000000; { AMD-specific instruction }
|
||||||
|
|
||||||
{ added flags }
|
{ added flags }
|
||||||
@ -2742,7 +2741,6 @@ implementation
|
|||||||
if objdata.CPUType>=cpu_386 then
|
if objdata.CPUType>=cpu_386 then
|
||||||
Message(asmw_e_instruction_not_supported_by_cpu);
|
Message(asmw_e_instruction_not_supported_by_cpu);
|
||||||
{ todo: handle these properly }
|
{ todo: handle these properly }
|
||||||
IF_CENTAUR,
|
|
||||||
IF_SANDYBRIDGE:
|
IF_SANDYBRIDGE:
|
||||||
;
|
;
|
||||||
end;
|
end;
|
||||||
|
@ -3011,19 +3011,19 @@ void \3\x0F\x01\xDE 386,SVM,PRIV,PROT
|
|||||||
void \3\x0F\x01\xDF 386,SVM,PRIV,PROT
|
void \3\x0F\x01\xDF 386,SVM,PRIV,PROT
|
||||||
|
|
||||||
;
|
;
|
||||||
; Centaur
|
; VIA (Centaur)
|
||||||
;
|
;
|
||||||
[MONTMUL]
|
[MONTMUL]
|
||||||
(Ch_All, Ch_None, Ch_None)
|
(Ch_All, Ch_None, Ch_None)
|
||||||
void \333\3\x0F\xA6\xC0 CENTAUR
|
void \333\3\x0F\xA6\xC0 P6,CYRIX
|
||||||
|
|
||||||
[XSHA1]
|
[XSHA1]
|
||||||
(Ch_All, Ch_None, Ch_None)
|
(Ch_All, Ch_None, Ch_None)
|
||||||
void \333\3\x0F\xA6\xC8 CENTAUR
|
void \333\3\x0F\xA6\xC8 P6,CYRIX
|
||||||
|
|
||||||
[XSHA256]
|
[XSHA256]
|
||||||
(Ch_All, Ch_None, Ch_None)
|
(Ch_All, Ch_None, Ch_None)
|
||||||
void \333\3\x0F\xA6\xD0 CENTAUR
|
void \333\3\x0F\xA6\xD0 P6,CYRIX
|
||||||
|
|
||||||
;
|
;
|
||||||
; Geode
|
; Geode
|
||||||
|
@ -7649,21 +7649,21 @@
|
|||||||
ops : 0;
|
ops : 0;
|
||||||
optypes : (ot_none,ot_none,ot_none,ot_none);
|
optypes : (ot_none,ot_none,ot_none,ot_none);
|
||||||
code : #219#3#15#166#192;
|
code : #219#3#15#166#192;
|
||||||
flags : if_centaur
|
flags : if_p6 or if_cyrix
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
opcode : A_XSHA1;
|
opcode : A_XSHA1;
|
||||||
ops : 0;
|
ops : 0;
|
||||||
optypes : (ot_none,ot_none,ot_none,ot_none);
|
optypes : (ot_none,ot_none,ot_none,ot_none);
|
||||||
code : #219#3#15#166#200;
|
code : #219#3#15#166#200;
|
||||||
flags : if_centaur
|
flags : if_p6 or if_cyrix
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
opcode : A_XSHA256;
|
opcode : A_XSHA256;
|
||||||
ops : 0;
|
ops : 0;
|
||||||
optypes : (ot_none,ot_none,ot_none,ot_none);
|
optypes : (ot_none,ot_none,ot_none,ot_none);
|
||||||
code : #219#3#15#166#208;
|
code : #219#3#15#166#208;
|
||||||
flags : if_centaur
|
flags : if_p6 or if_cyrix
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
opcode : A_DMINT;
|
opcode : A_DMINT;
|
||||||
|
Loading…
Reference in New Issue
Block a user