https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115058

            Bug ID: 115058
           Summary: on target arm -mcpu=cortex-a78ae does not allow use
                    pauth and dot product
           Product: gcc
           Version: 12.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yanxiaoyong5 at gmail dot com
  Target Milestone: ---

my gcc version is:
COLLECT_GCC=aarch64-none-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/root/samba/ssdk/prebuilts/arm-gnu-toolchain-12.2.rel1-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/12.2.1/lto-wrapper
目标:aarch64-none-linux-gnu
配置为:/data/jenkins/workspace/GNU-toolchain/arm-12/src/gcc/configure
--target=aarch64-none-linux-gnu --prefix=
--with-sysroot=/aarch64-none-linux-gnu/libc
--with-build-sysroot=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-linux-gnu/install//aarch64-none-linux-gnu/libc
--with-bugurl=https://bugs.linaro.org/ --enable-gnu-indirect-function
--enable-shared --disable-libssp --disable-libmudflap --enable-checking=release
--enable-languages=c,c++,fortran
--with-gmp=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-linux-gnu/host-tools
--with-mpfr=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-linux-gnu/host-tools
--with-mpc=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-linux-gnu/host-tools
--with-isl=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-linux-gnu/host-tools
--enable-fix-cortex-a53-843419 --with-pkgversion='Arm GNU Toolchain 12.2.Rel1
(Build arm-12.24)'
线程模型:posix
Supported LTO compression algorithms: zlib
gcc 版本 12.2.1 20221205 (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24))

The TRM (Technical Reference Manual) for Cortex-A78AE states that Cortex-A78AE
supports PAuth and Dot-Product.
Armv8.4-A Dot Product instruction support
Armv8.3-A Pointer Authentication support

but when I use -mcpu=cortex-a78ae, Dot Product and Pointer authentication is
not supported.
Dot Product:
105: Error: selected processor does not support `sdot v19.4s,v2.16b,v3.16b'

Pointer authentication:
Error: selected processor does not support system register name 'apiakeyhi_el1'

Reply via email to