summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-03-15 17:45:10 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-03-15 17:45:10 +0000
commit48b758e8ad14a5553326eaf3b2365b73162c6a24 (patch)
treeb19c91fefb66d00c018e7ff91ac5e6ccc50889db /llvm
parent5a0251fe67f5cf36e11598eb4d5e08f1ad80719a (diff)
downloadbcm5719-llvm-48b758e8ad14a5553326eaf3b2365b73162c6a24.tar.gz
bcm5719-llvm-48b758e8ad14a5553326eaf3b2365b73162c6a24.zip
[X86][Btver2] Attach AES/CLMUL instructions to a scheduler pipe
llvm-svn: 327650
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/X86/X86ScheduleBtVer2.td8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86ScheduleBtVer2.td b/llvm/lib/Target/X86/X86ScheduleBtVer2.td
index 854ea4d7288..bc777c24a53 100644
--- a/llvm/lib/Target/X86/X86ScheduleBtVer2.td
+++ b/llvm/lib/Target/X86/X86ScheduleBtVer2.td
@@ -308,9 +308,9 @@ defm : JWriteResFpuPair<WritePCmpEStrM, [JFPU1, JLAGU, JFPU01, JFPU1, JFPU0], 14
// AES Instructions.
////////////////////////////////////////////////////////////////////////////////
-defm : JWriteResFpuPair<WriteAESIMC, [JVIMUL], 2>;
-defm : JWriteResFpuPair<WriteAESKeyGen, [JVIMUL], 2>;
-defm : JWriteResFpuPair<WriteAESDecEnc, [JVIMUL], 3>;
+defm : JWriteResFpuPair<WriteAESIMC, [JFPU0, JVIMUL], 2>;
+defm : JWriteResFpuPair<WriteAESKeyGen, [JFPU0, JVIMUL], 2>;
+defm : JWriteResFpuPair<WriteAESDecEnc, [JFPU0, JVIMUL], 3>;
////////////////////////////////////////////////////////////////////////////////
// Horizontal add/sub instructions.
@@ -335,7 +335,7 @@ def : InstRW<[JWriteFHAddYLd], (instrs VHADDPDYrm, VHADDPSYrm, VHSUBPDYrm, VHSUB
// Carry-less multiplication instructions.
////////////////////////////////////////////////////////////////////////////////
-defm : JWriteResFpuPair<WriteCLMul, [JVIMUL], 2>;
+defm : JWriteResFpuPair<WriteCLMul, [JFPU0, JVIMUL], 2>;
////////////////////////////////////////////////////////////////////////////////
// SSE4.1 instructions.
OpenPOWER on IntegriCloud