diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/ssse3-schedule.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/ssse3-schedule.ll | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/llvm/test/CodeGen/X86/ssse3-schedule.ll b/llvm/test/CodeGen/X86/ssse3-schedule.ll index 2421e583944..e2e10bd964f 100644 --- a/llvm/test/CodeGen/X86/ssse3-schedule.ll +++ b/llvm/test/CodeGen/X86/ssse3-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=+ssse3 | FileCheck %s --check-prefix=CHECK --check-prefix=GENERIC +; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=x86-64 -mattr=+ssse3 | FileCheck %s --check-prefix=CHECK --check-prefix=GENERIC ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=atom | FileCheck %s --check-prefix=CHECK --check-prefix=ATOM ; 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=sandybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY @@ -12,10 +12,10 @@ define <16 x i8> @test_pabsb(<16 x i8> %a0, <16 x i8> *%a1) { ; GENERIC-LABEL: test_pabsb: ; GENERIC: # BB#0: -; GENERIC-NEXT: pabsb %xmm0, %xmm1 -; GENERIC-NEXT: pabsb (%rdi), %xmm0 -; GENERIC-NEXT: por %xmm1, %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: pabsb %xmm0, %xmm1 # sched: [1:0.50] +; GENERIC-NEXT: pabsb (%rdi), %xmm0 # sched: [7:0.50] +; GENERIC-NEXT: por %xmm1, %xmm0 # sched: [1:0.33] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_pabsb: ; ATOM: # BB#0: @@ -70,10 +70,10 @@ declare <16 x i8> @llvm.x86.ssse3.pabs.b.128(<16 x i8>) nounwind readnone define <4 x i32> @test_pabsd(<4 x i32> %a0, <4 x i32> *%a1) { ; GENERIC-LABEL: test_pabsd: ; GENERIC: # BB#0: -; GENERIC-NEXT: pabsd %xmm0, %xmm1 -; GENERIC-NEXT: pabsd (%rdi), %xmm0 -; GENERIC-NEXT: por %xmm1, %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: pabsd %xmm0, %xmm1 # sched: [1:0.50] +; GENERIC-NEXT: pabsd (%rdi), %xmm0 # sched: [7:0.50] +; GENERIC-NEXT: por %xmm1, %xmm0 # sched: [1:0.33] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_pabsd: ; ATOM: # BB#0: @@ -128,8 +128,8 @@ declare <4 x i32> @llvm.x86.ssse3.pabs.d.128(<4 x i32>) nounwind readnone define <8 x i16> @test_pabsw(<8 x i16> %a0, <8 x i16> *%a1) { ; GENERIC-LABEL: test_pabsw: ; GENERIC: # BB#0: -; GENERIC-NEXT: pabsw %xmm0, %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: pabsw %xmm0, %xmm0 # sched: [1:0.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_pabsw: ; ATOM: # BB#0: @@ -177,10 +177,10 @@ declare <8 x i16> @llvm.x86.ssse3.pabs.w.128(<8 x i16>) nounwind readnone define <8 x i16> @test_palignr(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) { ; GENERIC-LABEL: test_palignr: ; GENERIC: # BB#0: -; GENERIC-NEXT: palignr {{.*#+}} xmm1 = xmm0[6,7,8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5] -; GENERIC-NEXT: palignr {{.*#+}} xmm1 = mem[14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13] -; GENERIC-NEXT: movdqa %xmm1, %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: palignr {{.*#+}} xmm1 = xmm0[6,7,8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5] sched: [1:0.50] +; GENERIC-NEXT: palignr {{.*#+}} xmm1 = mem[14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10,11,12,13] sched: [7:0.50] +; GENERIC-NEXT: movdqa %xmm1, %xmm0 # sched: [1:0.33] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_palignr: ; ATOM: # BB#0: @@ -230,9 +230,9 @@ define <8 x i16> @test_palignr(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) { define <4 x i32> @test_phaddd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) { ; GENERIC-LABEL: test_phaddd: ; GENERIC: # BB#0: -; GENERIC-NEXT: phaddd %xmm1, %xmm0 -; GENERIC-NEXT: phaddd (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: phaddd %xmm1, %xmm0 # sched: [3:1.50] +; GENERIC-NEXT: phaddd (%rdi), %xmm0 # sched: [9:1.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_phaddd: ; ATOM: # BB#0: @@ -279,9 +279,9 @@ declare <4 x i32> @llvm.x86.ssse3.phadd.d.128(<4 x i32>, <4 x i32>) nounwind rea define <8 x i16> @test_phaddsw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) { ; GENERIC-LABEL: test_phaddsw: ; GENERIC: # BB#0: -; GENERIC-NEXT: phaddsw %xmm1, %xmm0 -; GENERIC-NEXT: phaddsw (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: phaddsw %xmm1, %xmm0 # sched: [3:1.50] +; GENERIC-NEXT: phaddsw (%rdi), %xmm0 # sched: [9:1.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_phaddsw: ; ATOM: # BB#0: @@ -336,9 +336,9 @@ declare <8 x i16> @llvm.x86.ssse3.phadd.sw.128(<8 x i16>, <8 x i16>) nounwind re define <8 x i16> @test_phaddw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) { ; GENERIC-LABEL: test_phaddw: ; GENERIC: # BB#0: -; GENERIC-NEXT: phaddw %xmm1, %xmm0 -; GENERIC-NEXT: phaddw (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: phaddw %xmm1, %xmm0 # sched: [3:1.50] +; GENERIC-NEXT: phaddw (%rdi), %xmm0 # sched: [9:1.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_phaddw: ; ATOM: # BB#0: @@ -385,9 +385,9 @@ declare <8 x i16> @llvm.x86.ssse3.phadd.w.128(<8 x i16>, <8 x i16>) nounwind rea define <4 x i32> @test_phsubd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) { ; GENERIC-LABEL: test_phsubd: ; GENERIC: # BB#0: -; GENERIC-NEXT: phsubd %xmm1, %xmm0 -; GENERIC-NEXT: phsubd (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: phsubd %xmm1, %xmm0 # sched: [3:1.50] +; GENERIC-NEXT: phsubd (%rdi), %xmm0 # sched: [9:1.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_phsubd: ; ATOM: # BB#0: @@ -434,9 +434,9 @@ declare <4 x i32> @llvm.x86.ssse3.phsub.d.128(<4 x i32>, <4 x i32>) nounwind rea define <8 x i16> @test_phsubsw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) { ; GENERIC-LABEL: test_phsubsw: ; GENERIC: # BB#0: -; GENERIC-NEXT: phsubsw %xmm1, %xmm0 -; GENERIC-NEXT: phsubsw (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: phsubsw %xmm1, %xmm0 # sched: [3:1.50] +; GENERIC-NEXT: phsubsw (%rdi), %xmm0 # sched: [9:1.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_phsubsw: ; ATOM: # BB#0: @@ -491,9 +491,9 @@ declare <8 x i16> @llvm.x86.ssse3.phsub.sw.128(<8 x i16>, <8 x i16>) nounwind re define <8 x i16> @test_phsubw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) { ; GENERIC-LABEL: test_phsubw: ; GENERIC: # BB#0: -; GENERIC-NEXT: phsubw %xmm1, %xmm0 -; GENERIC-NEXT: phsubw (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: phsubw %xmm1, %xmm0 # sched: [3:1.50] +; GENERIC-NEXT: phsubw (%rdi), %xmm0 # sched: [9:1.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_phsubw: ; ATOM: # BB#0: @@ -540,9 +540,9 @@ declare <8 x i16> @llvm.x86.ssse3.phsub.w.128(<8 x i16>, <8 x i16>) nounwind rea define <8 x i16> @test_pmaddubsw(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) { ; GENERIC-LABEL: test_pmaddubsw: ; GENERIC: # BB#0: -; GENERIC-NEXT: pmaddubsw %xmm1, %xmm0 -; GENERIC-NEXT: pmaddubsw (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: pmaddubsw %xmm1, %xmm0 # sched: [3:1.00] +; GENERIC-NEXT: pmaddubsw (%rdi), %xmm0 # sched: [9:1.00] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_pmaddubsw: ; ATOM: # BB#0: @@ -590,8 +590,8 @@ declare <8 x i16> @llvm.x86.ssse3.pmadd.ub.sw.128(<16 x i8>, <16 x i8>) nounwind define <8 x i16> @test_pmulhrsw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) { ; GENERIC-LABEL: test_pmulhrsw: ; GENERIC: # BB#0: -; GENERIC-NEXT: pmulhrsw %xmm1, %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: pmulhrsw %xmm1, %xmm0 # sched: [3:1.00] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_pmulhrsw: ; ATOM: # BB#0: @@ -632,9 +632,9 @@ declare <8 x i16> @llvm.x86.ssse3.pmul.hr.sw.128(<8 x i16>, <8 x i16>) nounwind define <16 x i8> @test_pshufb(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) { ; GENERIC-LABEL: test_pshufb: ; GENERIC: # BB#0: -; GENERIC-NEXT: pshufb %xmm1, %xmm0 -; GENERIC-NEXT: pshufb (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: pshufb %xmm1, %xmm0 # sched: [1:0.50] +; GENERIC-NEXT: pshufb (%rdi), %xmm0 # sched: [7:0.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_pshufb: ; ATOM: # BB#0: @@ -681,9 +681,9 @@ declare <16 x i8> @llvm.x86.ssse3.pshuf.b.128(<16 x i8>, <16 x i8>) nounwind rea define <16 x i8> @test_psignb(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) { ; GENERIC-LABEL: test_psignb: ; GENERIC: # BB#0: -; GENERIC-NEXT: psignb %xmm1, %xmm0 -; GENERIC-NEXT: psignb (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: psignb %xmm1, %xmm0 # sched: [1:0.50] +; GENERIC-NEXT: psignb (%rdi), %xmm0 # sched: [7:0.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_psignb: ; ATOM: # BB#0: @@ -738,9 +738,9 @@ declare <16 x i8> @llvm.x86.ssse3.psign.b.128(<16 x i8>, <16 x i8>) nounwind rea define <4 x i32> @test_psignd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) { ; GENERIC-LABEL: test_psignd: ; GENERIC: # BB#0: -; GENERIC-NEXT: psignd %xmm1, %xmm0 -; GENERIC-NEXT: psignd (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: psignd %xmm1, %xmm0 # sched: [1:0.50] +; GENERIC-NEXT: psignd (%rdi), %xmm0 # sched: [7:0.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_psignd: ; ATOM: # BB#0: @@ -795,9 +795,9 @@ declare <4 x i32> @llvm.x86.ssse3.psign.d.128(<4 x i32>, <4 x i32>) nounwind rea define <8 x i16> @test_psignw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) { ; GENERIC-LABEL: test_psignw: ; GENERIC: # BB#0: -; GENERIC-NEXT: psignw %xmm1, %xmm0 -; GENERIC-NEXT: psignw (%rdi), %xmm0 -; GENERIC-NEXT: retq +; GENERIC-NEXT: psignw %xmm1, %xmm0 # sched: [1:0.50] +; GENERIC-NEXT: psignw (%rdi), %xmm0 # sched: [7:0.50] +; GENERIC-NEXT: retq # sched: [1:1.00] ; ; ATOM-LABEL: test_psignw: ; ATOM: # BB#0: |