forked from OSchip/llvm-project
[X86] Remove the mayLoad and mayStore flags from vzeroupper/vzeroall.
But leave the hasUnmodelledSideEffects flag.
This commit is contained in:
parent
46d6f76be3
commit
465f5648ee
|
@ -1275,9 +1275,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<[], [], []>;
|
||||
Intrinsic<[], [], [IntrNoMem, IntrHasSideEffects]>;
|
||||
def int_x86_avx_vzeroupper : GCCBuiltin<"__builtin_ia32_vzeroupper">,
|
||||
Intrinsic<[], [], []>;
|
||||
Intrinsic<[], [], [IntrNoMem, IntrHasSideEffects]>;
|
||||
}
|
||||
|
||||
// SIMD load ops
|
||||
|
|
|
@ -1719,8 +1719,8 @@ vzeroupper
|
|||
# CHECK-NEXT: 1 7 1.50 * vxorps (%rax), %xmm1, %xmm2
|
||||
# CHECK-NEXT: 2 2 1.00 vxorps %ymm0, %ymm1, %ymm2
|
||||
# CHECK-NEXT: 2 7 1.50 * vxorps (%rax), %ymm1, %ymm2
|
||||
# CHECK-NEXT: 32 90 8.00 * * U vzeroall
|
||||
# CHECK-NEXT: 16 46 4.00 * * U vzeroupper
|
||||
# CHECK-NEXT: 32 90 8.00 U vzeroall
|
||||
# CHECK-NEXT: 16 46 4.00 U vzeroupper
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0.0] - PdAGLU01
|
||||
|
|
|
@ -1719,8 +1719,8 @@ vzeroupper
|
|||
# CHECK-NEXT: 2 6 1.00 * vxorps (%rax), %xmm1, %xmm2
|
||||
# CHECK-NEXT: 1 1 1.00 vxorps %ymm0, %ymm1, %ymm2
|
||||
# CHECK-NEXT: 2 7 1.00 * vxorps (%rax), %ymm1, %ymm2
|
||||
# CHECK-NEXT: 20 8 1.00 * * U vzeroall
|
||||
# CHECK-NEXT: 4 0 1.00 * * U vzeroupper
|
||||
# CHECK-NEXT: 20 8 1.00 U vzeroall
|
||||
# CHECK-NEXT: 4 0 1.00 U vzeroupper
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0] - BWDivider
|
||||
|
|
|
@ -1719,8 +1719,8 @@ vzeroupper
|
|||
# CHECK-NEXT: 1 6 1.00 * vxorps (%rax), %xmm1, %xmm2
|
||||
# CHECK-NEXT: 2 1 1.00 vxorps %ymm0, %ymm1, %ymm2
|
||||
# CHECK-NEXT: 2 6 2.00 * vxorps (%rax), %ymm1, %ymm2
|
||||
# CHECK-NEXT: 73 90 36.50 * * U vzeroall
|
||||
# CHECK-NEXT: 37 46 18.50 * * U vzeroupper
|
||||
# CHECK-NEXT: 73 90 36.50 U vzeroall
|
||||
# CHECK-NEXT: 37 46 18.50 U vzeroupper
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0] - JALU0
|
||||
|
|
|
@ -1719,8 +1719,8 @@ vzeroupper
|
|||
# CHECK-NEXT: 2 7 1.00 * vxorps (%rax), %xmm1, %xmm2
|
||||
# CHECK-NEXT: 1 1 1.00 vxorps %ymm0, %ymm1, %ymm2
|
||||
# CHECK-NEXT: 2 8 1.00 * vxorps (%rax), %ymm1, %ymm2
|
||||
# CHECK-NEXT: 20 9 2.00 * * U vzeroall
|
||||
# CHECK-NEXT: 4 1 1.00 * * U vzeroupper
|
||||
# CHECK-NEXT: 20 9 2.00 U vzeroall
|
||||
# CHECK-NEXT: 4 1 1.00 U vzeroupper
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0] - SBDivider
|
||||
|
|
|
@ -1719,8 +1719,8 @@ vzeroupper
|
|||
# CHECK-NEXT: 2 7 1.00 * vxorps (%rax), %xmm1, %xmm2
|
||||
# CHECK-NEXT: 1 1 1.00 vxorps %ymm0, %ymm1, %ymm2
|
||||
# CHECK-NEXT: 2 8 1.00 * vxorps (%rax), %ymm1, %ymm2
|
||||
# CHECK-NEXT: 20 8 1.00 * * U vzeroall
|
||||
# CHECK-NEXT: 4 0 1.00 * * U vzeroupper
|
||||
# CHECK-NEXT: 20 8 1.00 U vzeroall
|
||||
# CHECK-NEXT: 4 0 1.00 U vzeroupper
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0] - HWDivider
|
||||
|
|
|
@ -1719,8 +1719,8 @@ vzeroupper
|
|||
# CHECK-NEXT: 2 7 1.00 * vxorps (%rax), %xmm1, %xmm2
|
||||
# CHECK-NEXT: 1 1 1.00 vxorps %ymm0, %ymm1, %ymm2
|
||||
# CHECK-NEXT: 2 8 1.00 * vxorps (%rax), %ymm1, %ymm2
|
||||
# CHECK-NEXT: 20 9 2.00 * * U vzeroall
|
||||
# CHECK-NEXT: 4 1 1.00 * * U vzeroupper
|
||||
# CHECK-NEXT: 20 9 2.00 U vzeroall
|
||||
# CHECK-NEXT: 4 1 1.00 U vzeroupper
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0] - SBDivider
|
||||
|
|
|
@ -1719,8 +1719,8 @@ vzeroupper
|
|||
# CHECK-NEXT: 2 7 0.50 * vxorps (%rax), %xmm1, %xmm2
|
||||
# CHECK-NEXT: 1 1 0.33 vxorps %ymm0, %ymm1, %ymm2
|
||||
# CHECK-NEXT: 2 8 0.50 * vxorps (%rax), %ymm1, %ymm2
|
||||
# CHECK-NEXT: 16 16 4.00 * * U vzeroall
|
||||
# CHECK-NEXT: 4 0 0.67 * * U vzeroupper
|
||||
# CHECK-NEXT: 16 16 4.00 U vzeroall
|
||||
# CHECK-NEXT: 4 0 0.67 U vzeroupper
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0] - SKLDivider
|
||||
|
|
|
@ -1719,8 +1719,8 @@ vzeroupper
|
|||
# CHECK-NEXT: 2 7 0.50 * vxorps (%rax), %xmm1, %xmm2
|
||||
# CHECK-NEXT: 1 1 0.33 vxorps %ymm0, %ymm1, %ymm2
|
||||
# CHECK-NEXT: 2 8 0.50 * vxorps (%rax), %ymm1, %ymm2
|
||||
# CHECK-NEXT: 34 12 5.00 * * U vzeroall
|
||||
# CHECK-NEXT: 4 0 0.67 * * U vzeroupper
|
||||
# CHECK-NEXT: 34 12 5.00 U vzeroall
|
||||
# CHECK-NEXT: 4 0 0.67 U vzeroupper
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0] - SKXDivider
|
||||
|
|
|
@ -1719,8 +1719,8 @@ vzeroupper
|
|||
# CHECK-NEXT: 1 8 0.50 * vxorps (%rax), %xmm1, %xmm2
|
||||
# CHECK-NEXT: 1 1 0.25 vxorps %ymm0, %ymm1, %ymm2
|
||||
# CHECK-NEXT: 1 8 0.50 * vxorps (%rax), %ymm1, %ymm2
|
||||
# CHECK-NEXT: 1 100 0.25 * * U vzeroall
|
||||
# CHECK-NEXT: 1 100 0.25 * * U vzeroupper
|
||||
# CHECK-NEXT: 1 100 0.25 U vzeroall
|
||||
# CHECK-NEXT: 1 100 0.25 U vzeroupper
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0] - ZnAGU0
|
||||
|
|
|
@ -1719,8 +1719,8 @@ vzeroupper
|
|||
# CHECK-NEXT: 1 8 0.33 * vxorps (%rax), %xmm1, %xmm2
|
||||
# CHECK-NEXT: 1 1 0.25 vxorps %ymm0, %ymm1, %ymm2
|
||||
# CHECK-NEXT: 1 8 0.33 * vxorps (%rax), %ymm1, %ymm2
|
||||
# CHECK-NEXT: 1 100 0.25 * * U vzeroall
|
||||
# CHECK-NEXT: 1 1 0.25 * * U vzeroupper
|
||||
# CHECK-NEXT: 1 100 0.25 U vzeroall
|
||||
# CHECK-NEXT: 1 1 0.25 U vzeroupper
|
||||
|
||||
# CHECK: Resources:
|
||||
# CHECK-NEXT: [0] - Zn2AGU0
|
||||
|
|
Loading…
Reference in New Issue