Explorar o código

* 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 %!s(int64=9) %!d(string=hai) anos
pai
achega
d0d940f119
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      compiler/x86/agx86nsm.pas

+ 6 - 6
compiler/x86/agx86nsm.pas

@@ -86,9 +86,9 @@ interface
 {$if defined(x86_64)}
 {$if defined(x86_64)}
         'IA64',        // cpu_none,
         'IA64',        // cpu_none,
         'X64',         // cpu_athlon64,
         '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)}
 {$elseif defined(i386)}
         'IA64',     // cpu_none,
         'IA64',     // cpu_none,
         '386',      // cpu_386,
         '386',      // cpu_386,
@@ -97,9 +97,9 @@ interface
         'P3',       // cpu_Pentium3,
         'P3',       // cpu_Pentium3,
         'P4',       // cpu_Pentium4,
         'P4',       // cpu_Pentium4,
         'P4',       // cpu_PentiumM,
         '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)}
 {$elseif defined(i8086)}
         'IA64',    // cpu_none
         'IA64',    // cpu_none
         '8086',    // cpu_8086
         '8086',    // cpu_8086