summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/bmi-schedule.ll12
-rw-r--r--llvm/test/CodeGen/X86/lzcnt-schedule.ll12
-rw-r--r--llvm/test/CodeGen/X86/popcnt-schedule.ll12
3 files changed, 18 insertions, 18 deletions
diff --git a/llvm/test/CodeGen/X86/bmi-schedule.ll b/llvm/test/CodeGen/X86/bmi-schedule.ll
index 737f87395f9..12ab0fb76cd 100644
--- a/llvm/test/CodeGen/X86/bmi-schedule.ll
+++ b/llvm/test/CodeGen/X86/bmi-schedule.ll
@@ -610,8 +610,8 @@ define i16 @test_cttz_i16(i16 zeroext %a0, i16 *%a1) {
;
; BTVER2-LABEL: test_cttz_i16:
; BTVER2: # %bb.0:
-; BTVER2-NEXT: tzcntw (%rsi), %cx # sched: [6:1.00]
-; BTVER2-NEXT: tzcntw %di, %ax # sched: [3:1.00]
+; BTVER2-NEXT: tzcntw (%rsi), %cx # sched: [5:1.00]
+; BTVER2-NEXT: tzcntw %di, %ax # sched: [2:1.00]
; BTVER2-NEXT: orl %ecx, %eax # sched: [1:0.50]
; BTVER2-NEXT: # kill: def $ax killed $ax killed $eax
; BTVER2-NEXT: retq # sched: [4:1.00]
@@ -662,8 +662,8 @@ define i32 @test_cttz_i32(i32 %a0, i32 *%a1) {
;
; BTVER2-LABEL: test_cttz_i32:
; BTVER2: # %bb.0:
-; BTVER2-NEXT: tzcntl (%rsi), %ecx # sched: [6:1.00]
-; BTVER2-NEXT: tzcntl %edi, %eax # sched: [3:1.00]
+; BTVER2-NEXT: tzcntl (%rsi), %ecx # sched: [5:1.00]
+; BTVER2-NEXT: tzcntl %edi, %eax # sched: [2:1.00]
; BTVER2-NEXT: orl %ecx, %eax # sched: [1:0.50]
; BTVER2-NEXT: retq # sched: [4:1.00]
;
@@ -712,8 +712,8 @@ define i64 @test_cttz_i64(i64 %a0, i64 *%a1) {
;
; BTVER2-LABEL: test_cttz_i64:
; BTVER2: # %bb.0:
-; BTVER2-NEXT: tzcntq (%rsi), %rcx # sched: [6:1.00]
-; BTVER2-NEXT: tzcntq %rdi, %rax # sched: [3:1.00]
+; BTVER2-NEXT: tzcntq (%rsi), %rcx # sched: [5:1.00]
+; BTVER2-NEXT: tzcntq %rdi, %rax # sched: [2:1.00]
; BTVER2-NEXT: orq %rcx, %rax # sched: [1:0.50]
; BTVER2-NEXT: retq # sched: [4:1.00]
;
diff --git a/llvm/test/CodeGen/X86/lzcnt-schedule.ll b/llvm/test/CodeGen/X86/lzcnt-schedule.ll
index 3420e85d263..062d00ef993 100644
--- a/llvm/test/CodeGen/X86/lzcnt-schedule.ll
+++ b/llvm/test/CodeGen/X86/lzcnt-schedule.ll
@@ -42,8 +42,8 @@ define i16 @test_ctlz_i16(i16 zeroext %a0, i16 *%a1) {
;
; BTVER2-LABEL: test_ctlz_i16:
; BTVER2: # %bb.0:
-; BTVER2-NEXT: lzcntw (%rsi), %cx # sched: [6:1.00]
-; BTVER2-NEXT: lzcntw %di, %ax # sched: [3:1.00]
+; BTVER2-NEXT: lzcntw (%rsi), %cx # sched: [4:1.00]
+; BTVER2-NEXT: lzcntw %di, %ax # sched: [1:0.50]
; BTVER2-NEXT: orl %ecx, %eax # sched: [1:0.50]
; BTVER2-NEXT: # kill: def $ax killed $ax killed $eax
; BTVER2-NEXT: retq # sched: [4:1.00]
@@ -94,8 +94,8 @@ define i32 @test_ctlz_i32(i32 %a0, i32 *%a1) {
;
; BTVER2-LABEL: test_ctlz_i32:
; BTVER2: # %bb.0:
-; BTVER2-NEXT: lzcntl (%rsi), %ecx # sched: [6:1.00]
-; BTVER2-NEXT: lzcntl %edi, %eax # sched: [3:1.00]
+; BTVER2-NEXT: lzcntl (%rsi), %ecx # sched: [4:1.00]
+; BTVER2-NEXT: lzcntl %edi, %eax # sched: [1:0.50]
; BTVER2-NEXT: orl %ecx, %eax # sched: [1:0.50]
; BTVER2-NEXT: retq # sched: [4:1.00]
;
@@ -144,8 +144,8 @@ define i64 @test_ctlz_i64(i64 %a0, i64 *%a1) {
;
; BTVER2-LABEL: test_ctlz_i64:
; BTVER2: # %bb.0:
-; BTVER2-NEXT: lzcntq (%rsi), %rcx # sched: [6:1.00]
-; BTVER2-NEXT: lzcntq %rdi, %rax # sched: [3:1.00]
+; BTVER2-NEXT: lzcntq (%rsi), %rcx # sched: [4:1.00]
+; BTVER2-NEXT: lzcntq %rdi, %rax # sched: [1:0.50]
; BTVER2-NEXT: orq %rcx, %rax # sched: [1:0.50]
; BTVER2-NEXT: retq # sched: [4:1.00]
;
diff --git a/llvm/test/CodeGen/X86/popcnt-schedule.ll b/llvm/test/CodeGen/X86/popcnt-schedule.ll
index a5cdfca7af7..f603e7c16b1 100644
--- a/llvm/test/CodeGen/X86/popcnt-schedule.ll
+++ b/llvm/test/CodeGen/X86/popcnt-schedule.ll
@@ -62,8 +62,8 @@ define i16 @test_ctpop_i16(i16 zeroext %a0, i16 *%a1) {
;
; BTVER2-LABEL: test_ctpop_i16:
; BTVER2: # %bb.0:
-; BTVER2-NEXT: popcntw (%rsi), %cx # sched: [8:1.00]
-; BTVER2-NEXT: popcntw %di, %ax # sched: [3:1.00]
+; BTVER2-NEXT: popcntw (%rsi), %cx # sched: [4:1.00]
+; BTVER2-NEXT: popcntw %di, %ax # sched: [1:0.50]
; BTVER2-NEXT: orl %ecx, %eax # sched: [1:0.50]
; BTVER2-NEXT: # kill: def $ax killed $ax killed $eax
; BTVER2-NEXT: retq # sched: [4:1.00]
@@ -128,8 +128,8 @@ define i32 @test_ctpop_i32(i32 %a0, i32 *%a1) {
;
; BTVER2-LABEL: test_ctpop_i32:
; BTVER2: # %bb.0:
-; BTVER2-NEXT: popcntl (%rsi), %ecx # sched: [8:1.00]
-; BTVER2-NEXT: popcntl %edi, %eax # sched: [3:1.00]
+; BTVER2-NEXT: popcntl (%rsi), %ecx # sched: [4:1.00]
+; BTVER2-NEXT: popcntl %edi, %eax # sched: [1:0.50]
; BTVER2-NEXT: orl %ecx, %eax # sched: [1:0.50]
; BTVER2-NEXT: retq # sched: [4:1.00]
;
@@ -192,8 +192,8 @@ define i64 @test_ctpop_i64(i64 %a0, i64 *%a1) {
;
; BTVER2-LABEL: test_ctpop_i64:
; BTVER2: # %bb.0:
-; BTVER2-NEXT: popcntq (%rsi), %rcx # sched: [8:1.00]
-; BTVER2-NEXT: popcntq %rdi, %rax # sched: [3:1.00]
+; BTVER2-NEXT: popcntq (%rsi), %rcx # sched: [4:1.00]
+; BTVER2-NEXT: popcntq %rdi, %rax # sched: [1:0.50]
; BTVER2-NEXT: orq %rcx, %rax # sched: [1:0.50]
; BTVER2-NEXT: retq # sched: [4:1.00]
;
OpenPOWER on IntegriCloud