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++.
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
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
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 ...
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 ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108642
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2023-02-02
Target|