Browse Source

* x86: Replaced CPU features array with "cpu_x86_64_v1_flags" where possible

J. Gareth "Curious Kit" Moreton 1 year ago
parent
commit
e4bd58d66a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      compiler/x86_64/cpuinfo.pas

+ 3 - 3
compiler/x86_64/cpuinfo.pas

@@ -273,10 +273,10 @@ type
      { cpu_x86_64_v1 } cpu_x86_64_v1_flags,
      { cpu_x86_64_v1 } cpu_x86_64_v1_flags,
      { cpu_core_i    } cpu_x86_64_v1_flags+[CPUX86_HAS_POPCNT],
      { cpu_core_i    } cpu_x86_64_v1_flags+[CPUX86_HAS_POPCNT],
      { cpu_x86_64_v2 } cpu_x86_64_v2_flags,
      { cpu_x86_64_v2 } cpu_x86_64_v2_flags,
-     { cpu_bobcat    } [CPUX86_HAS_BSWAP,CPUX86_HAS_BTX,CPUX86_HAS_CMOV,CPUX86_HAS_SSEUNIT,CPUX86_HAS_SSE2,CPUX86_HAS_POPCNT,CPUX86_HAS_LZCNT],
-     { cpu_core_avx  } [CPUX86_HAS_BSWAP,CPUX86_HAS_BTX,CPUX86_HAS_CMOV,CPUX86_HAS_SSEUNIT,CPUX86_HAS_SSE2,CPUX86_HAS_POPCNT],
+     { cpu_bobcat    } cpu_x86_64_v1_flags+[CPUX86_HAS_POPCNT,CPUX86_HAS_LZCNT],
+     { cpu_core_avx  } cpu_x86_64_v1_flags+[CPUX86_HAS_POPCNT],
      { cpu_jaguar    } cpu_x86_64_v2_flags,
      { cpu_jaguar    } cpu_x86_64_v2_flags,
-     { cpu_piledriver} [CPUX86_HAS_BSWAP,CPUX86_HAS_BTX,CPUX86_HAS_CMOV,CPUX86_HAS_SSEUNIT,CPUX86_HAS_SSE2,CPUX86_HAS_POPCNT,CPUX86_HAS_BMI1,CPUX86_HAS_LZCNT,CPUX86_HAS_MOVBE],
+     { cpu_piledriver} cpu_x86_64_v1_flags+[CPUX86_HAS_POPCNT,CPUX86_HAS_BMI1,CPUX86_HAS_LZCNT,CPUX86_HAS_MOVBE],
      { cpu_excavator } cpu_x86_64_v3_flags,
      { cpu_excavator } cpu_x86_64_v3_flags,
      { cpu_core_avx2 } cpu_x86_64_v3_flags,
      { cpu_core_avx2 } cpu_x86_64_v3_flags,
      { cpu_x86_64_v3 } cpu_x86_64_v3_flags,
      { cpu_x86_64_v3 } cpu_x86_64_v3_flags,