Hi.
Thanks for reporting this. We’ve been able to reproduce it.
The underlying problem is (apparently) a target-independent bug. We've filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94941 to track it upstream. Arm will try to get the fix into the upcoming GCC 10 release, but since the first RC has already been published, the barrier is quite high.
Do let us know of any other experiences you have using the ACLE.
Chris
On 4/5/20, 4:26 am, "Guodong Xu" <guodong.xu@linaro.orgmailto:guodong.xu@linaro.org> wrote:
Hi, Chris, and Linaro Toolchain team,
Recently I found an issue of SVE intrinsics (svld1_f64, svld1_vnum_f64) when using gcc -O0 (gcc 10.0.1 debian nightly build, optimization level 0). Would you please help me to reach out to people who can fix it?
svld1_f64() is a function defined in Arm intrinsics for SVE (scalable vector extensions) [2].
Changing -O0 to -O1 makes the issue disappear.
svld1_vnum_f64() has the same problem.
To show the issue, I wrote this simple test program, see test1.c in [1]. A full issue report and gcc version string can be found in the attached pdf file.
[1] My test program: https://github.com/docularxu/sve-code-test/tree/working-svld1_f64
[2] Arm SVE intrinsics: https://developer.arm.com/docs/100987/latest
Feel free to contact me if you need more details.
Best regards, -Guodong Xu
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.