[Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058 --- Comment #8 from xiaoyong yan --- ok, thanks
[Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058 Richard Earnshaw changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING |RESOLVED --- Comment #7 from Richard Earnshaw --- This is a bug in GNU Binutils. These system registers are incorrectly described as being part of armv8.3-a, rather than part of the Pauth extension. Please can you raise a bug there: https://sourceware.org/bugzilla (select product binutils).
[Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058 --- Comment #6 from xiaoyong yan --- ~/x-tools/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-as -mcpu=cortex-a78ae test.S test.S: Assembler messages: test.S: Warning: end of file not at end of a line; newline inserted test.S:5: Error: selected processor does not support system register name 'apiakeyhi_el1' test.S:6: Error: selected processor does not support system register name 'apiakeylo_el1'
[Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058 --- Comment #5 from xiaoyong yan --- (In reply to Andrew Pinski from comment #3) > This looks like a binutils issue rather a gcc one. It might be already fixed > in binutils too. I encountered issues even with the latest version 2.42 of binutils, as shown below. ~/x-tools/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-as -v GNU assembler version 2.42 (aarch64-unknown-linux-gnu) using BFD version (crosstool-NG 1.26.0.72_810021d) 2.42 ~/x-tools/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-as -mcpu=cortex-a78ae test.S
[Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058 --- Comment #4 from xiaoyong yan --- (In reply to Andrew Pinski from comment #3) > This looks like a binutils issue rather a gcc one. It might be already fixed > in binutils too. I am using binutils 2.39.0, GNU assembler version 2.39.0 arm-none-eabi-as -v GNU assembler version 2.39.0 (arm-none-eabi) using BFD version (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24)) 2.39.0.20221210 Could you tell which version fixed it?
[Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058 --- Comment #3 from Andrew Pinski --- This looks like a binutils issue rather a gcc one. It might be already fixed in binutils too.
[Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058 --- Comment #2 from xiaoyong yan --- (In reply to Richard Earnshaw from comment #1) > It looks like those messages are coming from the assembler, not the > compiler, but without a testcase it's difficult to be exactly sure what your > problem is. > > Please attach a small program that demonstrates your problem and state the > /exact/ command line you used. Hi Richard: thanks for reply. here is the test file for pauth, named as test.S: align 8 .global test .type test,%function test: mrs x9, apiakeyhi_el1 mrs x10, apiakeylo_el1 mov x11, lr mov x12, sp when I use "aarch64-none-linux-gnu-gcc -mcpu=cortex-a78ae test.S -o test.o", gcc generates errors as follows: test.S: Assembler messages: test.S:5: Error: selected processor does not support system register name 'apiakeyhi_el1' test.S:6: Error: selected processor does not support system register name 'apiakeylo_el1' when I use "aarch64-none-linux-gnu-gcc -march=armv8.2-a+pauth -c test.S -o test.o", gcc generates errors as follows: test.S: Assembler messages: test.S:5: Error: selected processor does not support system register name 'apiakeyhi_el1' test.S:6: Error: selected processor does not support system register name 'apiakeylo_el1' when I use "aarch64-none-linux-gnu-gcc -march=armv8.3-a -c test.S -o test.o", there is no error generated.
[Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058 Richard Earnshaw changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING Last reconfirmed||2024-05-13 --- Comment #1 from Richard Earnshaw --- It looks like those messages are coming from the assembler, not the compiler, but without a testcase it's difficult to be exactly sure what your problem is. Please attach a small program that demonstrates your problem and state the /exact/ command line you used.