You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[android] Check for Android-specific ARMv7 SIMD generated code.
In my testing, it seems that Android default target-attributes/data
layout doesn't seem to match those of iOS in ARMv7 (or Linux or
Windows). This commit introduces target-sdk-name into the checks, and
does a different check depending on the SDK: iOS stays the same; Linux
and Windows use the iOS approach; Android is a different beast.
To check my assumptions, I used the following small C program and
compiled it with Clang from the tree and different targets
(armv7-none-ios, armv7-none-linux-gnueabi, armv7-none-windows-msvc).
```c
typedef float __attribute__((ext_vector_type(3))) float3;
float3 simd_c_args_float3(float3 x) {
return x;
}
```
0 commit comments