Skip to content

Commit 402ee64

Browse files
author
Elena Demikhovsky
committed
AVX-512: updated the list of high-latency instructions.
llvm-svn: 189740
1 parent b422ecc commit 402ee64

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

llvm/lib/Target/X86/X86InstrInfo.cpp

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5099,6 +5099,20 @@ bool X86InstrInfo::isHighLatencyDef(int opc) const {
50995099
case X86::VSQRTSSm:
51005100
case X86::VSQRTSSm_Int:
51015101
case X86::VSQRTSSr:
5102+
case X86::VSQRTPDZrm:
5103+
case X86::VSQRTPDZrr:
5104+
case X86::VSQRTPSZrm:
5105+
case X86::VSQRTPSZrr:
5106+
case X86::VSQRTSDZm:
5107+
case X86::VSQRTSDZm_Int:
5108+
case X86::VSQRTSDZr:
5109+
case X86::VSQRTSSZm_Int:
5110+
case X86::VSQRTSSZr:
5111+
case X86::VSQRTSSZm:
5112+
case X86::VDIVSDZrm:
5113+
case X86::VDIVSDZrr:
5114+
case X86::VDIVSSZrm:
5115+
case X86::VDIVSSZrr:
51025116

51035117
case X86::VGATHERQPSZrm:
51045118
case X86::VGATHERQPDZrm:
@@ -5107,7 +5121,15 @@ bool X86InstrInfo::isHighLatencyDef(int opc) const {
51075121
case X86::VPGATHERQDZrm:
51085122
case X86::VPGATHERQQZrm:
51095123
case X86::VPGATHERDDZrm:
5110-
case X86::VPGATHERDQZrm:
5124+
case X86::VPGATHERDQZrm:
5125+
case X86::VSCATTERQPDZmr:
5126+
case X86::VSCATTERQPSZmr:
5127+
case X86::VSCATTERDPDZmr:
5128+
case X86::VSCATTERDPSZmr:
5129+
case X86::VPSCATTERQDZmr:
5130+
case X86::VPSCATTERQQZmr:
5131+
case X86::VPSCATTERDDZmr:
5132+
case X86::VPSCATTERDQZmr:
51115133
return true;
51125134
}
51135135
}

0 commit comments

Comments
 (0)