+ added 486 to the list of supported CPUs on the i8086 and i386 targets

git-svn-id: trunk@33317 -
This commit is contained in:
nickysn 2016-03-23 15:07:56 +00:00
parent 867a4881ba
commit 5f87ac5d47
4 changed files with 10 additions and 1 deletions

View File

@ -45,6 +45,7 @@ Type
tcputype =
(cpu_none,
cpu_386,
cpu_486,
cpu_Pentium,
cpu_Pentium2,
cpu_Pentium3,
@ -110,6 +111,7 @@ Const
cputypestr : array[tcputype] of string[10] = ('',
'80386',
'80486',
'PENTIUM',
'PENTIUM2',
'PENTIUM3',
@ -173,6 +175,7 @@ type
cpu_capabilities : array[tcputype] of set of tcpuflags = (
{ cpu_none } [],
{ cpu_386 } [],
{ cpu_486 } [],
{ cpu_Pentium } [],
{ cpu_Pentium2 } [CPUX86_HAS_CMOV],
{ cpu_Pentium3 } [CPUX86_HAS_CMOV,CPUX86_HAS_SSEUNIT],

View File

@ -48,6 +48,7 @@ Type
cpu_186,
cpu_286,
cpu_386,
cpu_486,
cpu_Pentium,
cpu_Pentium2,
cpu_Pentium3,
@ -113,6 +114,7 @@ Const
'80186',
'80286',
'80386',
'80486',
'PENTIUM',
'PENTIUM2',
'PENTIUM3',

View File

@ -2719,7 +2719,9 @@ implementation
IF_386:
if objdata.CPUType<cpu_386 then
Message(asmw_e_instruction_not_supported_by_cpu);
IF_486,
IF_486:
if objdata.CPUType<cpu_486 then
Message(asmw_e_instruction_not_supported_by_cpu);
IF_PENT:
if objdata.CPUType<cpu_Pentium then
Message(asmw_e_instruction_not_supported_by_cpu);

View File

@ -92,6 +92,7 @@ interface
{$elseif defined(i386)}
'IA64', // cpu_none,
'386', // cpu_386,
'486', // cpu_486,
'PENTIUM', // cpu_Pentium,
'P2', // cpu_Pentium2,
'P3', // cpu_Pentium3,
@ -106,6 +107,7 @@ interface
'186', // cpu_186
'286', // cpu_286
'386', // cpu_386
'486', // cpu_486
'PENTIUM', // cpu_Pentium
'P2', // cpu_Pentium2
'P3', // cpu_Pentium3