[Bug target/108642] ACLE function __arm_wsr missing for AArch64

2023-02-03 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108642 --- Comment #6 from David Spickett --- Thanks for the link, we'll try to use those when we detect g++.

[Bug target/108642] ACLE function __arm_wsr missing for AArch64

2023-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108642 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > Which of course is not documented ... They are documented but not in a decent way: https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/AArch64-Built-in-Functions.html

[Bug target/108642] ACLE function __arm_wsr missing for AArch64

2023-02-02 Thread david.spickett at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108642 --- Comment #4 from David Spickett --- Of course, I was just looking at at assembly output in compiler explorer and then locally I didn't link the object. That's why it seemed to work. Compiling and linking I get: $ ./bin/aarch64-none-linux-gnu

[Bug target/108642] ACLE function __arm_wsr missing for AArch64

2023-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108642 --- Comment #3 from Andrew Pinski --- GCC has a builtin already for getting fpsr already too: __builtin_aarch64_get_fpsr Which of course is not documented ...

[Bug target/108642] ACLE function __arm_wsr missing for AArch64

2023-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108642 --- Comment #2 from Andrew Pinski --- Note the ACLE does not require "fpsr" to be supported either only "o0:op1:CRn:CRm:op2" format is listed there ...

[Bug target/108642] ACLE function __arm_wsr missing for AArch64

2023-02-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108642 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-02-02 Target|