diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/popcnt-schedule.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/popcnt-schedule.ll | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/llvm/test/CodeGen/X86/popcnt-schedule.ll b/llvm/test/CodeGen/X86/popcnt-schedule.ll index c0d11280fc1..4f0f21b711d 100644 --- a/llvm/test/CodeGen/X86/popcnt-schedule.ll +++ b/llvm/test/CodeGen/X86/popcnt-schedule.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mattr=+popcnt | FileCheck %s --check-prefix=CHECK --check-prefix=GENERIC +; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=x86-64 -mattr=+popcnt | FileCheck %s --check-prefix=CHECK --check-prefix=GENERIC ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=slm | FileCheck %s --check-prefix=CHECK --check-prefix=SLM ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=goldmont | FileCheck %s --check-prefix=CHECK --check-prefix=SLM ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=sandybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY @@ -13,11 +13,11 @@ define i16 @test_ctpop_i16(i16 zeroext %a0, i16 *%a1) { ; GENERIC-LABEL: test_ctpop_i16: ; GENERIC: # BB#0: -; GENERIC-NEXT: popcntw (%rsi), %cx -; GENERIC-NEXT: popcntw %di, %ax -; GENERIC-NEXT: orl %ecx, %eax +; GENERIC-NEXT: popcntw (%rsi), %cx # sched: [7:1.00] +; GENERIC-NEXT: popcntw %di, %ax # sched: [3:1.00] +; GENERIC-NEXT: orl %ecx, %eax # sched: [1:0.33] ; GENERIC-NEXT: # kill: %AX<def> %AX<kill> %EAX<kill> -; GENERIC-NEXT: retq +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; SLM-LABEL: test_ctpop_i16: ; SLM: # BB#0: @@ -69,10 +69,10 @@ declare i16 @llvm.ctpop.i16(i16) define i32 @test_ctpop_i32(i32 %a0, i32 *%a1) { ; GENERIC-LABEL: test_ctpop_i32: ; GENERIC: # BB#0: -; GENERIC-NEXT: popcntl (%rsi), %ecx -; GENERIC-NEXT: popcntl %edi, %eax -; GENERIC-NEXT: orl %ecx, %eax -; GENERIC-NEXT: retq +; GENERIC-NEXT: popcntl (%rsi), %ecx # sched: [7:1.00] +; GENERIC-NEXT: popcntl %edi, %eax # sched: [3:1.00] +; GENERIC-NEXT: orl %ecx, %eax # sched: [1:0.33] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; SLM-LABEL: test_ctpop_i32: ; SLM: # BB#0: @@ -119,10 +119,10 @@ declare i32 @llvm.ctpop.i32(i32) define i64 @test_ctpop_i64(i64 %a0, i64 *%a1) { ; GENERIC-LABEL: test_ctpop_i64: ; GENERIC: # BB#0: -; GENERIC-NEXT: popcntq (%rsi), %rcx -; GENERIC-NEXT: popcntq %rdi, %rax -; GENERIC-NEXT: orq %rcx, %rax -; GENERIC-NEXT: retq +; GENERIC-NEXT: popcntq (%rsi), %rcx # sched: [9:1.00] +; GENERIC-NEXT: popcntq %rdi, %rax # sched: [3:1.00] +; GENERIC-NEXT: orq %rcx, %rax # sched: [1:0.33] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; SLM-LABEL: test_ctpop_i64: ; SLM: # BB#0: |

