Просмотр исходного кода

* also declare Intel Nehalem and newer CPUs as 'IA64' in the NASM's 'CPU'
directive, because NASM still doesn't support anything newer than 'PRESCOTT'
for its CPU directive, and 'IA64' is considered (internally by NASM) to be the
highest CPU level.

git-svn-id: trunk@33137 -

nickysn 9 лет назад
Родитель
Сommit
d0d940f119
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      compiler/x86/agx86nsm.pas

+ 6 - 6
compiler/x86/agx86nsm.pas

@@ -86,9 +86,9 @@ interface
 {$if defined(x86_64)}
         'IA64',        // cpu_none,
         'X64',         // cpu_athlon64,
-        'X64',         // cpu_core_i,
-        'X64',         // cpu_core_avx,
-        'X64'          // cpu_core_avx2
+        'IA64',        // cpu_core_i,
+        'IA64',        // cpu_core_avx,
+        'IA64'         // cpu_core_avx2
 {$elseif defined(i386)}
         'IA64',     // cpu_none,
         '386',      // cpu_386,
@@ -97,9 +97,9 @@ interface
         'P3',       // cpu_Pentium3,
         'P4',       // cpu_Pentium4,
         'P4',       // cpu_PentiumM,
-        'PRESCOTT', // cpu_core_i,
-        'PRESCOTT', // cpu_core_avx,
-        'PRESCOTT'  // cpu_core_avx2
+        'IA64',     // cpu_core_i,
+        'IA64',     // cpu_core_avx,
+        'IA64'      // cpu_core_avx2
 {$elseif defined(i8086)}
         'IA64',    // cpu_none
         '8086',    // cpu_8086