mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-18 03:19:33 +01:00
+ new cpus/fpus added
git-svn-id: trunk@2101 -
This commit is contained in:
parent
cd69c36f17
commit
008da5b11c
@ -45,7 +45,8 @@ Type
|
|||||||
ClassPentium,
|
ClassPentium,
|
||||||
ClassPentium2,
|
ClassPentium2,
|
||||||
ClassPentium3,
|
ClassPentium3,
|
||||||
ClassPentium4
|
ClassPentium4,
|
||||||
|
ClassPentiumM
|
||||||
);
|
);
|
||||||
|
|
||||||
tfputype =
|
tfputype =
|
||||||
@ -53,7 +54,8 @@ Type
|
|||||||
fpu_soft,
|
fpu_soft,
|
||||||
fpu_x87,
|
fpu_x87,
|
||||||
fpu_sse,
|
fpu_sse,
|
||||||
fpu_sse2
|
fpu_sse2,
|
||||||
|
fpu_sse3
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -76,18 +78,20 @@ Const
|
|||||||
'PENTIUM',
|
'PENTIUM',
|
||||||
'PENTIUM2',
|
'PENTIUM2',
|
||||||
'PENTIUM3',
|
'PENTIUM3',
|
||||||
'PENTIUM4'
|
'PENTIUM4',
|
||||||
|
'PENTIUMM'
|
||||||
);
|
);
|
||||||
|
|
||||||
fputypestr : array[tfputype] of string[6] = ('',
|
fputypestr : array[tfputype] of string[6] = ('',
|
||||||
'SOFT',
|
'SOFT',
|
||||||
'X87',
|
'X87',
|
||||||
'SSE',
|
'SSE',
|
||||||
'SSE2'
|
'SSE2',
|
||||||
|
'SSE3'
|
||||||
);
|
);
|
||||||
|
|
||||||
sse_singlescalar : set of tfputype = [fpu_sse,fpu_sse2];
|
sse_singlescalar : set of tfputype = [fpu_sse,fpu_sse2,fpu_sse3];
|
||||||
sse_doublescalar : set of tfputype = [fpu_sse2];
|
sse_doublescalar : set of tfputype = [fpu_sse2,fpu_sse3];
|
||||||
|
|
||||||
Implementation
|
Implementation
|
||||||
|
|
||||||
|
|||||||
@ -82,6 +82,7 @@ begin
|
|||||||
'2': initoptprocessor := ClassPentium;
|
'2': initoptprocessor := ClassPentium;
|
||||||
'3': initoptprocessor := ClassPentium2;
|
'3': initoptprocessor := ClassPentium2;
|
||||||
'4': initoptprocessor := ClassPentium4;
|
'4': initoptprocessor := ClassPentium4;
|
||||||
|
'5': initoptprocessor := ClassPentiumM;
|
||||||
Else IllegalPara(Opt)
|
Else IllegalPara(Opt)
|
||||||
End;
|
End;
|
||||||
Inc(j);
|
Inc(j);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user