mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 22:09:45 +02:00
+ added 486 to the list of supported CPUs on the i8086 and i386 targets
git-svn-id: trunk@33317 -
This commit is contained in:
parent
867a4881ba
commit
5f87ac5d47
compiler
@ -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],
|
||||
|
@ -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',
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user