-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't generate instructions for ARMv7 NEON with GCC 7.4.1 #2276
Comments
The HWY_NEON_WITHOUT_AES target on Armv7 requires support for VFPv4 in addition to NEON. |
Oh, darn. Is this a limitation of Highway? As in, could I use the intrinsics manually? I'm trying to operate on a large dataset of |
You could try removing the check for HWCAP_VFPv4 in targets.cc and seeing if it works for your application. |
I see :( I'll have to come up with a different solution then. Thanks for the responses. |
I'm new to SIMD usage, so I'm a bit unsure if I've missed something.
I am trying to cross-compile an application from my x86 linux desktop to an SoC using ARMv7, but Highway's target detection seems to be using scalar code (from what I see in the assembly output).
The SoC's info, from
cat /proc/cpuinfo
:I'm using this for my CMake to enable NEON
My compiler:
I have enabled
-DHWY_CMAKE_ARM7:BOOL=ON
, too.However,
HWY_NAMESPACE
seems to refer toN_SCALAR
, as in the assembly.simd::N_SCALAR::myFunction(...)
The performance of the SIMD code is also worse than the hand-written scalar version, so I am pretty sure it's not working correctly.
Have I missed some setup? Is this a limitation of the old version of GCC I'm using?
The text was updated successfully, but these errors were encountered: