On Sun, Jan 31, 2021 at 10:00 PM Michael Weiser michael.weiser@gmx.de wrote:
It might as well be that llvm-as just knows the pmull instruction and assembles it fine but can't check if the target CPU will be able to run it.
llvm-as wouldn't recognize pmull instruction without adding -march=armv8-a+crypto flag at least with the version I use "3.8.1" I tried both .arch armv8-a+crypto and .arch_extension crypto and they worked only for gas while llvm-as produces errors for pmull using.
regards, Mamone