I'm seeing errors when attempting to assemble a program that included an addpt instruction
test.S :
.section .textADDPT x0, x2, x4
I'm using the following command line: aarch64-none-elf-as.exe -march=armv9.4-a test.S -o test.o
Std out : Error: unknown mnemonic `addpt' -- `addpt x0,x2,x4'
using armclang it looks to work as expected
armclang.exe" -c --target=aarch64-arm-none-eabi -march=armv9.5-a test.S -o test.o
Am I missing some command line options to aarch64-none-elf-as.exe? Thanks for any advice.
aarch64-none-elf-as.exe --versionGNU assembler (Arm GNU Toolchain 13.3.Rel1 (Build arm-13.24)) 2.42.0.20240614
Support for armv9.5 was added on June 10 2024 in the GNU binutils repo according the git log:
commit 032eb4f71898d77f10c44f115f26e9a0680d3906 Author: Claudio Bantaloukas <claudio.bantaloukas@arm.com> Date: Mon Jun 10 13:18:52 2024 +0000 aarch64: Add support for Armv9.5-A architecture The new -march=armv9.5-a flag enables access to the mandatory cpa, lut and faminmax extensions. Existing test cases for features are extended to verify they work without additional flags.
You need at least version 2.43.0 from the GNU binutils to get addpt to work. (Version 2.42.0 was released in January 2024.)
Unfortunately on the ARM webpage, there isn't currently 2.43 available for downloading, so you can only try to build the GNU binutils self.
Hi,
Arm GNU Toolchain 14.2.Rel1 has been released ( developer.arm.com/.../arm-gnu-toolchain-downloads )
This contains GNU binutils based on version 2.43. This has support for the addpt instruction when using -march=armv9.4-a+sve+cpa