Michael Weiser michael.weiser@gmx.de writes:
I've downloaded binary builds of clang for aarch64 from https://releases.llvm.org/download.html. 3.9.1 was the oldest prebuilt toolchain I could find there and 11.0.0 the most recent.
[...]
They also all support the .arch directive:
$ cat t.s .arch armv8-a+crypto pmull v2.1q, v2.1d, v1.1d $ aarch64-unknown-linux-gnu-as -o t.o t.s $ clang+llvm-3.9.1-aarch64-linux-gnu/bin/clang -c -o t.o t.s $ clang+llvm-11.0.0-aarch64-linux-gnu/bin/clang -c -o t.o t.s
Thanks for investigating. The .arch pseudoop it is, then.
I've pushed a change to use that, instead of modifying CFLAGS.
Regards, /Niels