| 1 |
# Recognized fields: |
| 2 |
# "Name": the isa extension name, the package will be ${Name}-support |
| 3 |
# "Architecture": archs to build the package on, wildcards are ok |
| 4 |
# "Test": how to detect it, defaults to return !__builtin_cpu_supports("$Name"); |
| 5 |
# If the test program dies (SIGILL/etc), that's ok, the answer is "no". |
| 6 |
# CFLAGS: passed to the C compiler, can include link-time flags too. |
| 7 |
# Description: added to package's description. |
| 8 |
# Provides: add name to provides (for forward compatibility) |
| 9 |
# qemu-good: qemu run ok |
| 10 |
# qemu-bad: qemu not ok |
| 11 |
# qemu-arch: enable qemu only on arch. Default architecture |
| 12 |
# package: yes/no add a package for this test. Default no |
| 13 |
# priority: higher are tested first |
| 14 |
|
| 15 |
Name: i386-baseline |
| 16 |
Architecture: any-i386 |
| 17 |
Package: no |
| 18 |
Priority: -1 |
| 19 |
Test: return ( |
| 20 |
__builtin_cpu_supports("cmov") && __builtin_cpu_supports("mmx") && __builtin_cpu_supports("sse") && |
| 21 |
__builtin_cpu_supports("sse2") && |
| 22 |
CPU_FEATURE_ACTIVE(CX8) && CPU_FEATURE_ACTIVE(FXSR) |
| 23 |
); |
| 24 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Conroe,enforce,-sse3,-ssse3' |
| 25 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'pentium3,enforce' |
| 26 |
Description: |
| 27 |
This is the Micro-Architecture Levels baseline for Debian under i386 architecture, |
| 28 |
corresponding to x86-64 psABI v1. |
| 29 |
. |
| 30 |
This includes: |
| 31 |
- cmov instruction (CMOV instruction set), |
| 32 |
- cmpxchg8b ant other 64 bits atomics instruction (CX8 instruction set). |
| 33 |
- MMX a single instruction, multiple data (SIMD) instruction set, |
| 34 |
- streaming SIMD Extensions (SSE) set, a single instruction, multiple data |
| 35 |
(SIMD) instruction set extension, |
| 36 |
- SSE2 an incremental upgrade to SSE. |
| 37 |
|
| 38 |
Name: SSE2 |
| 39 |
Architecture: any-i386 |
| 40 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'athlon,enforce' |
| 41 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'pentium2-v1,enforce' |
| 42 |
Priority: 500 |
| 43 |
Package: no |
| 44 |
Description: |
| 45 |
Streaming SIMD Extensions (SSE) is a single instruction, multiple data |
| 46 |
(SIMD) instruction set extension. |
| 47 |
. |
| 48 |
SSE2 was an incremental upgrade to SSE intended to fully replace the earlier |
| 49 |
MMX instruction set. It is available on processors from Pentium 4 onward, |
| 50 |
including all 64-bit capable ones, but not on Pentium 3, Athlon XP, Via C3, |
| 51 |
Quark, or older processors. |
| 52 |
|
| 53 |
Name: amd64-baseline |
| 54 |
Architecture: any-i386 |
| 55 |
Provides: SSE2 |
| 56 |
Renamed: sse2-support (<< 29~) |
| 57 |
Package: yes |
| 58 |
Priority: -1 |
| 59 |
Test: return ( |
| 60 |
__builtin_cpu_supports("cmov") && __builtin_cpu_supports("mmx") && __builtin_cpu_supports("sse") && |
| 61 |
__builtin_cpu_supports("sse2") && |
| 62 |
CPU_FEATURE_ACTIVE(CX8) && CPU_FEATURE_ACTIVE(FXSR) |
| 63 |
); |
| 64 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Conroe,enforce,-sse3,-ssse3' |
| 65 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'pentium3,enforce' |
| 66 |
Description: |
| 67 |
This is the Micro-Architecture Levels baseline for Debian under |
| 68 |
x86-64 architecture, corresponding to x86-64 psABI v1. |
| 69 |
. |
| 70 |
This includes: |
| 71 |
- cmov instruction (CMOV instruction set), |
| 72 |
- cmpxchg8b ant other 64 bits atomics instruction (CX8 instruction set), |
| 73 |
- MMX a single instruction, multiple data (SIMD) instruction set, |
| 74 |
- streaming SIMD Extensions (SSE) set, a single instruction, multiple data |
| 75 |
(SIMD) instruction set extension, |
| 76 |
- SSE2 an incremental upgrade to SSE. |
| 77 |
. |
| 78 |
On ABIs other than the x86-64 psABI they select the same CPU features |
| 79 |
as the x86-64 psABI documents for the particular micro-architecture level. |
| 80 |
|
| 81 |
Name: x86-64-v1 |
| 82 |
Architecture: any-i386 |
| 83 |
Package: no |
| 84 |
Priority: 1000 |
| 85 |
Test: return ( |
| 86 |
__builtin_cpu_supports("cmov") && __builtin_cpu_supports("mmx") && __builtin_cpu_supports("sse") && |
| 87 |
__builtin_cpu_supports("sse2") && |
| 88 |
CPU_FEATURE_ACTIVE(CX8) && CPU_FEATURE_ACTIVE(FXSR) |
| 89 |
); |
| 90 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Conroe,enforce,-sse3,-ssse3' |
| 91 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'pentium3-v1,enforce,-cmov,-mmx,-sse,-sse2,-cx8,-fxsr' |
| 92 |
Description: |
| 93 |
This is the Micro-Architecture Levels baseline as defined by the |
| 94 |
amd64 ABI document. |
| 95 |
This includes: |
| 96 |
- cmov instruction (CMOV instruction set), |
| 97 |
- cmpxchg8b ant other 64 bits atomics instruction (CX8 instruction set), |
| 98 |
- MMX a single instruction, multiple data (SIMD) instruction set, |
| 99 |
- streaming SIMD Extensions (SSE) set, a single instruction, multiple data |
| 100 |
(SIMD) instruction set extension, |
| 101 |
- SSE2 an incremental upgrade to SSE. |
| 102 |
. |
| 103 |
On ABIs other than the x86-64 psABI they select the same CPU features |
| 104 |
as the x86-64 psABI documents for the particular micro-architecture level. |
| 105 |
|
| 106 |
Name: x86-64-v2 |
| 107 |
Architecture: any-i386 any-amd64 |
| 108 |
Package: yes |
| 109 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Nehalem-IBRS,enforce' |
| 110 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Conroe,enforce,-sse3,-ssse3' |
| 111 |
Priority: 2000 |
| 112 |
Test: return ( |
| 113 |
__builtin_cpu_supports("cmov") && __builtin_cpu_supports("mmx") && __builtin_cpu_supports("sse") && |
| 114 |
__builtin_cpu_supports("sse2") && |
| 115 |
CPU_FEATURE_ACTIVE(CX8) && CPU_FEATURE_ACTIVE(FXSR) && |
| 116 |
CPU_FEATURE_ACTIVE(CMPXCHG16B) && CPU_FEATURE_ACTIVE(LAHF64_SAHF64) && |
| 117 |
__builtin_cpu_supports("popcnt") && __builtin_cpu_supports("sse3") && |
| 118 |
__builtin_cpu_supports("sse4.1") && __builtin_cpu_supports("sse4.2") && __builtin_cpu_supports("ssse3") |
| 119 |
); |
| 120 |
Description: |
| 121 |
This is the Micro-Architecture Levels version 2 as defined by the |
| 122 |
amd64 ABI document. |
| 123 |
This includes: |
| 124 |
- cmov instruction (CMOV instruction set), |
| 125 |
- cmpxchg8b ant other 64 bits atomics instruction (CX8 instruction set), |
| 126 |
- MMX a single instruction, multiple data (SIMD) instruction set, |
| 127 |
- streaming SIMD Extensions (SSE) set, a single instruction, multiple data |
| 128 |
(SIMD) instruction set extension, |
| 129 |
- SSE2 an incremental upgrade to SSE. |
| 130 |
- cmpxchg16b ant other 128 bits atomics instruction (CX16 instruction set), |
| 131 |
- SSE3, also called PNI (Prescott New Instructions), is an incremental upgrade |
| 132 |
to SSE2 |
| 133 |
- SSE4.1 added a dot product instruction and additional integer instructions. |
| 134 |
- SSE4.2 added string and text processing instructions that perform character |
| 135 |
searches and comparison on two operands of 16 bytes at a time. |
| 136 |
- SSSE3 or Supplemental Streaming SIMD Extension 3. |
| 137 |
. |
| 138 |
The corresponding micro-architecture level from the x86-64 psABI. |
| 139 |
On ABIs other than the x86-64 psABI they select the same CPU features |
| 140 |
as the x86-64 psABI documents for the particular micro-architecture level. |
| 141 |
|
| 142 |
Name: SSE3 |
| 143 |
Architecture: any-i386 any-amd64 |
| 144 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Conroe,enforce,-ssse3' |
| 145 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Conroe,enforce,-sse3,-ssse3' |
| 146 |
Package: yes |
| 147 |
Priority: 700 |
| 148 |
Description: |
| 149 |
Streaming SIMD Extensions (SSE) is a single instruction, multiple data |
| 150 |
(SIMD) instruction set extension. |
| 151 |
. |
| 152 |
SSE3, also called PNI (Prescott New Instructions), is an incremental upgrade |
| 153 |
to SSE2, adding a handful of new operations useful for processing media. It |
| 154 |
is available on almost any 64-bit-capable processor except for some early |
| 155 |
AMD models (Sledgehammer and Clawhammer), but is not available on most |
| 156 |
32-bit-only hardware. |
| 157 |
|
| 158 |
Name: SSE4.1 |
| 159 |
Architecture: any-i386 any-amd64 |
| 160 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Penryn,enforce' |
| 161 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Conroe,enforce' |
| 162 |
Package: yes |
| 163 |
Priority: 800 |
| 164 |
Description: |
| 165 |
Streaming SIMD Extensions (SSE) is a single instruction, multiple data |
| 166 |
(SIMD) instruction set extension. |
| 167 |
. |
| 168 |
SSE4.1 added a dot product instruction and additional integer instructions. |
| 169 |
It is available on Intel processors since Penryn (circa 2008), but notably |
| 170 |
not on anything AMD until the Bulldozer (15h, in 2011) and Jaguar (16h, in |
| 171 |
2013) families. |
| 172 |
|
| 173 |
Name: SSE4.2 |
| 174 |
Architecture: any-i386 any-amd64 |
| 175 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Nehalem-IBRS,enforce' |
| 176 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Penryn,enforce' |
| 177 |
Package: yes |
| 178 |
Priority: 900 |
| 179 |
Description: |
| 180 |
SSE4.2 added string and text processing instructions that perform character |
| 181 |
searches and comparison on two operands of 16 bytes at a time. It is |
| 182 |
available on Intel processors since Nehalem (circa 2008), but notably not |
| 183 |
on anything AMD until the Bulldozer (15h, in 2011) and Jaguar (16h, in |
| 184 |
2013) families. |
| 185 |
|
| 186 |
Name: x86-64-v3 |
| 187 |
Architecture: any-i386 any-amd64 |
| 188 |
Priority: 3000 |
| 189 |
Package: yes |
| 190 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Haswell-noTSX-IBRS,enforce' |
| 191 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu 'Nehalem-IBRS,enforce' |
| 192 |
Test: return ( |
| 193 |
__builtin_cpu_supports("cmov") && __builtin_cpu_supports("mmx") && __builtin_cpu_supports("sse") && |
| 194 |
__builtin_cpu_supports("sse2") && |
| 195 |
CPU_FEATURE_ACTIVE(CX8) && CPU_FEATURE_ACTIVE(FXSR) && |
| 196 |
CPU_FEATURE_ACTIVE(CMPXCHG16B) && CPU_FEATURE_ACTIVE(LAHF64_SAHF64) && |
| 197 |
__builtin_cpu_supports("popcnt") && __builtin_cpu_supports("sse3") && |
| 198 |
__builtin_cpu_supports("sse4.1") && __builtin_cpu_supports("sse4.2") && __builtin_cpu_supports("ssse3") && |
| 199 |
__builtin_cpu_supports("avx") && __builtin_cpu_supports("avx2") && |
| 200 |
__builtin_cpu_supports("bmi") && __builtin_cpu_supports("bmi2") && |
| 201 |
CPU_FEATURE_ACTIVE(F16C) && |
| 202 |
__builtin_cpu_supports("fma") && |
| 203 |
CPU_FEATURE_ACTIVE(LZCNT) && CPU_FEATURE_ACTIVE(OSXSAVE) |
| 204 |
); |
| 205 |
Description: |
| 206 |
This is the Micro-Architecture Levels version 3 as defined by |
| 207 |
the amd64 ABI document. |
| 208 |
This includes: |
| 209 |
- cmov instruction (CMOV instruction set), |
| 210 |
- cmpxchg8b ant other 64 bits atomics instruction (CX8 instruction set), |
| 211 |
- MMX a single instruction, multiple data (SIMD) instruction set, |
| 212 |
- streaming SIMD Extensions (SSE) set, a single instruction, multiple data |
| 213 |
(SIMD) instruction set extension, |
| 214 |
- SSE2 an incremental upgrade to SSE. |
| 215 |
- cmpxchg16b ant other 128 bits atomics instruction (CX16 instruction set), |
| 216 |
- SSE3, also called PNI (Prescott New Instructions), is an incremental upgrade |
| 217 |
to SSE2, |
| 218 |
- SSE4.1 added a dot product instruction and additional integer instructions, |
| 219 |
- SSE4.2 added string and text processing instructions that perform character |
| 220 |
searches and comparison on two operands of 16 bytes at a time, |
| 221 |
- SSSE3 or Supplemental Streaming SIMD Extension 3, |
| 222 |
- Advanced Vector Extensions (AVX and AVX2) |
| 223 |
- Bit manipulation instructions sets (BMI and BMI2), |
| 224 |
- F16C instruction set converting between half-precision |
| 225 |
and standard IEEE single-precision floating-point formats, |
| 226 |
- LZCNT instruction, Count the Number of Leading Zero Bits, |
| 227 |
- OSXSAVE, Save Processor Extended States instruction. |
| 228 |
. |
| 229 |
The corresponding micro-architecture level from the x86-64 psABI. |
| 230 |
On ABIs other than the x86-64 psABI they select the same CPU features |
| 231 |
as the x86-64 psABI documents for the particular micro-architecture level. |
| 232 |
|
| 233 |
|
| 234 |
Name: altivec |
| 235 |
Architecture: powerpc ppc64 ppc64el |
| 236 |
Test: return (getauxval(AT_HWCAP) & PPC_FEATURE_HAS_ALTIVEC) |
| 237 |
Package: yes |
| 238 |
Description: |
| 239 |
AltiVec is a single-precision floating point and integer SIMD instruction |
| 240 |
set. It is a standard part of the Power ISA v.2.03 specification. |
| 241 |
# gcc-16 has __builtin_cpu_supports("altivec") but it's not reliable: silently |
| 242 |
# gives wrong answer on qemu, wrong versions of glibc, non-glibc, etc. |
| 243 |
# Thus, let's use SIGILL instead. |
| 244 |
|
| 245 |
Name: power8 |
| 246 |
Architecture: powerpc ppc64 ppc64el |
| 247 |
Test: return (ppcpowerlevel() >= 8) |
| 248 |
Package: no |
| 249 |
Description: |
| 250 |
POWER8 is a 64‑bit IBM POWER processor generation implementing |
| 251 |
the Power ISA with multi‑core SMT‑8 designs, wide out‑of‑order execution, |
| 252 |
and the VSX vector extension. |
| 253 |
|
| 254 |
Name: power9 |
| 255 |
Architecture: powerpc ppc64 ppc64el |
| 256 |
Test: return (ppcpowerlevel() >= 9) |
| 257 |
Package: no |
| 258 |
Description: |
| 259 |
POWER9 extends the Power ISA with improved SMT modes, enhanced VSX |
| 260 |
vector capabilities, and a redesigned memory and I/O subsystem supporting |
| 261 |
high‑speed interconnects such as NVLink, OpenCAPI, and PCIe Gen4. |
| 262 |
It offers stronger virtualization isolation, larger core counts, and better |
| 263 |
accelerator coherency |
| 264 |
|
| 265 |
Name: power10 |
| 266 |
Architecture: powerpc ppc64 ppc64el |
| 267 |
Test: return (ppcpowerlevel() >= 10) |
| 268 |
Package: no |
| 269 |
Description: |
| 270 |
POWER10 is a 64‑bit IBM POWER processor generation implementing |
| 271 |
updated revisions of the Power ISA with enhanced SMT modes, |
| 272 |
expanded VSX vector and matrix units, and a redesigned memory subsystem |
| 273 |
supporting high‑bandwidth DDR4/DDR5 configurations. |
| 274 |
. |
| 275 |
It provides improvements in per‑core throughput, memory coherency, |
| 276 |
and I/O bandwidth through interfaces such as OpenCAPI and PCIe Gen5. |
| 277 |
|
| 278 |
Name: neon |
| 279 |
Architecture: any-arm |
| 280 |
Test: return (getauxval(AT_HWCAP) & HWCAP_ARM_NEON) |
| 281 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu cortex-a7,neon=true,vfp-d32=true |
| 282 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu cortex-a7,neon=false,vfp-d32=false |
| 283 |
Package: yes |
| 284 |
Description: |
| 285 |
This is a mostly dummy package which checks for Neon and refuses to install |
| 286 |
on unsupported hardware. |
| 287 |
. |
| 288 |
Neon, also known as MPE (Media Processing Engine) or Advanced SIMD, is a |
| 289 |
combined 64- and 128-bit SIMD instruction set that provides standardised |
| 290 |
acceleration for media and signal processing applications. It is available |
| 291 |
on the vast majority of armhf devices but not guaranteed before the 64-bit |
| 292 |
capable ARMv8. |
| 293 |
|
| 294 |
Name: ARMv6 |
| 295 |
Architecture: armel |
| 296 |
Test: return need_armv_version(6); |
| 297 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu arm1026 |
| 298 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu arm1136-r2 |
| 299 |
Package: yes |
| 300 |
Priority: 6000 |
| 301 |
Description: |
| 302 |
The ARMv6 architecture (not to be confused with product family ARM6) uses |
| 303 |
physically addressed cache, solving many cache aliasing problems and |
| 304 |
reducing context switch overhead. Unaligned and mixed-endian data access is |
| 305 |
supported. This architecture includes the first version of Thumb |
| 306 |
technology. |
| 307 |
. |
| 308 |
This feature is not guaranteed by the architecture baseline, but is |
| 309 |
available for newer armel machines in the ARM11 product family, including |
| 310 |
ARM1136J(F)-S, ARM1156T2(F)-S, ARM1176JZ(F)-S, ARM1136EJ(F)-S, and |
| 311 |
ARM11MPCore processors. Boards include the Raspberry Pi model 1 and |
| 312 |
Raspberry Pi Zero. |
| 313 |
|
| 314 |
Name: ARMv6K |
| 315 |
Architecture: armel |
| 316 |
Priority: 6900 |
| 317 |
Test: return (need_armv_version(6) && (getauxval(AT_HWCAP) & HWCAP_ARM_TLS)); |
| 318 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu arm1136 |
| 319 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu arm1136-r2 |
| 320 |
Package: yes |
| 321 |
Description: |
| 322 |
ARMv6k is a subarchitecture of ARMV6 adding Symmetric MultiProcessing |
| 323 |
and Thread Local Storage instruction sets. It is not guaranteed by the |
| 324 |
architecture baseline, but is available for newer armel machines in the |
| 325 |
ARM11 product family; boards include the Raspberry Pi model 1 and |
| 326 |
Raspberry Pi Zero. |
| 327 |
|
| 328 |
Name: ARMv7 |
| 329 |
Architecture: armel |
| 330 |
Test: return need_armv_version(7); |
| 331 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu arm1136 |
| 332 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu cortex-a7 |
| 333 |
Priority: 7000 |
| 334 |
Package: yes |
| 335 |
Description: |
| 336 |
ARMv7 (not to be confused with product family ARM7) includes Thumb-2 |
| 337 |
technology, adding 32-bit instructions into compressed Thumb mode. It is |
| 338 |
not guaranteed by the architecture baseline, but is available for newer |
| 339 |
armel machines (including CPUs that support armhf) since the Cortex-A |
| 340 |
product family, including Cortex-A5, -A7, -A8, -A9, -A12, -A15, and -A17 |
| 341 |
processors. Boards include the Raspberry Pi 2. |
| 342 |
|
| 343 |
Name: ARMv8 |
| 344 |
Architecture: any-arm |
| 345 |
Test: return need_armv_version(8); |
| 346 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu max |
| 347 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu cortex-a7 |
| 348 |
Package: yes |
| 349 |
Priority: 8000 |
| 350 |
Description: |
| 351 |
ARMv8 (not to be confused with product family ARM8) introduced a large |
| 352 |
number of ISA enhancements. It is not guaranteed by the architecture |
| 353 |
baseline on debian any-arm (armel, armhf), but is available for newer |
| 354 |
ARM machines (including CPUs that support armhf) since the Cortex-A |
| 355 |
product family, including Cortex-A32, as well as all arm64 processors. |
| 356 |
Boards include the Raspberry Pi 3 and 4. |
| 357 |
|
| 358 |
Name: arm64-baseline |
| 359 |
Architecture: any-arm |
| 360 |
Test: return need_armv_version(8); |
| 361 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu max |
| 362 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu cortex-a7 |
| 363 |
Package: no |
| 364 |
Priority: 8000 |
| 365 |
Description: |
| 366 |
This test the arm64 debian architecture baseline. |
| 367 |
. |
| 368 |
ARMv8 (not to be confused with product family ARM8) introduced a large |
| 369 |
number of ISA enhancements. It is not guaranteed by the architecture |
| 370 |
baseline, but is available for newer armel machines (including CPUs that |
| 371 |
support armhf) since the Cortex-A product family, including Cortex-A32, as |
| 372 |
well as all arm64 processors. Boards include the Raspberry Pi 3 and 4. |
| 373 |
|
| 374 |
|
| 375 |
Name: VFP |
| 376 |
Architecture: armel |
| 377 |
Test: return (getauxval(AT_HWCAP) & HWCAP_ARM_VFP) |
| 378 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu arm926 |
| 379 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu arm1136 |
| 380 |
Package: yes |
| 381 |
Description: |
| 382 |
VFP (Vector Floating Point) technology is a floating-point unit (FPU) |
| 383 |
coprocessor extension to the ARM architecture. It provides single- and |
| 384 |
double-precision floating-point computation fully compliant with IEEE |
| 385 |
754-1985. |
| 386 |
|
| 387 |
Name: VFPv2 |
| 388 |
Architecture: armel |
| 389 |
Test: return (need_armv_version(5) && (getauxval(AT_HWCAP) & HWCAP_ARM_VFP)) |
| 390 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu arm926 |
| 391 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu arm1136 |
| 392 |
Package: yes |
| 393 |
Description: |
| 394 |
VFP (Vector Floating Point) technology is a floating-point unit (FPU) |
| 395 |
coprocessor extension to the ARM architecture. It provides single- and |
| 396 |
double-precision floating-point computation fully compliant with IEEE |
| 397 |
754-1985. |
| 398 |
. |
| 399 |
VFPv2 has 16 64-bit FPU registers. It is available for some ARMv5 and |
| 400 |
all ARMv6 cores. |
| 401 |
|
| 402 |
Name: VFPv3 |
| 403 |
Architecture: armel |
| 404 |
Test: return (getauxval(AT_HWCAP) & HWCAP_ARM_VFPv3) |
| 405 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu arm1136 |
| 406 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu cortex-a8 |
| 407 |
Package: yes |
| 408 |
Description: |
| 409 |
VFP (Vector Floating Point) technology is a floating-point unit (FPU) |
| 410 |
coprocessor extension to the ARM architecture. It provides single- and |
| 411 |
double-precision floating-point computation fully compliant with IEEE |
| 412 |
754-1985. |
| 413 |
. |
| 414 |
VFPv3 has 32 64-bit FPU registers as standard, adds VCVT instructions to |
| 415 |
convert between scalar, float, and double, and adds immediate mode to VMOV, |
| 416 |
allowing constants to be loaded into FPU registers. It is available on most |
| 417 |
Cortex-A8 and -A9 ARMv7 processors. |
| 418 |
|
| 419 |
Name: ARMv8CRC |
| 420 |
Architecture: any-arm arm64 |
| 421 |
Test: /* flags are different between 32 bits and 64 bits */ |
| 422 |
do { |
| 423 |
#if defined(__aarch64__) |
| 424 |
return (getauxval(AT_HWCAP) & HWCAP_CRC32); |
| 425 |
#else |
| 426 |
return (getauxval(AT_HWCAP2) & HWCAP2_CRC32); |
| 427 |
#endif |
| 428 |
} while(0) |
| 429 |
Package:yes |
| 430 |
Description: |
| 431 |
CRC32 instruction performs a cyclic redundancy check |
| 432 |
(CRC) calculation on a value held in a general-purpose |
| 433 |
register. |
| 434 |
. |
| 435 |
It is available on most ARMv8 processor. |
| 436 |
|
| 437 |
Name: z14 |
| 438 |
Architecture: s390x |
| 439 |
Test: return (s390computelevel() >= 12) |
| 440 |
Package: no |
| 441 |
qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu z13 |
| 442 |
qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu z14 |
| 443 |
Description: |
| 444 |
The IBM z14 (machine type 3906) is a member of the IBM Z family. |
| 445 |
|
| 446 |
Name: z15 |
| 447 |
Architecture: s390x |
| 448 |
Test: return (s390computelevel() >= 13) |
| 449 |
Package: no |
| 450 |
#qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu z14 |
| 451 |
#qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu z15 |
| 452 |
Description: |
| 453 |
The IBM z15 (machine type 8561) is a member of the IBM Z family. |
| 454 |
|
| 455 |
Name: z16 |
| 456 |
Architecture: s390x |
| 457 |
Test: return (s390computelevel() >= 14) |
| 458 |
Package: no |
| 459 |
#qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu z15 |
| 460 |
#qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu z16 |
| 461 |
Description: |
| 462 |
The IBM z16 (machine type 3931) is a member of the IBM Z family. |
| 463 |
|
| 464 |
|
| 465 |
Name: z17 |
| 466 |
Architecture: s390x |
| 467 |
Test: return (s390computelevel() >= 15) |
| 468 |
Package: no |
| 469 |
#qemu-bad: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu z16 |
| 470 |
#qemu-good: "qemu-$DEB_HOST_MULTIARCH_CPU" -cpu z17 |
| 471 |
Description: |
| 472 |
The IBM z17 (machine type 3932) is a member of the IBM Z family. |
| 473 |
|
| 474 |
Name: UAL |
| 475 |
Architecture: loong64 |
| 476 |
Test: return (getauxval(AT_HWCAP) & HWCAP_LOONGARCH_UAL) |
| 477 |
Package: no |
| 478 |
Description: |
| 479 |
The processor hardware natively supports unaligned memory accesses |
| 480 |
without triggering an alignment fault |
| 481 |
|
| 482 |
Name: LASX |
| 483 |
Architecture: loong64 |
| 484 |
Test: return (getauxval(AT_HWCAP) & HWCAP_LOONGARCH_LASX) |
| 485 |
Package: no |
| 486 |
Description: |
| 487 |
LASX is the Loongson Advanced SIMD Extension, a 256-bit vector instruction |
| 488 |
set extension for the LoongArch architecture. It works alongside the 128-bit |
| 489 |
LSX extension to accelerate heavy math, multimedia, and cryptographic workloads. |
| 490 |
|
| 491 |
|
| 492 |
Name: LSX |
| 493 |
Architecture: loong64 |
| 494 |
Test: return (getauxval(AT_HWCAP) & HWCAP_LOONGARCH_LSX) |
| 495 |
Package: no |
| 496 |
Description: |
| 497 |
LSX stands for Loongson SIMD Extension, a 128-bit vector extension |
| 498 |
used in the LoongArch architecture. It provides single-instruction |
| 499 |
multiple-data parallel processing to accelerate math, media, and data-heavy workloads. |
| 500 |
|
| 501 |
Name: IMA-C |
| 502 |
Architecture: riscv64 |
| 503 |
Test: return risv_test_flag(RISCV_HWPROBE_IMA_C) |
| 504 |
Package: no |
| 505 |
Description: |
| 506 |
The C extension is supported, as defined by version 2.2 of the RISC-V ISA manual. |
| 507 |
|
| 508 |
Name: IMA-V |
| 509 |
Architecture: riscv64 |
| 510 |
Test: return risv_test_flag(RISCV_HWPROBE_IMA_V) |
| 511 |
Package: no |
| 512 |
Description: |
| 513 |
The V extension is supported, as defined by version 2.2 of the RISC-V ISA manual. |