1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

[X86][Btver2] Attach AES/CLMUL instructions to a scheduler pipe

llvm-svn: 327650
This commit is contained in:
Simon Pilgrim 2018-03-15 17:45:10 +00:00
parent f9a471ace4
commit e9b85ddd51

View File

@ -308,9 +308,9 @@ defm : JWriteResFpuPair<WritePCmpEStrM, [JFPU1, JLAGU, JFPU01, JFPU1, JFPU0], 14
// AES Instructions. // AES Instructions.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
defm : JWriteResFpuPair<WriteAESIMC, [JVIMUL], 2>; defm : JWriteResFpuPair<WriteAESIMC, [JFPU0, JVIMUL], 2>;
defm : JWriteResFpuPair<WriteAESKeyGen, [JVIMUL], 2>; defm : JWriteResFpuPair<WriteAESKeyGen, [JFPU0, JVIMUL], 2>;
defm : JWriteResFpuPair<WriteAESDecEnc, [JVIMUL], 3>; defm : JWriteResFpuPair<WriteAESDecEnc, [JFPU0, JVIMUL], 3>;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Horizontal add/sub instructions. // Horizontal add/sub instructions.
@ -335,7 +335,7 @@ def : InstRW<[JWriteFHAddYLd], (instrs VHADDPDYrm, VHADDPSYrm, VHSUBPDYrm, VHSUB
// Carry-less multiplication instructions. // Carry-less multiplication instructions.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
defm : JWriteResFpuPair<WriteCLMul, [JVIMUL], 2>; defm : JWriteResFpuPair<WriteCLMul, [JFPU0, JVIMUL], 2>;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// SSE4.1 instructions. // SSE4.1 instructions.