This adds MC support for the crypto instructions that were made optional extensions in Armv8.2-A (AArch64 only).
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
There are some variants of the PMULL instruction which depend on HasCrypto, which I think should be changed to HasAES.
lib/Target/AArch64/AArch64InstrFormats.td | ||
---|---|---|
10038 | Some of these input operands look wrong to me. For example, this one is used by SHA512SU1, which should have three inputs, the first of which is tied to the output. | |
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp | ||
4772 | I think it would be better to parse this in parseDirectiveCPU, and always pass an ArchKind to this function. |
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp | ||
---|---|---|
4753 | These new feature names and ExpandCryptoAEK aren't covered by any of the tests, could you add some? |
Some of these input operands look wrong to me. For example, this one is used by SHA512SU1, which should have three inputs, the first of which is tied to the output.