[X86][SSE] Fix roundpd instructions to correctly use IIC_SSE_ROUNDPD_* itineraries

llvm-svn: 319054
This commit is contained in:
Simon Pilgrim 2017-11-27 17:29:49 +00:00
parent e15d09c999
commit 18fc7ff93a
1 changed files with 2 additions and 2 deletions

View File

@ -5819,7 +5819,7 @@ let ExeDomain = SSEPackedDouble in {
!strconcat(OpcodeStr,
"pd\t{$src2, $src1, $dst|$dst, $src1, $src2}"),
[(set RC:$dst, (VT64 (OpNode RC:$src1, imm:$src2)))],
IIC_SSE_ROUNDPS_REG>, Sched<[WriteFAdd]>;
IIC_SSE_ROUNDPD_REG>, Sched<[WriteFAdd]>;
// Vector intrinsic operation, mem
def PDm : SS4AIi8<opcpd, MRMSrcMem,
@ -5828,7 +5828,7 @@ let ExeDomain = SSEPackedDouble in {
"pd\t{$src2, $src1, $dst|$dst, $src1, $src2}"),
[(set RC:$dst,
(VT64 (OpNode (mem_frag64 addr:$src1),imm:$src2)))],
IIC_SSE_ROUNDPS_REG>, Sched<[WriteFAddLd]>;
IIC_SSE_ROUNDPD_REG>, Sched<[WriteFAddLd]>;
} // ExeDomain = SSEPackedDouble
}