* [Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
2024-05-13 1:35 [Bug target/115058] New: on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product yanxiaoyong5 at gmail dot com
@ 2024-05-13 12:55 ` rearnsha at gcc dot gnu.org
2024-05-14 1:28 ` yanxiaoyong5 at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2024-05-13 12:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2024-05-13
--- Comment #1 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
2024-05-13 1:35 [Bug target/115058] New: on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product yanxiaoyong5 at gmail dot com
2024-05-13 12:55 ` [Bug target/115058] " rearnsha at gcc dot gnu.org
@ 2024-05-14 1:28 ` yanxiaoyong5 at gmail dot com
2024-05-14 1:30 ` pinskia at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: yanxiaoyong5 at gmail dot com @ 2024-05-14 1:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058
--- Comment #2 from xiaoyong yan <yanxiaoyong5 at gmail dot com> ---
(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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
2024-05-13 1:35 [Bug target/115058] New: on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product yanxiaoyong5 at gmail dot com
2024-05-13 12:55 ` [Bug target/115058] " rearnsha at gcc dot gnu.org
2024-05-14 1:28 ` yanxiaoyong5 at gmail dot com
@ 2024-05-14 1:30 ` pinskia at gcc dot gnu.org
2024-05-14 5:47 ` yanxiaoyong5 at gmail dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-14 1:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This looks like a binutils issue rather a gcc one. It might be already fixed in
binutils too.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
2024-05-13 1:35 [Bug target/115058] New: on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product yanxiaoyong5 at gmail dot com
` (2 preceding siblings ...)
2024-05-14 1:30 ` pinskia at gcc dot gnu.org
@ 2024-05-14 5:47 ` yanxiaoyong5 at gmail dot com
2024-05-14 7:11 ` yanxiaoyong5 at gmail dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: yanxiaoyong5 at gmail dot com @ 2024-05-14 5:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058
--- Comment #4 from xiaoyong yan <yanxiaoyong5 at gmail dot com> ---
(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?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
2024-05-13 1:35 [Bug target/115058] New: on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product yanxiaoyong5 at gmail dot com
` (3 preceding siblings ...)
2024-05-14 5:47 ` yanxiaoyong5 at gmail dot com
@ 2024-05-14 7:11 ` yanxiaoyong5 at gmail dot com
2024-05-14 7:11 ` yanxiaoyong5 at gmail dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: yanxiaoyong5 at gmail dot com @ 2024-05-14 7:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058
--- Comment #5 from xiaoyong yan <yanxiaoyong5 at gmail dot com> ---
(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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
2024-05-13 1:35 [Bug target/115058] New: on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product yanxiaoyong5 at gmail dot com
` (4 preceding siblings ...)
2024-05-14 7:11 ` yanxiaoyong5 at gmail dot com
@ 2024-05-14 7:11 ` yanxiaoyong5 at gmail dot com
2024-05-14 9:37 ` rearnsha at gcc dot gnu.org
2024-05-15 15:53 ` yanxiaoyong5 at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: yanxiaoyong5 at gmail dot com @ 2024-05-14 7:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058
--- Comment #6 from xiaoyong yan <yanxiaoyong5 at gmail dot com> ---
~/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'
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
2024-05-13 1:35 [Bug target/115058] New: on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product yanxiaoyong5 at gmail dot com
` (5 preceding siblings ...)
2024-05-14 7:11 ` yanxiaoyong5 at gmail dot com
@ 2024-05-14 9:37 ` rearnsha at gcc dot gnu.org
2024-05-15 15:53 ` yanxiaoyong5 at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2024-05-14 9:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|WAITING |RESOLVED
--- Comment #7 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
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).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/115058] on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product
2024-05-13 1:35 [Bug target/115058] New: on target arm -mcpu=cortex-a78ae does not allow use pauth and dot product yanxiaoyong5 at gmail dot com
` (6 preceding siblings ...)
2024-05-14 9:37 ` rearnsha at gcc dot gnu.org
@ 2024-05-15 15:53 ` yanxiaoyong5 at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: yanxiaoyong5 at gmail dot com @ 2024-05-15 15:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058
--- Comment #8 from xiaoyong yan <yanxiaoyong5 at gmail dot com> ---
ok, thanks
^ permalink raw reply [flat|nested] 9+ messages in thread