summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/avx2-schedule.ll
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-04-11 13:49:19 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-04-11 13:49:19 +0000
commit89c8a10f7c2e76d230fda7dd1ef0daa632555fd2 (patch)
treef954f461330af1e45e7dfb51fc9d73a371011afc /llvm/test/CodeGen/X86/avx2-schedule.ll
parent7bcb5720fd38b882f514b428d36fdbbef417ab45 (diff)
downloadbcm5719-llvm-89c8a10f7c2e76d230fda7dd1ef0daa632555fd2.tar.gz
bcm5719-llvm-89c8a10f7c2e76d230fda7dd1ef0daa632555fd2.zip
[X86] Add variable shuffle schedule classes
Split variable index shuffles from immediate index shuffles WriteFVarShuffle - variable 'in-lane' shuffles (VPERMILPS/VPERMIL2PS etc.) WriteVarShuffle - variable 'in-lane' shuffles (PSHUFB/VPPERM etc.) WriteFVarShuffle256 - variable 'cross-lane' shuffles (VPERMPS etc.) WriteVarShuffle256 - variable 'cross-lane' shuffles (VPERMD etc.) Differential Revision: https://reviews.llvm.org/D45404 llvm-svn: 329806
Diffstat (limited to 'llvm/test/CodeGen/X86/avx2-schedule.ll')
-rw-r--r--llvm/test/CodeGen/X86/avx2-schedule.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/avx2-schedule.ll b/llvm/test/CodeGen/X86/avx2-schedule.ll
index 0612c01f0af..87971fc71e4 100644
--- a/llvm/test/CodeGen/X86/avx2-schedule.ll
+++ b/llvm/test/CodeGen/X86/avx2-schedule.ll
@@ -5131,8 +5131,8 @@ declare <4 x i64> @llvm.x86.avx2.psad.bw(<32 x i8>, <32 x i8>) nounwind readnone
define <32 x i8> @test_pshufb(<32 x i8> %a0, <32 x i8> %a1, <32 x i8> *%a2) {
; GENERIC-LABEL: test_pshufb:
; GENERIC: # %bb.0:
-; GENERIC-NEXT: vpshufb %ymm1, %ymm0, %ymm0 # sched: [1:1.00]
-; GENERIC-NEXT: vpshufb (%rdi), %ymm0, %ymm0 # sched: [6:1.00]
+; GENERIC-NEXT: vpshufb %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
+; GENERIC-NEXT: vpshufb (%rdi), %ymm0, %ymm0 # sched: [6:0.50]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
; HASWELL-LABEL: test_pshufb:
OpenPOWER on IntegriCloud