forked from OSchip/llvm-project
[AArch64] Fuse AES{D,E}/AESMC for Exynos M1. (NFC)
llvm-svn: 266144
This commit is contained in:
parent
a969b2ed0e
commit
551af44e31
|
@ -347,7 +347,10 @@ def : InstRW<[M1WriteNALU1], (instregex "^ZIP[12]v")>;
|
|||
// ASIMD store instructions.
|
||||
|
||||
// Cryptography instructions.
|
||||
def : InstRW<[M1WriteNCRYPT1], (instregex "^AES")>;
|
||||
def M1WriteAES : SchedWriteRes<[M1UnitNCRYPT]> { let Latency = 1; }
|
||||
def M1ReadAES : SchedReadAdvance<1, [M1WriteAES]>;
|
||||
def : InstRW<[M1WriteAES, M1ReadAES], (instregex "^AES")>;
|
||||
|
||||
def : InstRW<[M1WriteNCRYPT1], (instregex "^PMUL")>;
|
||||
def : InstRW<[M1WriteNCRYPT1], (instregex "^SHA1(H|SU)")>;
|
||||
def : InstRW<[M1WriteNCRYPT5], (instregex "^SHA1[CMP]")>;
|
||||
|
|
Loading…
Reference in New Issue