Browse Source

* make the asd_cpu directive (which is currently only implemented in the NASM
asm writer), when used with a cpu_none parameter, indicate no restrictions for
the CPU type. Under NASM, this is achieved by specifying 'IA64' as the
CPU type, since that's the highest CPU, supported by NASM's 'CPU' directive.

git-svn-id: trunk@33136 -

nickysn 9 năm trước cách đây
mục cha
commit
1a56a1a026
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      compiler/x86/agx86nsm.pas

+ 3 - 3
compiler/x86/agx86nsm.pas

@@ -84,13 +84,13 @@ interface
       );
       nasm_cpu_name : array[tcputype] of string = (
 {$if defined(x86_64)}
-        '',            // cpu_none,
+        'IA64',        // cpu_none,
         'X64',         // cpu_athlon64,
         'X64',         // cpu_core_i,
         'X64',         // cpu_core_avx,
         'X64'          // cpu_core_avx2
 {$elseif defined(i386)}
-        '',         // cpu_none,
+        'IA64',     // cpu_none,
         '386',      // cpu_386,
         'PENTIUM',  // cpu_Pentium,
         'P2',       // cpu_Pentium2,
@@ -101,7 +101,7 @@ interface
         'PRESCOTT', // cpu_core_avx,
         'PRESCOTT'  // cpu_core_avx2
 {$elseif defined(i8086)}
-        '',        // cpu_none
+        'IA64',    // cpu_none
         '8086',    // cpu_8086
         '186',     // cpu_186
         '286',     // cpu_286