There's some additional macro fusion opportunities on newer apple CPUs.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AArch64/AArch64.td | ||
---|---|---|
159 | Would it be better to give a more operational name (e.g. FuseAESCrypto?) along with a comment if it applies to only certain configs. Just a thought, I am ok with as it is as well. |
lib/Target/AArch64/AArch64.td | ||
---|---|---|
159 | IIUC, this new feature is an extension of FeatureFuseAES. Therefore, I think that it'd be better if it were just about the new fusion, namely of PMULL and EOR. | |
351 | Thereby retaining FeatureFuseAES here and adding the new feature. | |
lib/Target/AArch64/AArch64MacroFusion.cpp | ||
128 | The first two cases repeat isAESPair(), so methinks that it'd be better if it'd check only the new pair, PMULL AND EOR. |
lib/Target/AArch64/AArch64.td | ||
---|---|---|
159 | Yeah we already had FuseAES and I was just implementing another variation of it, hence my original try with "Apple" in the name. But indeed describing it more function like "CryptoEOR" turned out to look better. | |
351 | ok, reused FeatureFuseAES this time and called the new thing FuseCryptoEOR. |
Would it be better to give a more operational name (e.g. FuseAESCrypto?) along with a comment if it applies to only certain configs. Just a thought, I am ok with as it is as well.