forked from OSchip/llvm-project
Add AVX versions of SSE4.1 EXTRACTPS patterns
llvm-svn: 139071
This commit is contained in:
parent
3d581a36b6
commit
212a8c4357
|
@ -5226,7 +5226,12 @@ def : Pat<(store (f32 (bitconvert (extractelt (bc_v4i32 (v4f32 VR128:$src1)),
|
||||||
imm:$src2))),
|
imm:$src2))),
|
||||||
addr:$dst),
|
addr:$dst),
|
||||||
(EXTRACTPSmr addr:$dst, VR128:$src1, imm:$src2)>,
|
(EXTRACTPSmr addr:$dst, VR128:$src1, imm:$src2)>,
|
||||||
Requires<[HasSSE41]>;
|
Requires<[HasSSE41]>;
|
||||||
|
def : Pat<(store (f32 (bitconvert (extractelt (bc_v4i32 (v4f32 VR128:$src1)),
|
||||||
|
imm:$src2))),
|
||||||
|
addr:$dst),
|
||||||
|
(VEXTRACTPSmr addr:$dst, VR128:$src1, imm:$src2)>,
|
||||||
|
Requires<[HasAVX]>;
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// SSE4.1 - Insert Instructions
|
// SSE4.1 - Insert Instructions
|
||||||
|
|
Loading…
Reference in New Issue