Commit 79b033b
authored
fix: detect Arm NEON with alternative predefined macro
Currently Arm NEON availability is detected using only the __ARM_NEON__
predefined macro. However this is not used by all modern compilers,
it seems it was superseded by __ARM_NEON. The "Arm C Language Extensions"
guide[1] refers to __ARM_NEON macro aswell.
To be able to detect NEON availability more reliably, check for
both macro names.
[1]: https://developer.arm.com/documentation/ihi0053/d/ - pdf, section 6.9
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>1 parent 2f7a264 commit 79b033b
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
0 commit comments