summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/sse42-schedule.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/sse42-schedule.ll')
-rw-r--r--llvm/test/CodeGen/X86/sse42-schedule.ll36
1 files changed, 18 insertions, 18 deletions
diff --git a/llvm/test/CodeGen/X86/sse42-schedule.ll b/llvm/test/CodeGen/X86/sse42-schedule.ll
index 681ab92f185..7e6adf4d83c 100644
--- a/llvm/test/CodeGen/X86/sse42-schedule.ll
+++ b/llvm/test/CodeGen/X86/sse42-schedule.ll
@@ -50,7 +50,7 @@ define i32 @crc32_32_8(i32 %a0, i8 %a1, i8 *%a2) {
; SKX-NEXT: crc32b %sil, %edi # sched: [3:1.00]
; SKX-NEXT: crc32b (%rdx), %edi # sched: [8:1.00]
; SKX-NEXT: movl %edi, %eax # sched: [1:0.25]
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: crc32_32_8:
; BTVER2: # BB#0:
@@ -113,7 +113,7 @@ define i32 @crc32_32_16(i32 %a0, i16 %a1, i16 *%a2) {
; SKX-NEXT: crc32w %si, %edi # sched: [3:1.00]
; SKX-NEXT: crc32w (%rdx), %edi # sched: [8:1.00]
; SKX-NEXT: movl %edi, %eax # sched: [1:0.25]
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: crc32_32_16:
; BTVER2: # BB#0:
@@ -176,7 +176,7 @@ define i32 @crc32_32_32(i32 %a0, i32 %a1, i32 *%a2) {
; SKX-NEXT: crc32l %esi, %edi # sched: [3:1.00]
; SKX-NEXT: crc32l (%rdx), %edi # sched: [8:1.00]
; SKX-NEXT: movl %edi, %eax # sched: [1:0.25]
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: crc32_32_32:
; BTVER2: # BB#0:
@@ -239,7 +239,7 @@ define i64 @crc32_64_8(i64 %a0, i8 %a1, i8 *%a2) nounwind {
; SKX-NEXT: crc32b %sil, %edi # sched: [3:1.00]
; SKX-NEXT: crc32b (%rdx), %edi # sched: [8:1.00]
; SKX-NEXT: movq %rdi, %rax # sched: [1:0.25]
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: crc32_64_8:
; BTVER2: # BB#0:
@@ -302,7 +302,7 @@ define i64 @crc32_64_64(i64 %a0, i64 %a1, i64 *%a2) {
; SKX-NEXT: crc32q %rsi, %rdi # sched: [3:1.00]
; SKX-NEXT: crc32q (%rdx), %rdi # sched: [8:1.00]
; SKX-NEXT: movq %rdi, %rax # sched: [1:0.25]
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: crc32_64_64:
; BTVER2: # BB#0:
@@ -398,10 +398,10 @@ define i32 @test_pcmpestri(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
; SKX-NEXT: movl %ecx, %esi # sched: [1:0.25]
; SKX-NEXT: movl $7, %eax # sched: [1:0.25]
; SKX-NEXT: movl $7, %edx # sched: [1:0.25]
-; SKX-NEXT: vpcmpestri $7, (%rdi), %xmm0 # sched: [18:4.00]
+; SKX-NEXT: vpcmpestri $7, (%rdi), %xmm0 # sched: [24:4.00]
; SKX-NEXT: # kill: %ECX<def> %ECX<kill> %RCX<def>
; SKX-NEXT: leal (%rcx,%rsi), %eax # sched: [1:0.50]
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: test_pcmpestri:
; BTVER2: # BB#0:
@@ -494,8 +494,8 @@ define <16 x i8> @test_pcmpestrm(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
; SKX-NEXT: vpcmpestrm $7, %xmm1, %xmm0 # sched: [19:4.00]
; SKX-NEXT: movl $7, %eax # sched: [1:0.25]
; SKX-NEXT: movl $7, %edx # sched: [1:0.25]
-; SKX-NEXT: vpcmpestrm $7, (%rdi), %xmm0 # sched: [19:4.00]
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: vpcmpestrm $7, (%rdi), %xmm0 # sched: [25:4.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: test_pcmpestrm:
; BTVER2: # BB#0:
@@ -573,10 +573,10 @@ define i32 @test_pcmpistri(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
; SKX: # BB#0:
; SKX-NEXT: vpcmpistri $7, %xmm1, %xmm0 # sched: [10:3.00]
; SKX-NEXT: movl %ecx, %eax # sched: [1:0.25]
-; SKX-NEXT: vpcmpistri $7, (%rdi), %xmm0 # sched: [10:3.00]
+; SKX-NEXT: vpcmpistri $7, (%rdi), %xmm0 # sched: [16:3.00]
; SKX-NEXT: # kill: %ECX<def> %ECX<kill> %RCX<def>
; SKX-NEXT: leal (%rcx,%rax), %eax # sched: [1:0.50]
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: test_pcmpistri:
; BTVER2: # BB#0:
@@ -637,8 +637,8 @@ define <16 x i8> @test_pcmpistrm(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
; SKX-LABEL: test_pcmpistrm:
; SKX: # BB#0:
; SKX-NEXT: vpcmpistrm $7, %xmm1, %xmm0 # sched: [10:3.00]
-; SKX-NEXT: vpcmpistrm $7, (%rdi), %xmm0 # sched: [10:3.00]
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: vpcmpistrm $7, (%rdi), %xmm0 # sched: [16:3.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: test_pcmpistrm:
; BTVER2: # BB#0:
@@ -691,11 +691,11 @@ define <2 x i64> @test_pcmpgtq(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> *%a2) {
;
; SKX-LABEL: test_pcmpgtq:
; SKX: # BB#0:
-; SKX-NEXT: vpcmpgtq %xmm1, %xmm0, %k0
+; SKX-NEXT: vpcmpgtq %xmm1, %xmm0, %k0 # sched: [3:1.00]
; SKX-NEXT: vpmovm2q %k0, %xmm0
-; SKX-NEXT: vpcmpgtq (%rdi), %xmm0, %k0
+; SKX-NEXT: vpcmpgtq (%rdi), %xmm0, %k0 # sched: [9:1.00]
; SKX-NEXT: vpmovm2q %k0, %xmm0
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: test_pcmpgtq:
; BTVER2: # BB#0:
@@ -750,8 +750,8 @@ define <2 x i64> @test_pclmulqdq(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> *%a2) {
; SKX-LABEL: test_pclmulqdq:
; SKX: # BB#0:
; SKX-NEXT: vpclmulqdq $0, %xmm1, %xmm0, %xmm0 # sched: [6:1.00]
-; SKX-NEXT: vpclmulqdq $0, (%rdi), %xmm0, %xmm0 # sched: [6:1.00]
-; SKX-NEXT: retq # sched: [2:1.00]
+; SKX-NEXT: vpclmulqdq $0, (%rdi), %xmm0, %xmm0 # sched: [12:1.00]
+; SKX-NEXT: retq # sched: [7:1.00]
;
; BTVER2-LABEL: test_pclmulqdq:
; BTVER2: # BB#0:
OpenPOWER on IntegriCloud