mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-12 15:51:40 +00:00
Patterns to match AVX 256-bit vzero intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110480 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
60493c3f4f
commit
4945dd8314
@ -1272,9 +1272,9 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||
// Vector zero
|
||||
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||
def int_x86_avx_vzeroall : GCCBuiltin<"__builtin_ia32_vzeroall">,
|
||||
Intrinsic<[], [], [IntrNoMem]>;
|
||||
Intrinsic<[], [], []>;
|
||||
def int_x86_avx_vzeroupper : GCCBuiltin<"__builtin_ia32_vzeroupper">,
|
||||
Intrinsic<[], [], [IntrNoMem]>;
|
||||
Intrinsic<[], [], []>;
|
||||
}
|
||||
|
||||
// Vector load with broadcast
|
||||
|
@ -5408,12 +5408,12 @@ def VPERM2F128rm : AVXAIi8<0x06, MRMSrcMem, (outs VR256:$dst),
|
||||
[]>, VEX_4V;
|
||||
|
||||
// Zero All YMM registers
|
||||
def VZEROALL : I<0x77, RawFrm, (outs), (ins), "vzeroall", []>, VEX, VEX_L,
|
||||
Requires<[HasAVX]>;
|
||||
def VZEROALL : I<0x77, RawFrm, (outs), (ins), "vzeroall",
|
||||
[(int_x86_avx_vzeroall)]>, VEX, VEX_L, Requires<[HasAVX]>;
|
||||
|
||||
// Zero Upper bits of YMM registers
|
||||
def VZEROUPPER : I<0x77, RawFrm, (outs), (ins), "vzeroupper", []>, VEX,
|
||||
Requires<[HasAVX]>;
|
||||
def VZEROUPPER : I<0x77, RawFrm, (outs), (ins), "vzeroupper",
|
||||
[(int_x86_avx_vzeroupper)]>, VEX, Requires<[HasAVX]>;
|
||||
|
||||
} // isAsmParserOnly
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user