llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.65k stars 11.84k forks source link

unsupported ARM NEON intrinsic in aarch32 for supported instructions #45468

Closed llvmbot closed 4 years ago

llvmbot commented 4 years ago
Bugzilla Link 46123
Resolution INVALID
Resolved on May 28, 2020 15:45
Version unspecified
OS All
Reporter LLVM Bugzilla Contributor
CC @DougGregor,@efriedma-quic,@zygoloid

Extended Description

It seems that arm_neon.h that is shipped in android ndk r21 does not support certain neon intrinsics in Aarch32 mode even though corresponding instruction exist in ISA. The same ones are supported in Aarch64. I ran into the issue for the following intrinsics (not sure if other intrinsics may have similar issue): vcopyqlaneq* vsqrtq vdivq

llvmbot commented 4 years ago

Hi Eli. Yes I just realized this. There was some fine print I was missing. My apologies for filing spurious bug, but hey we can close it right away :).

efriedma-quic commented 4 years ago

https://developer.arm.com/docs/ihi0073/latest says those intrinsics only exist on 64-bit. This is because the corresponding instructions don't actually exist in the 32-bit ISA.