Commit b6feaba
pystrhex: Enable SIMD on 32-bit ARM with NEON
Extend portable SIMD support to ARM32 when NEON is available.
The __builtin_shufflevector interleave compiles to vzip instructions
on ARMv7 NEON, similar to zip1/zip2 on ARM64.
NEON is optional on 32-bit ARM (unlike ARM64 where it's mandatory),
so we check for __ARM_NEON in addition to __arm__.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent b2dd34e commit b6feaba
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments