forked from OSchip/llvm-project
[X86][Skylake] Fixing duplicated prefixes in the run command of Code Gen regression tests
NFC. Replaced duplicated HASWELL prefixes in run commands in the X86 Code Gen regression tests by the SKYLAKE prefix when the -mcpu is set to skylake. The fix is needed in preparation of an upcoming patch containing the Skylake scheduling info. Reviewers: zvi, RKSimon, aymanmus, igorb Differential Revision: https://reviews.llvm.org/D37258 llvm-svn: 312103
This commit is contained in:
parent
a88abd58b4
commit
767d98bad8
|
@ -5,7 +5,7 @@
|
|||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=sandybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=ivybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=haswell | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=SKYLAKE
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=btver2 | FileCheck %s --check-prefix=CHECK --check-prefix=BTVER2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=znver1 | FileCheck %s --check-prefix=CHECK --check-prefix=ZNVER1
|
||||
|
||||
|
@ -34,6 +34,12 @@ define <2 x i64> @test_aesdec(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vaesdec (%rdi), %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_aesdec:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vaesdec %xmm1, %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: vaesdec (%rdi), %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_aesdec:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vaesdec %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -77,6 +83,12 @@ define <2 x i64> @test_aesdeclast(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> *%a2)
|
|||
; HASWELL-NEXT: vaesdeclast (%rdi), %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_aesdeclast:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vaesdeclast %xmm1, %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: vaesdeclast (%rdi), %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_aesdeclast:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vaesdeclast %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -120,6 +132,12 @@ define <2 x i64> @test_aesenc(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vaesenc (%rdi), %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_aesenc:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vaesenc %xmm1, %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: vaesenc (%rdi), %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_aesenc:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vaesenc %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -163,6 +181,12 @@ define <2 x i64> @test_aesenclast(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> *%a2)
|
|||
; HASWELL-NEXT: vaesenclast (%rdi), %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_aesenclast:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vaesenclast %xmm1, %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: vaesenclast (%rdi), %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_aesenclast:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vaesenclast %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -210,6 +234,13 @@ define <2 x i64> @test_aesimc(<2 x i64> %a0, <2 x i64> *%a1) {
|
|||
; HASWELL-NEXT: vpor %xmm1, %xmm0, %xmm0 # sched: [1:0.33]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_aesimc:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vaesimc %xmm0, %xmm0 # sched: [14:2.00]
|
||||
; SKYLAKE-NEXT: vaesimc (%rdi), %xmm1 # sched: [14:2.00]
|
||||
; SKYLAKE-NEXT: vpor %xmm1, %xmm0, %xmm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_aesimc:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vaesimc (%rdi), %xmm1 # sched: [7:1.00]
|
||||
|
@ -260,6 +291,13 @@ define <2 x i64> @test_aeskeygenassist(<2 x i64> %a0, <2 x i64> *%a1) {
|
|||
; HASWELL-NEXT: vpor %xmm1, %xmm0, %xmm0 # sched: [1:0.33]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_aeskeygenassist:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vaeskeygenassist $7, %xmm0, %xmm0 # sched: [29:7.00]
|
||||
; SKYLAKE-NEXT: vaeskeygenassist $7, (%rdi), %xmm1 # sched: [28:7.00]
|
||||
; SKYLAKE-NEXT: vpor %xmm1, %xmm0, %xmm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_aeskeygenassist:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vaeskeygenassist $7, (%rdi), %xmm1 # sched: [7:1.00]
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=x86-64 -mattr=+avx2 | FileCheck %s --check-prefix=CHECK --check-prefix=GENERIC
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=haswell | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=SKYLAKE
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=znver1 | FileCheck %s --check-prefix=CHECK --check-prefix=ZNVER1
|
||||
|
||||
define <32 x i8> @test_pabsb(<32 x i8> %a0, <32 x i8> *%a1) {
|
||||
|
@ -19,6 +19,13 @@ define <32 x i8> @test_pabsb(<32 x i8> %a0, <32 x i8> *%a1) {
|
|||
; HASWELL-NEXT: vpor %ymm1, %ymm0, %ymm0 # sched: [1:0.33]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pabsb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpabsb %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpabsb (%rdi), %ymm1 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpor %ymm1, %ymm0, %ymm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_pabsb:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpabsb (%rdi), %ymm1 # sched: [8:0.50]
|
||||
|
@ -48,6 +55,13 @@ define <8 x i32> @test_pabsd(<8 x i32> %a0, <8 x i32> *%a1) {
|
|||
; HASWELL-NEXT: vpor %ymm1, %ymm0, %ymm0 # sched: [1:0.33]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pabsd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpabsd %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpabsd (%rdi), %ymm1 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpor %ymm1, %ymm0, %ymm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_pabsd:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpabsd (%rdi), %ymm1 # sched: [8:0.50]
|
||||
|
@ -77,6 +91,13 @@ define <16 x i16> @test_pabsw(<16 x i16> %a0, <16 x i16> *%a1) {
|
|||
; HASWELL-NEXT: vpor %ymm1, %ymm0, %ymm0 # sched: [1:0.33]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pabsw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpabsw %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpabsw (%rdi), %ymm1 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpor %ymm1, %ymm0, %ymm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_pabsw:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpabsw (%rdi), %ymm1 # sched: [8:0.50]
|
||||
|
@ -104,6 +125,12 @@ define <32 x i8> @test_paddb(<32 x i8> %a0, <32 x i8> %a1, <32 x i8> *%a2) {
|
|||
; HASWELL-NEXT: vpaddb (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_paddb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpaddb %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpaddb (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_paddb:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpaddb %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -128,6 +155,12 @@ define <8 x i32> @test_paddd(<8 x i32> %a0, <8 x i32> %a1, <8 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpaddd (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_paddd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpaddd %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpaddd (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_paddd:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpaddd %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -152,6 +185,12 @@ define <4 x i64> @test_paddq(<4 x i64> %a0, <4 x i64> %a1, <4 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vpaddq (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_paddq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpaddq %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpaddq (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_paddq:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpaddq %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -176,6 +215,12 @@ define <16 x i16> @test_paddw(<16 x i16> %a0, <16 x i16> %a1, <16 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vpaddw (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_paddw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpaddw %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpaddw (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_paddw:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpaddw %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -202,6 +247,13 @@ define <4 x i64> @test_pand(<4 x i64> %a0, <4 x i64> %a1, <4 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vpaddq %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pand:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpand %ymm1, %ymm0, %ymm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: vpand (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpaddq %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_pand:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpand %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -230,6 +282,13 @@ define <4 x i64> @test_pandn(<4 x i64> %a0, <4 x i64> %a1, <4 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vpaddq %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pandn:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpandn %ymm1, %ymm0, %ymm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: vpandn (%rdi), %ymm0, %ymm1 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpaddq %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_pandn:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpandn %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -258,6 +317,12 @@ define <8 x i32> @test_pmulld(<8 x i32> %a0, <8 x i32> %a1, <8 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpmulld (%rdi), %ymm0, %ymm0 # sched: [10:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmulld:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmulld %ymm1, %ymm0, %ymm0 # sched: [10:2.00]
|
||||
; SKYLAKE-NEXT: vpmulld (%rdi), %ymm0, %ymm0 # sched: [10:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_pmulld:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpmulld %ymm1, %ymm0, %ymm0 # sched: [4:1.00]
|
||||
|
@ -282,6 +347,12 @@ define <16 x i16> @test_pmullw(<16 x i16> %a0, <16 x i16> %a1, <16 x i16> *%a2)
|
|||
; HASWELL-NEXT: vpmullw (%rdi), %ymm0, %ymm0 # sched: [5:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmullw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmullw %ymm1, %ymm0, %ymm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vpmullw (%rdi), %ymm0, %ymm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_pmullw:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpmullw %ymm1, %ymm0, %ymm0 # sched: [4:1.00]
|
||||
|
@ -308,6 +379,13 @@ define <4 x i64> @test_por(<4 x i64> %a0, <4 x i64> %a1, <4 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vpaddq %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_por:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpor %ymm1, %ymm0, %ymm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: vpor (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpaddq %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_por:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpor %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -334,6 +412,12 @@ define <32 x i8> @test_psubb(<32 x i8> %a0, <32 x i8> %a1, <32 x i8> *%a2) {
|
|||
; HASWELL-NEXT: vpsubb (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_psubb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpsubb %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpsubb (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_psubb:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpsubb %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -358,6 +442,12 @@ define <8 x i32> @test_psubd(<8 x i32> %a0, <8 x i32> %a1, <8 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpsubd (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_psubd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpsubd %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpsubd (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_psubd:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpsubd %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -382,6 +472,12 @@ define <4 x i64> @test_psubq(<4 x i64> %a0, <4 x i64> %a1, <4 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vpsubq (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_psubq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpsubq %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpsubq (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_psubq:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpsubq %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -406,6 +502,12 @@ define <16 x i16> @test_psubw(<16 x i16> %a0, <16 x i16> %a1, <16 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vpsubw (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_psubw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpsubw %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpsubw (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_psubw:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpsubw %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
@ -432,6 +534,13 @@ define <4 x i64> @test_pxor(<4 x i64> %a0, <4 x i64> %a1, <4 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vpaddq %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pxor:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpxor %ymm1, %ymm0, %ymm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: vpxor (%rdi), %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpaddq %ymm1, %ymm0, %ymm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; ZNVER1-LABEL: test_pxor:
|
||||
; ZNVER1: # BB#0:
|
||||
; ZNVER1-NEXT: vpxor %ymm1, %ymm0, %ymm0 # sched: [1:0.25]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=x86-64 -mattr=+f16c | FileCheck %s --check-prefix=CHECK --check-prefix=GENERIC
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=ivybridge | FileCheck %s --check-prefix=CHECK --check-prefix=IVY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=haswell | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=SKYLAKE
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=btver2 | FileCheck %s --check-prefix=CHECK --check-prefix=BTVER2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=znver1 | FileCheck %s --check-prefix=CHECK --check-prefix=ZNVER1
|
||||
|
||||
|
@ -28,6 +28,13 @@ define <4 x float> @test_vcvtph2ps_128(<8 x i16> %a0, <8 x i16> *%a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm0, %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_vcvtph2ps_128:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcvtph2ps (%rdi), %xmm1 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vcvtph2ps %xmm0, %xmm0 # sched: [2:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm0, %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_vcvtph2ps_128:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcvtph2ps (%rdi), %xmm1 # sched: [8:1.00]
|
||||
|
@ -71,6 +78,13 @@ define <8 x float> @test_vcvtph2ps_256(<8 x i16> %a0, <8 x i16> *%a1) {
|
|||
; HASWELL-NEXT: vaddps %ymm0, %ymm1, %ymm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_vcvtph2ps_256:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcvtph2ps (%rdi), %ymm1 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vcvtph2ps %xmm0, %ymm0 # sched: [2:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %ymm0, %ymm1, %ymm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_vcvtph2ps_256:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcvtph2ps (%rdi), %ymm1 # sched: [8:1.00]
|
||||
|
@ -111,6 +125,12 @@ define <8 x i16> @test_vcvtps2ph_128(<4 x float> %a0, <4 x float> %a1, <4 x i16>
|
|||
; HASWELL-NEXT: vcvtps2ph $0, %xmm1, (%rdi) # sched: [4:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_vcvtps2ph_128:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcvtps2ph $0, %xmm0, %xmm0 # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: vcvtps2ph $0, %xmm1, (%rdi) # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_vcvtps2ph_128:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcvtps2ph $0, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -152,6 +172,13 @@ define <8 x i16> @test_vcvtps2ph_256(<8 x float> %a0, <8 x float> %a1, <8 x i16>
|
|||
; HASWELL-NEXT: vzeroupper # sched: [4:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_vcvtps2ph_256:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcvtps2ph $0, %ymm0, %xmm0 # sched: [6:1.00]
|
||||
; SKYLAKE-NEXT: vcvtps2ph $0, %ymm1, (%rdi) # sched: [6:1.00]
|
||||
; SKYLAKE-NEXT: vzeroupper # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_vcvtps2ph_256:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcvtps2ph $0, %ymm0, %xmm0 # sched: [3:1.00]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=sandybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=ivybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=haswell | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=SKYLAKE
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=btver2 | FileCheck %s --check-prefix=CHECK --check-prefix=BTVER2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=znver1 | FileCheck %s --check-prefix=CHECK --check-prefix=ZNVER1
|
||||
|
||||
|
@ -40,6 +40,12 @@ define <4 x float> @test_addps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vaddps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_addps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vaddps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_addps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -88,6 +94,12 @@ define float @test_addss(float %a0, float %a1, float *%a2) {
|
|||
; HASWELL-NEXT: vaddss (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_addss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vaddss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vaddss (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_addss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vaddss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -140,6 +152,12 @@ define <4 x float> @test_andps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vandps (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_andps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vandps %xmm1, %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vandps (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_andps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vandps %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -196,6 +214,12 @@ define <4 x float> @test_andnotps(<4 x float> %a0, <4 x float> %a1, <4 x float>
|
|||
; HASWELL-NEXT: vandnps (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_andnotps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vandnps %xmm1, %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vandnps (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_andnotps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vandnps %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -255,6 +279,13 @@ define <4 x float> @test_cmpps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vorps %xmm0, %xmm1, %xmm0 # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_cmpps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcmpeqps %xmm1, %xmm0, %xmm1 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vcmpeqps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vorps %xmm0, %xmm1, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_cmpps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcmpeqps %xmm1, %xmm0, %xmm1 # sched: [3:1.00]
|
||||
|
@ -308,6 +339,12 @@ define float @test_cmpss(float %a0, float %a1, float *%a2) {
|
|||
; HASWELL-NEXT: vcmpeqss (%rdi), %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_cmpss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcmpeqss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vcmpeqss (%rdi), %xmm0, %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_cmpss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcmpeqss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -401,6 +438,20 @@ define i32 @test_comiss(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a2) {
|
|||
; HASWELL-NEXT: movzbl %dl, %eax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_comiss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcomiss %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: setnp %al # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: sete %cl # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: andb %al, %cl # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: vcomiss (%rdi), %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: setnp %al # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: sete %dl # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: andb %al, %dl # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: orb %cl, %dl # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: movzbl %dl, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_comiss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcomiss %xmm1, %xmm0 # sched: [3:1.00]
|
||||
|
@ -472,6 +523,13 @@ define float @test_cvtsi2ss(i32 %a0, i32 *%a1) {
|
|||
; HASWELL-NEXT: vaddss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_cvtsi2ss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcvtsi2ssl %edi, %xmm0, %xmm0 # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: vcvtsi2ssl (%rsi), %xmm1, %xmm1 # sched: [8:1.00]
|
||||
; SKYLAKE-NEXT: vaddss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_cvtsi2ss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcvtsi2ssl %edi, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -528,6 +586,13 @@ define float @test_cvtsi2ssq(i64 %a0, i64 *%a1) {
|
|||
; HASWELL-NEXT: vaddss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_cvtsi2ssq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcvtsi2ssq %rdi, %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; SKYLAKE-NEXT: vcvtsi2ssq (%rsi), %xmm1, %xmm1 # sched: [8:1.00]
|
||||
; SKYLAKE-NEXT: vaddss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_cvtsi2ssq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcvtsi2ssq %rdi, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -584,6 +649,13 @@ define i32 @test_cvtss2si(float %a0, float *%a1) {
|
|||
; HASWELL-NEXT: addl %ecx, %eax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_cvtss2si:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcvtss2si %xmm0, %ecx # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: vcvtss2si (%rdi), %eax # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: addl %ecx, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_cvtss2si:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcvtss2si (%rdi), %eax # sched: [8:1.00]
|
||||
|
@ -643,6 +715,13 @@ define i64 @test_cvtss2siq(float %a0, float *%a1) {
|
|||
; HASWELL-NEXT: addq %rcx, %rax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_cvtss2siq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcvtss2si %xmm0, %rcx # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: vcvtss2si (%rdi), %rax # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: addq %rcx, %rax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_cvtss2siq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcvtss2si (%rdi), %rax # sched: [8:1.00]
|
||||
|
@ -702,6 +781,13 @@ define i32 @test_cvttss2si(float %a0, float *%a1) {
|
|||
; HASWELL-NEXT: addl %ecx, %eax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_cvttss2si:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcvttss2si %xmm0, %ecx # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: vcvttss2si (%rdi), %eax # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: addl %ecx, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_cvttss2si:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcvttss2si (%rdi), %eax # sched: [8:1.00]
|
||||
|
@ -758,6 +844,13 @@ define i64 @test_cvttss2siq(float %a0, float *%a1) {
|
|||
; HASWELL-NEXT: addq %rcx, %rax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_cvttss2siq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vcvttss2si %xmm0, %rcx # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: vcvttss2si (%rdi), %rax # sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: addq %rcx, %rax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_cvttss2siq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vcvttss2si (%rdi), %rax # sched: [8:1.00]
|
||||
|
@ -809,6 +902,12 @@ define <4 x float> @test_divps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vdivps (%rdi), %xmm0, %xmm0 # sched: [13:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_divps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vdivps %xmm1, %xmm0, %xmm0 # sched: [13:1.00]
|
||||
; SKYLAKE-NEXT: vdivps (%rdi), %xmm0, %xmm0 # sched: [13:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_divps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vdivps %xmm1, %xmm0, %xmm0 # sched: [19:19.00]
|
||||
|
@ -857,6 +956,12 @@ define float @test_divss(float %a0, float %a1, float *%a2) {
|
|||
; HASWELL-NEXT: vdivss (%rdi), %xmm0, %xmm0 # sched: [13:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_divss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vdivss %xmm1, %xmm0, %xmm0 # sched: [13:1.00]
|
||||
; SKYLAKE-NEXT: vdivss (%rdi), %xmm0, %xmm0 # sched: [13:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_divss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vdivss %xmm1, %xmm0, %xmm0 # sched: [19:19.00]
|
||||
|
@ -905,6 +1010,12 @@ define void @test_ldmxcsr(i32 %a0) {
|
|||
; HASWELL-NEXT: vldmxcsr -{{[0-9]+}}(%rsp) # sched: [2:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_ldmxcsr:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: movl %edi, -{{[0-9]+}}(%rsp) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vldmxcsr -{{[0-9]+}}(%rsp) # sched: [2:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_ldmxcsr:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: movl %edi, -{{[0-9]+}}(%rsp) # sched: [1:1.00]
|
||||
|
@ -955,6 +1066,12 @@ define <4 x float> @test_maxps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vmaxps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_maxps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmaxps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vmaxps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_maxps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmaxps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -1004,6 +1121,12 @@ define <4 x float> @test_maxss(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vmaxss (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_maxss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmaxss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vmaxss (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_maxss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmaxss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -1053,6 +1176,12 @@ define <4 x float> @test_minps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vminps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_minps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vminps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vminps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_minps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vminps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -1102,6 +1231,12 @@ define <4 x float> @test_minss(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vminss (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_minss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vminss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vminss (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_minss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vminss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -1156,6 +1291,13 @@ define void @test_movaps(<4 x float> *%a0, <4 x float> *%a1) {
|
|||
; HASWELL-NEXT: vmovaps %xmm0, (%rsi) # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movaps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovaps (%rdi), %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vaddps %xmm0, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vmovaps %xmm0, (%rsi) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movaps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovaps (%rdi), %xmm0 # sched: [5:1.00]
|
||||
|
@ -1209,6 +1351,11 @@ define <4 x float> @test_movhlps(<4 x float> %a0, <4 x float> %a1) {
|
|||
; HASWELL-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1] sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movhlps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movhlps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1] sched: [1:0.50]
|
||||
|
@ -1262,6 +1409,13 @@ define void @test_movhps(<4 x float> %a0, <4 x float> %a1, x86_mmx *%a2) {
|
|||
; HASWELL-NEXT: vpextrq $1, %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movhps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovhpd {{.*#+}} xmm1 = xmm1[0],mem[0] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vpextrq $1, %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movhps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovhpd {{.*#+}} xmm1 = xmm1[0],mem[0] sched: [6:1.00]
|
||||
|
@ -1318,6 +1472,12 @@ define <4 x float> @test_movlhps(<4 x float> %a0, <4 x float> %a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm0, %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movlhps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vunpcklpd {{.*#+}} xmm0 = xmm0[0],xmm1[0] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm0, %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movlhps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vunpcklpd {{.*#+}} xmm0 = xmm0[0],xmm1[0] sched: [1:0.50]
|
||||
|
@ -1370,6 +1530,13 @@ define void @test_movlps(<4 x float> %a0, <4 x float> %a1, x86_mmx *%a2) {
|
|||
; HASWELL-NEXT: vmovlps %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movlps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovlpd {{.*#+}} xmm1 = mem[0],xmm1[1] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vmovlps %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movlps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovlpd {{.*#+}} xmm1 = mem[0],xmm1[1] sched: [6:1.00]
|
||||
|
@ -1421,6 +1588,11 @@ define i32 @test_movmskps(<4 x float> %a0) {
|
|||
; HASWELL-NEXT: vmovmskps %xmm0, %eax # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movmskps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovmskps %xmm0, %eax # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movmskps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovmskps %xmm0, %eax # sched: [1:0.50]
|
||||
|
@ -1467,6 +1639,11 @@ define void @test_movntps(<4 x float> %a0, <4 x float> *%a1) {
|
|||
; HASWELL-NEXT: vmovntps %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movntps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovntps %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movntps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovntps %xmm0, (%rdi) # sched: [1:1.00]
|
||||
|
@ -1516,6 +1693,13 @@ define void @test_movss_mem(float* %a0, float* %a1) {
|
|||
; HASWELL-NEXT: vmovss %xmm0, (%rsi) # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movss_mem:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovss {{.*#+}} xmm0 = mem[0],zero,zero,zero sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vaddss %xmm0, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vmovss %xmm0, (%rsi) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movss_mem:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovss {{.*#+}} xmm0 = mem[0],zero,zero,zero sched: [5:1.00]
|
||||
|
@ -1567,6 +1751,11 @@ define <4 x float> @test_movss_reg(<4 x float> %a0, <4 x float> %a1) {
|
|||
; HASWELL-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3] sched: [1:0.33]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movss_reg:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3] sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movss_reg:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3] sched: [1:0.50]
|
||||
|
@ -1616,6 +1805,13 @@ define void @test_movups(<4 x float> *%a0, <4 x float> *%a1) {
|
|||
; HASWELL-NEXT: vmovups %xmm0, (%rsi) # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movups:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovups (%rdi), %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vaddps %xmm0, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vmovups %xmm0, (%rsi) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movups:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovups (%rdi), %xmm0 # sched: [5:1.00]
|
||||
|
@ -1666,6 +1862,12 @@ define <4 x float> @test_mulps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vmulps (%rdi), %xmm0, %xmm0 # sched: [5:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_mulps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmulps %xmm1, %xmm0, %xmm0 # sched: [5:0.50]
|
||||
; SKYLAKE-NEXT: vmulps (%rdi), %xmm0, %xmm0 # sched: [5:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_mulps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmulps %xmm1, %xmm0, %xmm0 # sched: [2:1.00]
|
||||
|
@ -1714,6 +1916,12 @@ define float @test_mulss(float %a0, float %a1, float *%a2) {
|
|||
; HASWELL-NEXT: vmulss (%rdi), %xmm0, %xmm0 # sched: [5:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_mulss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmulss %xmm1, %xmm0, %xmm0 # sched: [5:0.50]
|
||||
; SKYLAKE-NEXT: vmulss (%rdi), %xmm0, %xmm0 # sched: [5:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_mulss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmulss %xmm1, %xmm0, %xmm0 # sched: [2:1.00]
|
||||
|
@ -1766,6 +1974,12 @@ define <4 x float> @test_orps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a2
|
|||
; HASWELL-NEXT: vorps (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_orps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vorps %xmm1, %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vorps (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_orps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vorps %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -1819,6 +2033,11 @@ define void @test_prefetchnta(i8* %a0) {
|
|||
; HASWELL-NEXT: prefetchnta (%rdi) # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_prefetchnta:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: prefetchnta (%rdi) # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_prefetchnta:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: prefetchnta (%rdi) # sched: [5:1.00]
|
||||
|
@ -1871,6 +2090,13 @@ define <4 x float> @test_rcpps(<4 x float> %a0, <4 x float> *%a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_rcpps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vrcpps %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vrcpps (%rdi), %xmm1 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_rcpps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vrcpps (%rdi), %xmm1 # sched: [7:1.00]
|
||||
|
@ -1935,6 +2161,14 @@ define <4 x float> @test_rcpss(float %a0, float *%a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_rcpss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vrcpss %xmm0, %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vmovss {{.*#+}} xmm1 = mem[0],zero,zero,zero sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vrcpss %xmm1, %xmm1, %xmm1 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_rcpss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovss {{.*#+}} xmm1 = mem[0],zero,zero,zero sched: [5:1.00]
|
||||
|
@ -1998,6 +2232,13 @@ define <4 x float> @test_rsqrtps(<4 x float> %a0, <4 x float> *%a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_rsqrtps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vrsqrtps %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vrsqrtps (%rdi), %xmm1 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_rsqrtps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vrsqrtps (%rdi), %xmm1 # sched: [7:1.00]
|
||||
|
@ -2062,6 +2303,14 @@ define <4 x float> @test_rsqrtss(float %a0, float *%a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_rsqrtss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vrsqrtss %xmm0, %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vmovss {{.*#+}} xmm1 = mem[0],zero,zero,zero sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vrsqrtss %xmm1, %xmm1, %xmm1 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_rsqrtss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovss {{.*#+}} xmm1 = mem[0],zero,zero,zero sched: [5:1.00]
|
||||
|
@ -2119,6 +2368,11 @@ define void @test_sfence() {
|
|||
; HASWELL-NEXT: sfence # sched: [1:0.33]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_sfence:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: sfence # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_sfence:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: sfence # sched: [1:1.00]
|
||||
|
@ -2168,6 +2422,12 @@ define <4 x float> @test_shufps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%
|
|||
; HASWELL-NEXT: vshufps {{.*#+}} xmm0 = xmm0[0,3],mem[0,0] sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_shufps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vshufps {{.*#+}} xmm0 = xmm0[0,0],xmm1[0,0] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vshufps {{.*#+}} xmm0 = xmm0[0,3],mem[0,0] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_shufps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vshufps {{.*#+}} xmm0 = xmm0[0,0],xmm1[0,0] sched: [1:0.50]
|
||||
|
@ -2222,6 +2482,13 @@ define <4 x float> @test_sqrtps(<4 x float> %a0, <4 x float> *%a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_sqrtps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vsqrtps %xmm0, %xmm0 # sched: [14:1.00]
|
||||
; SKYLAKE-NEXT: vsqrtps (%rdi), %xmm1 # sched: [14:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_sqrtps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vsqrtps (%rdi), %xmm1 # sched: [26:21.00]
|
||||
|
@ -2286,6 +2553,14 @@ define <4 x float> @test_sqrtss(<4 x float> %a0, <4 x float> *%a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_sqrtss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vsqrtss %xmm0, %xmm0, %xmm0 # sched: [14:1.00]
|
||||
; SKYLAKE-NEXT: vmovaps (%rdi), %xmm1 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vsqrtss %xmm1, %xmm1, %xmm1 # sched: [14:1.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_sqrtss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovaps (%rdi), %xmm1 # sched: [5:1.00]
|
||||
|
@ -2340,6 +2615,12 @@ define i32 @test_stmxcsr() {
|
|||
; HASWELL-NEXT: movl -{{[0-9]+}}(%rsp), %eax # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_stmxcsr:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vstmxcsr -{{[0-9]+}}(%rsp) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: movl -{{[0-9]+}}(%rsp), %eax # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_stmxcsr:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vstmxcsr -{{[0-9]+}}(%rsp) # sched: [1:1.00]
|
||||
|
@ -2390,6 +2671,12 @@ define <4 x float> @test_subps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vsubps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_subps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vsubps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vsubps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_subps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vsubps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -2438,6 +2725,12 @@ define float @test_subss(float %a0, float %a1, float *%a2) {
|
|||
; HASWELL-NEXT: vsubss (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_subss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vsubss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vsubss (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_subss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vsubss %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -2526,6 +2819,20 @@ define i32 @test_ucomiss(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a2) {
|
|||
; HASWELL-NEXT: movzbl %dl, %eax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_ucomiss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vucomiss %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: setnp %al # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: sete %cl # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: andb %al, %cl # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: vucomiss (%rdi), %xmm0 # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: setnp %al # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: sete %dl # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: andb %al, %dl # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: orb %cl, %dl # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: movzbl %dl, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_ucomiss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vucomiss %xmm1, %xmm0 # sched: [3:1.00]
|
||||
|
@ -2596,6 +2903,12 @@ define <4 x float> @test_unpckhps(<4 x float> %a0, <4 x float> %a1, <4 x float>
|
|||
; HASWELL-NEXT: vunpckhps {{.*#+}} xmm0 = xmm0[2],mem[2],xmm0[3],mem[3] sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_unpckhps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vunpckhps {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vunpckhps {{.*#+}} xmm0 = xmm0[2],mem[2],xmm0[3],mem[3] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_unpckhps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vunpckhps {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3] sched: [1:0.50]
|
||||
|
@ -2648,6 +2961,12 @@ define <4 x float> @test_unpcklps(<4 x float> %a0, <4 x float> %a1, <4 x float>
|
|||
; HASWELL-NEXT: vunpcklps {{.*#+}} xmm0 = xmm0[0],mem[0],xmm0[1],mem[1] sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_unpcklps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vunpcklps {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vunpcklps {{.*#+}} xmm0 = xmm0[0],mem[0],xmm0[1],mem[1] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_unpcklps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vunpcklps {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1] sched: [1:0.50]
|
||||
|
@ -2700,6 +3019,12 @@ define <4 x float> @test_xorps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a
|
|||
; HASWELL-NEXT: vxorps (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_xorps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vxorps %xmm1, %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vxorps (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_xorps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vxorps %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -5,7 +5,7 @@
|
|||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=sandybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=ivybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=haswell | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=SKYLAKE
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=btver2 | FileCheck %s --check-prefix=CHECK --check-prefix=BTVER2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=znver1 | FileCheck %s --check-prefix=CHECK --check-prefix=ZNVER1
|
||||
|
||||
|
@ -40,6 +40,12 @@ define <2 x double> @test_addsubpd(<2 x double> %a0, <2 x double> %a1, <2 x doub
|
|||
; HASWELL-NEXT: vaddsubpd (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_addsubpd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vaddsubpd %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vaddsubpd (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_addsubpd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vaddsubpd %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -89,6 +95,12 @@ define <4 x float> @test_addsubps(<4 x float> %a0, <4 x float> %a1, <4 x float>
|
|||
; HASWELL-NEXT: vaddsubps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_addsubps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vaddsubps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vaddsubps (%rdi), %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_addsubps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vaddsubps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -138,6 +150,12 @@ define <2 x double> @test_haddpd(<2 x double> %a0, <2 x double> %a1, <2 x double
|
|||
; HASWELL-NEXT: vhaddpd (%rdi), %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_haddpd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vhaddpd %xmm1, %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; SKYLAKE-NEXT: vhaddpd (%rdi), %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_haddpd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vhaddpd %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -187,6 +205,12 @@ define <4 x float> @test_haddps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%
|
|||
; HASWELL-NEXT: vhaddps (%rdi), %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_haddps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vhaddps %xmm1, %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; SKYLAKE-NEXT: vhaddps (%rdi), %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_haddps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vhaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -236,6 +260,12 @@ define <2 x double> @test_hsubpd(<2 x double> %a0, <2 x double> %a1, <2 x double
|
|||
; HASWELL-NEXT: vhsubpd (%rdi), %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_hsubpd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vhsubpd %xmm1, %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; SKYLAKE-NEXT: vhsubpd (%rdi), %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_hsubpd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vhsubpd %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -285,6 +315,12 @@ define <4 x float> @test_hsubps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%
|
|||
; HASWELL-NEXT: vhsubps (%rdi), %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_hsubps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vhsubps %xmm1, %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; SKYLAKE-NEXT: vhsubps (%rdi), %xmm0, %xmm0 # sched: [5:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_hsubps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vhsubps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -331,6 +367,11 @@ define <16 x i8> @test_lddqu(i8* %a0) {
|
|||
; HASWELL-NEXT: vlddqu (%rdi), %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_lddqu:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vlddqu (%rdi), %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_lddqu:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vlddqu (%rdi), %xmm0 # sched: [5:1.00]
|
||||
|
@ -381,6 +422,13 @@ define void @test_monitor(i8* %a0, i32 %a1, i32 %a2) {
|
|||
; HASWELL-NEXT: monitor # sched: [100:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_monitor:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: leaq (%rdi), %rax # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: movl %esi, %ecx # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: monitor # sched: [100:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_monitor:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: leaq (%rdi), %rax # sched: [1:0.50]
|
||||
|
@ -436,6 +484,13 @@ define <2 x double> @test_movddup(<2 x double> %a0, <2 x double> *%a1) {
|
|||
; HASWELL-NEXT: vaddpd %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movddup:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovddup {{.*#+}} xmm0 = xmm0[0,0] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vmovddup {{.*#+}} xmm1 = mem[0,0] sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vaddpd %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movddup:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovddup {{.*#+}} xmm1 = mem[0,0] sched: [5:1.00]
|
||||
|
@ -493,6 +548,13 @@ define <4 x float> @test_movshdup(<4 x float> %a0, <4 x float> *%a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movshdup:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovshdup {{.*#+}} xmm0 = xmm0[1,1,3,3] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vmovshdup {{.*#+}} xmm1 = mem[1,1,3,3] sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movshdup:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovshdup {{.*#+}} xmm1 = mem[1,1,3,3] sched: [5:1.00]
|
||||
|
@ -550,6 +612,13 @@ define <4 x float> @test_movsldup(<4 x float> %a0, <4 x float> *%a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movsldup:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovsldup {{.*#+}} xmm0 = xmm0[0,0,2,2] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vmovsldup {{.*#+}} xmm1 = mem[0,0,2,2] sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movsldup:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovsldup {{.*#+}} xmm1 = mem[0,0,2,2] sched: [5:1.00]
|
||||
|
@ -606,6 +675,13 @@ define void @test_mwait(i32 %a0, i32 %a1) {
|
|||
; HASWELL-NEXT: mwait # sched: [20:2.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_mwait:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: movl %edi, %ecx # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: movl %esi, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: mwait # sched: [20:2.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_mwait:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: movl %edi, %ecx # sched: [1:0.17]
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=sandybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=ivybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=haswell | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=SKYLAKE
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=btver2 | FileCheck %s --check-prefix=CHECK --check-prefix=BTVER2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=znver1 | FileCheck %s --check-prefix=CHECK --check-prefix=ZNVER1
|
||||
|
||||
|
@ -37,6 +37,13 @@ define <2 x double> @test_blendpd(<2 x double> %a0, <2 x double> %a1, <2 x doubl
|
|||
; HASWELL-NEXT: vblendpd {{.*#+}} xmm0 = xmm0[0],mem[1] sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_blendpd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vblendpd {{.*#+}} xmm0 = xmm0[0],xmm1[1] sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: vaddpd %xmm0, %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: vblendpd {{.*#+}} xmm0 = xmm0[0],mem[1] sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_blendpd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vblendpd {{.*#+}} xmm0 = xmm0[0],xmm1[1] sched: [1:0.50]
|
||||
|
@ -82,6 +89,12 @@ define <4 x float> @test_blendps(<4 x float> %a0, <4 x float> %a1, <4 x float> *
|
|||
; HASWELL-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],mem[1],xmm0[2,3] sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_blendps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm1[1,2],xmm0[3] sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],mem[1],xmm0[2,3] sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_blendps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm1[1,2],xmm0[3] sched: [1:0.50]
|
||||
|
@ -130,6 +143,12 @@ define <2 x double> @test_blendvpd(<2 x double> %a0, <2 x double> %a1, <2 x doub
|
|||
; HASWELL-NEXT: vblendvpd %xmm2, (%rdi), %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_blendvpd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vblendvpd %xmm2, %xmm1, %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; SKYLAKE-NEXT: vblendvpd %xmm2, (%rdi), %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_blendvpd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vblendvpd %xmm2, %xmm1, %xmm0, %xmm0 # sched: [2:1.00]
|
||||
|
@ -179,6 +198,12 @@ define <4 x float> @test_blendvps(<4 x float> %a0, <4 x float> %a1, <4 x float>
|
|||
; HASWELL-NEXT: vblendvps %xmm2, (%rdi), %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_blendvps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vblendvps %xmm2, %xmm1, %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; SKYLAKE-NEXT: vblendvps %xmm2, (%rdi), %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_blendvps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vblendvps %xmm2, %xmm1, %xmm0, %xmm0 # sched: [2:1.00]
|
||||
|
@ -222,6 +247,12 @@ define <2 x double> @test_dppd(<2 x double> %a0, <2 x double> %a1, <2 x double>
|
|||
; HASWELL-NEXT: vdppd $7, (%rdi), %xmm0, %xmm0 # sched: [9:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_dppd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vdppd $7, %xmm1, %xmm0, %xmm0 # sched: [9:1.00]
|
||||
; SKYLAKE-NEXT: vdppd $7, (%rdi), %xmm0, %xmm0 # sched: [9:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_dppd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vdppd $7, %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -265,6 +296,12 @@ define <4 x float> @test_dpps(<4 x float> %a0, <4 x float> %a1, <4 x float> *%a2
|
|||
; HASWELL-NEXT: vdpps $7, (%rdi), %xmm0, %xmm0 # sched: [14:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_dpps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vdpps $7, %xmm1, %xmm0, %xmm0 # sched: [14:2.00]
|
||||
; SKYLAKE-NEXT: vdpps $7, (%rdi), %xmm0, %xmm0 # sched: [14:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_dpps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vdpps $7, %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
|
@ -308,6 +345,12 @@ define <4 x float> @test_insertps(<4 x float> %a0, <4 x float> %a1, float *%a2)
|
|||
; HASWELL-NEXT: vinsertps {{.*#+}} xmm0 = xmm0[0,1,2],mem[0] sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_insertps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vinsertps {{.*#+}} xmm0 = zero,xmm1[0],xmm0[2,3] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vinsertps {{.*#+}} xmm0 = xmm0[0,1,2],mem[0] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_insertps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vinsertps {{.*#+}} xmm0 = zero,xmm1[0],xmm0[2,3] sched: [1:0.50]
|
||||
|
@ -347,6 +390,11 @@ define <2 x i64> @test_movntdqa(i8* %a0) {
|
|||
; HASWELL-NEXT: vmovntdqa (%rdi), %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_movntdqa:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmovntdqa (%rdi), %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_movntdqa:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmovntdqa (%rdi), %xmm0 # sched: [5:1.00]
|
||||
|
@ -386,6 +434,12 @@ define <8 x i16> @test_mpsadbw(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
|
|||
; HASWELL-NEXT: vmpsadbw $7, (%rdi), %xmm0, %xmm0 # sched: [7:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_mpsadbw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vmpsadbw $7, %xmm1, %xmm0, %xmm0 # sched: [7:2.00]
|
||||
; SKYLAKE-NEXT: vmpsadbw $7, (%rdi), %xmm0, %xmm0 # sched: [7:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_mpsadbw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vmpsadbw $7, %xmm1, %xmm0, %xmm0 # sched: [3:2.00]
|
||||
|
@ -430,6 +484,12 @@ define <8 x i16> @test_packusdw(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpackusdw (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_packusdw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpackusdw %xmm1, %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpackusdw (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_packusdw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpackusdw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -480,6 +540,12 @@ define <16 x i8> @test_pblendvb(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> %a2, <16
|
|||
; HASWELL-NEXT: vpblendvb %xmm2, (%rdi), %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pblendvb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpblendvb %xmm2, %xmm1, %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; SKYLAKE-NEXT: vpblendvb %xmm2, (%rdi), %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pblendvb:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpblendvb %xmm2, %xmm1, %xmm0, %xmm0 # sched: [2:1.00]
|
||||
|
@ -523,6 +589,12 @@ define <8 x i16> @test_pblendw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],mem[2,3],xmm0[4,5,6],mem[7] sched: [4:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pblendw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3],xmm0[4],xmm1[5],xmm0[6],xmm1[7] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],mem[2,3],xmm0[4,5,6],mem[7] sched: [4:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pblendw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3],xmm0[4],xmm1[5],xmm0[6],xmm1[7] sched: [1:0.50]
|
||||
|
@ -565,6 +637,12 @@ define <2 x i64> @test_pcmpeqq(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vpcmpeqq (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pcmpeqq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpcmpeqq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpcmpeqq (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pcmpeqq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpcmpeqq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -609,6 +687,12 @@ define i32 @test_pextrb(<16 x i8> %a0, i8 *%a1) {
|
|||
; HASWELL-NEXT: vpextrb $1, %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pextrb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpextrb $3, %xmm0, %eax # sched: [2:1.00]
|
||||
; SKYLAKE-NEXT: vpextrb $1, %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pextrb:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpextrb $3, %xmm0, %eax # sched: [1:0.50]
|
||||
|
@ -652,6 +736,12 @@ define i32 @test_pextrd(<4 x i32> %a0, i32 *%a1) {
|
|||
; HASWELL-NEXT: vpextrd $1, %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pextrd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpextrd $3, %xmm0, %eax # sched: [2:1.00]
|
||||
; SKYLAKE-NEXT: vpextrd $1, %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pextrd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpextrd $3, %xmm0, %eax # sched: [1:0.50]
|
||||
|
@ -694,6 +784,12 @@ define i64 @test_pextrq(<2 x i64> %a0, <2 x i64> %a1, i64 *%a2) {
|
|||
; HASWELL-NEXT: vpextrq $1, %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pextrq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpextrq $1, %xmm0, %rax # sched: [2:1.00]
|
||||
; SKYLAKE-NEXT: vpextrq $1, %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pextrq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpextrq $1, %xmm0, %rax # sched: [1:0.50]
|
||||
|
@ -736,6 +832,12 @@ define i32 @test_pextrw(<8 x i16> %a0, i16 *%a1) {
|
|||
; HASWELL-NEXT: vpextrw $1, %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pextrw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpextrw $3, %xmm0, %eax # sched: [2:1.00]
|
||||
; SKYLAKE-NEXT: vpextrw $1, %xmm0, (%rdi) # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pextrw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpextrw $3, %xmm0, %eax # sched: [1:0.50]
|
||||
|
@ -779,6 +881,12 @@ define <8 x i16> @test_phminposuw(<8 x i16> *%a0) {
|
|||
; HASWELL-NEXT: vphminposuw %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_phminposuw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vphminposuw (%rdi), %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vphminposuw %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_phminposuw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vphminposuw (%rdi), %xmm0 # sched: [7:1.00]
|
||||
|
@ -822,6 +930,12 @@ define <16 x i8> @test_pinsrb(<16 x i8> %a0, i8 %a1, i8 *%a2) {
|
|||
; HASWELL-NEXT: vpinsrb $3, (%rsi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pinsrb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpinsrb $1, %edi, %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; SKYLAKE-NEXT: vpinsrb $3, (%rsi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pinsrb:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpinsrb $1, %edi, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -864,6 +978,12 @@ define <4 x i32> @test_pinsrd(<4 x i32> %a0, i32 %a1, i32 *%a2) {
|
|||
; HASWELL-NEXT: vpinsrd $3, (%rsi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pinsrd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpinsrd $1, %edi, %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; SKYLAKE-NEXT: vpinsrd $3, (%rsi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pinsrd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpinsrd $1, %edi, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -910,6 +1030,13 @@ define <2 x i64> @test_pinsrq(<2 x i64> %a0, <2 x i64> %a1, i64 %a2, i64 *%a3) {
|
|||
; HASWELL-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pinsrq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpinsrq $1, %rdi, %xmm0, %xmm0 # sched: [2:2.00]
|
||||
; SKYLAKE-NEXT: vpinsrq $1, (%rsi), %xmm1, %xmm1 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pinsrq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpinsrq $1, (%rsi), %xmm1, %xmm1 # sched: [6:1.00]
|
||||
|
@ -955,6 +1082,12 @@ define <16 x i8> @test_pmaxsb(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
|
|||
; HASWELL-NEXT: vpmaxsb (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmaxsb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmaxsb %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpmaxsb (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmaxsb:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmaxsb %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -998,6 +1131,12 @@ define <4 x i32> @test_pmaxsd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpmaxsd (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmaxsd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmaxsd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpmaxsd (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmaxsd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmaxsd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -1041,6 +1180,12 @@ define <4 x i32> @test_pmaxud(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpmaxud (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmaxud:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmaxud %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpmaxud (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmaxud:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmaxud %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -1084,6 +1229,12 @@ define <8 x i16> @test_pmaxuw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vpmaxuw (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmaxuw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmaxuw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpmaxuw (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmaxuw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmaxuw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -1127,6 +1278,12 @@ define <16 x i8> @test_pminsb(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
|
|||
; HASWELL-NEXT: vpminsb (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pminsb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpminsb %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpminsb (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pminsb:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpminsb %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -1170,6 +1327,12 @@ define <4 x i32> @test_pminsd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpminsd (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pminsd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpminsd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpminsd (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pminsd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpminsd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -1213,6 +1376,12 @@ define <4 x i32> @test_pminud(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpminud (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pminud:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpminud %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpminud (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pminud:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpminud %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -1256,6 +1425,12 @@ define <8 x i16> @test_pminuw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vpminuw (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pminuw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpminuw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpminuw (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pminuw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpminuw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -1304,6 +1479,13 @@ define <8 x i16> @test_pmovsxbw(<16 x i8> %a0, <8 x i8> *%a1) {
|
|||
; HASWELL-NEXT: vpaddw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovsxbw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovsxbw %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovsxbw (%rdi), %xmm1 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovsxbw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovsxbw (%rdi), %xmm1 # sched: [6:1.00]
|
||||
|
@ -1355,6 +1537,13 @@ define <4 x i32> @test_pmovsxbd(<16 x i8> %a0, <4 x i8> *%a1) {
|
|||
; HASWELL-NEXT: vpaddd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovsxbd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovsxbd %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovsxbd (%rdi), %xmm1 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovsxbd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovsxbd (%rdi), %xmm1 # sched: [6:1.00]
|
||||
|
@ -1406,6 +1595,13 @@ define <2 x i64> @test_pmovsxbq(<16 x i8> %a0, <2 x i8> *%a1) {
|
|||
; HASWELL-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovsxbq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovsxbq %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovsxbq (%rdi), %xmm1 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovsxbq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovsxbq (%rdi), %xmm1 # sched: [6:1.00]
|
||||
|
@ -1457,6 +1653,13 @@ define <2 x i64> @test_pmovsxdq(<4 x i32> %a0, <2 x i32> *%a1) {
|
|||
; HASWELL-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovsxdq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovsxdq %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovsxdq (%rdi), %xmm1 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovsxdq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovsxdq (%rdi), %xmm1 # sched: [6:1.00]
|
||||
|
@ -1508,6 +1711,13 @@ define <4 x i32> @test_pmovsxwd(<8 x i16> %a0, <4 x i16> *%a1) {
|
|||
; HASWELL-NEXT: vpaddd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovsxwd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovsxwd %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovsxwd (%rdi), %xmm1 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovsxwd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovsxwd (%rdi), %xmm1 # sched: [6:1.00]
|
||||
|
@ -1559,6 +1769,13 @@ define <2 x i64> @test_pmovsxwq(<8 x i16> %a0, <2 x i16> *%a1) {
|
|||
; HASWELL-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovsxwq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovsxwq %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovsxwq (%rdi), %xmm1 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovsxwq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovsxwq (%rdi), %xmm1 # sched: [6:1.00]
|
||||
|
@ -1610,6 +1827,13 @@ define <8 x i16> @test_pmovzxbw(<16 x i8> %a0, <8 x i8> *%a1) {
|
|||
; HASWELL-NEXT: vpaddw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovzxbw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovzxbw {{.*#+}} xmm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero,xmm0[4],zero,xmm0[5],zero,xmm0[6],zero,xmm0[7],zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovzxbw {{.*#+}} xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovzxbw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovzxbw {{.*#+}} xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero,mem[4],zero,mem[5],zero,mem[6],zero,mem[7],zero sched: [6:1.00]
|
||||
|
@ -1661,6 +1885,13 @@ define <4 x i32> @test_pmovzxbd(<16 x i8> %a0, <4 x i8> *%a1) {
|
|||
; HASWELL-NEXT: vpaddd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovzxbd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovzxbd {{.*#+}} xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero,xmm0[2],zero,zero,zero,xmm0[3],zero,zero,zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovzxbd {{.*#+}} xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovzxbd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovzxbd {{.*#+}} xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero sched: [6:1.00]
|
||||
|
@ -1712,6 +1943,13 @@ define <2 x i64> @test_pmovzxbq(<16 x i8> %a0, <2 x i8> *%a1) {
|
|||
; HASWELL-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovzxbq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovzxbq {{.*#+}} xmm0 = xmm0[0],zero,zero,zero,zero,zero,zero,zero,xmm0[1],zero,zero,zero,zero,zero,zero,zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovzxbq {{.*#+}} xmm1 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovzxbq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovzxbq {{.*#+}} xmm1 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero sched: [6:1.00]
|
||||
|
@ -1763,6 +2001,13 @@ define <2 x i64> @test_pmovzxdq(<4 x i32> %a0, <2 x i32> *%a1) {
|
|||
; HASWELL-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovzxdq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovzxdq {{.*#+}} xmm0 = xmm0[0],zero,xmm0[1],zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovzxdq {{.*#+}} xmm1 = mem[0],zero,mem[1],zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovzxdq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovzxdq {{.*#+}} xmm1 = mem[0],zero,mem[1],zero sched: [6:1.00]
|
||||
|
@ -1814,6 +2059,13 @@ define <4 x i32> @test_pmovzxwd(<8 x i16> %a0, <4 x i16> *%a1) {
|
|||
; HASWELL-NEXT: vpaddd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovzxwd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovzxwd {{.*#+}} xmm0 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovzxwd {{.*#+}} xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovzxwd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovzxwd {{.*#+}} xmm1 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero sched: [6:1.00]
|
||||
|
@ -1865,6 +2117,13 @@ define <2 x i64> @test_pmovzxwq(<8 x i16> %a0, <2 x i16> *%a1) {
|
|||
; HASWELL-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmovzxwq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmovzxwq {{.*#+}} xmm0 = xmm0[0],zero,zero,zero,xmm0[1],zero,zero,zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpmovzxwq {{.*#+}} xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpaddq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmovzxwq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmovzxwq {{.*#+}} xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero sched: [6:1.00]
|
||||
|
@ -1911,6 +2170,12 @@ define <2 x i64> @test_pmuldq(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpmuldq (%rdi), %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmuldq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmuldq %xmm1, %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vpmuldq (%rdi), %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmuldq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmuldq %xmm1, %xmm0, %xmm0 # sched: [2:1.00]
|
||||
|
@ -1955,6 +2220,12 @@ define <4 x i32> @test_pmulld(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpmulld (%rdi), %xmm0, %xmm0 # sched: [10:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmulld:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmulld %xmm1, %xmm0, %xmm0 # sched: [10:2.00]
|
||||
; SKYLAKE-NEXT: vpmulld (%rdi), %xmm0, %xmm0 # sched: [10:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmulld:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmulld %xmm1, %xmm0, %xmm0 # sched: [2:1.00]
|
||||
|
@ -2013,6 +2284,16 @@ define i32 @test_ptest(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> *%a2) {
|
|||
; HASWELL-NEXT: movzbl %cl, %eax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_ptest:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vptest %xmm1, %xmm0 # sched: [2:1.00]
|
||||
; SKYLAKE-NEXT: setb %al # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vptest (%rdi), %xmm0 # sched: [2:1.00]
|
||||
; SKYLAKE-NEXT: setb %cl # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: andb %al, %cl # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: movzbl %cl, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_ptest:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vptest %xmm1, %xmm0 # sched: [1:0.50]
|
||||
|
@ -2070,6 +2351,13 @@ define <2 x double> @test_roundpd(<2 x double> %a0, <2 x double> *%a1) {
|
|||
; HASWELL-NEXT: vaddpd %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_roundpd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vroundpd $7, %xmm0, %xmm0 # sched: [5:1.25]
|
||||
; SKYLAKE-NEXT: vroundpd $7, (%rdi), %xmm1 # sched: [6:2.00]
|
||||
; SKYLAKE-NEXT: vaddpd %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_roundpd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vroundpd $7, (%rdi), %xmm1 # sched: [8:1.00]
|
||||
|
@ -2121,6 +2409,13 @@ define <4 x float> @test_roundps(<4 x float> %a0, <4 x float> *%a1) {
|
|||
; HASWELL-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_roundps:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vroundps $7, %xmm0, %xmm0 # sched: [5:1.25]
|
||||
; SKYLAKE-NEXT: vroundps $7, (%rdi), %xmm1 # sched: [6:2.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm1, %xmm0, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_roundps:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vroundps $7, (%rdi), %xmm1 # sched: [8:1.00]
|
||||
|
@ -2173,6 +2468,13 @@ define <2 x double> @test_roundsd(<2 x double> %a0, <2 x double> %a1, <2 x doubl
|
|||
; HASWELL-NEXT: vaddpd %xmm0, %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_roundsd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vroundsd $7, %xmm1, %xmm0, %xmm1 # sched: [5:1.25]
|
||||
; SKYLAKE-NEXT: vroundsd $7, (%rdi), %xmm0, %xmm0 # sched: [6:2.00]
|
||||
; SKYLAKE-NEXT: vaddpd %xmm0, %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_roundsd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vroundsd $7, %xmm1, %xmm0, %xmm1 # sched: [3:1.00]
|
||||
|
@ -2225,6 +2527,13 @@ define <4 x float> @test_roundss(<4 x float> %a0, <4 x float> %a1, <4 x float> *
|
|||
; HASWELL-NEXT: vaddps %xmm0, %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_roundss:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vroundss $7, %xmm1, %xmm0, %xmm1 # sched: [5:1.25]
|
||||
; SKYLAKE-NEXT: vroundss $7, (%rdi), %xmm0, %xmm0 # sched: [6:2.00]
|
||||
; SKYLAKE-NEXT: vaddps %xmm0, %xmm1, %xmm0 # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_roundss:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vroundss $7, %xmm1, %xmm0, %xmm1 # sched: [3:1.00]
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=sandybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=ivybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=haswell | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=SKYLAKE
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=btver2 | FileCheck %s --check-prefix=CHECK --check-prefix=BTVER2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=znver1 | FileCheck %s --check-prefix=CHECK --check-prefix=ZNVER1
|
||||
|
||||
|
@ -37,6 +37,13 @@ define i32 @crc32_32_8(i32 %a0, i8 %a1, i8 *%a2) {
|
|||
; HASWELL-NEXT: movl %edi, %eax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: crc32_32_8:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: crc32b %sil, %edi # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: crc32b (%rdx), %edi # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: movl %edi, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: crc32_32_8:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: crc32b %sil, %edi # sched: [3:1.00]
|
||||
|
@ -86,6 +93,13 @@ define i32 @crc32_32_16(i32 %a0, i16 %a1, i16 *%a2) {
|
|||
; HASWELL-NEXT: movl %edi, %eax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: crc32_32_16:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: crc32w %si, %edi # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: crc32w (%rdx), %edi # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: movl %edi, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: crc32_32_16:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: crc32w %si, %edi # sched: [3:1.00]
|
||||
|
@ -135,6 +149,13 @@ define i32 @crc32_32_32(i32 %a0, i32 %a1, i32 *%a2) {
|
|||
; HASWELL-NEXT: movl %edi, %eax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: crc32_32_32:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: crc32l %esi, %edi # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: crc32l (%rdx), %edi # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: movl %edi, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: crc32_32_32:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: crc32l %esi, %edi # sched: [3:1.00]
|
||||
|
@ -184,6 +205,13 @@ define i64 @crc32_64_8(i64 %a0, i8 %a1, i8 *%a2) nounwind {
|
|||
; HASWELL-NEXT: movq %rdi, %rax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: crc32_64_8:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: crc32b %sil, %edi # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: crc32b (%rdx), %edi # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: movq %rdi, %rax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: crc32_64_8:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: crc32b %sil, %edi # sched: [3:1.00]
|
||||
|
@ -233,6 +261,13 @@ define i64 @crc32_64_64(i64 %a0, i64 %a1, i64 *%a2) {
|
|||
; HASWELL-NEXT: movq %rdi, %rax # sched: [1:0.25]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: crc32_64_64:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: crc32q %rsi, %rdi # sched: [3:1.00]
|
||||
; SKYLAKE-NEXT: crc32q (%rdx), %rdi # sched: [7:1.00]
|
||||
; SKYLAKE-NEXT: movq %rdi, %rax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: crc32_64_64:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: crc32q %rsi, %rdi # sched: [3:1.00]
|
||||
|
@ -306,6 +341,19 @@ define i32 @test_pcmpestri(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
|
|||
; HASWELL-NEXT: leal (%rcx,%rsi), %eax # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pcmpestri:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: movl $7, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: movl $7, %edx # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: vpcmpestri $7, %xmm1, %xmm0 # sched: [18:4.00]
|
||||
; SKYLAKE-NEXT: movl %ecx, %esi # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: movl $7, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: movl $7, %edx # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: vpcmpestri $7, (%rdi), %xmm0 # sched: [18:4.00]
|
||||
; SKYLAKE-NEXT: # kill: %ECX<def> %ECX<kill> %RCX<def>
|
||||
; SKYLAKE-NEXT: leal (%rcx,%rsi), %eax # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pcmpestri:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: movl $7, %eax # sched: [1:0.17]
|
||||
|
@ -380,6 +428,16 @@ define <16 x i8> @test_pcmpestrm(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
|
|||
; HASWELL-NEXT: vpcmpestrm $7, (%rdi), %xmm0 # sched: [19:4.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pcmpestrm:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: movl $7, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: movl $7, %edx # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: vpcmpestrm $7, %xmm1, %xmm0 # sched: [19:4.00]
|
||||
; SKYLAKE-NEXT: movl $7, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: movl $7, %edx # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: vpcmpestrm $7, (%rdi), %xmm0 # sched: [19:4.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pcmpestrm:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: movl $7, %eax # sched: [1:0.17]
|
||||
|
@ -443,6 +501,15 @@ define i32 @test_pcmpistri(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
|
|||
; HASWELL-NEXT: leal (%rcx,%rax), %eax # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pcmpistri:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpcmpistri $7, %xmm1, %xmm0 # sched: [11:3.00]
|
||||
; SKYLAKE-NEXT: movl %ecx, %eax # sched: [1:0.25]
|
||||
; SKYLAKE-NEXT: vpcmpistri $7, (%rdi), %xmm0 # sched: [11:3.00]
|
||||
; SKYLAKE-NEXT: # kill: %ECX<def> %ECX<kill> %RCX<def>
|
||||
; SKYLAKE-NEXT: leal (%rcx,%rax), %eax # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pcmpistri:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpcmpistri $7, %xmm1, %xmm0 # sched: [6:1.00]
|
||||
|
@ -493,6 +560,12 @@ define <16 x i8> @test_pcmpistrm(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
|
|||
; HASWELL-NEXT: vpcmpistrm $7, (%rdi), %xmm0 # sched: [11:3.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pcmpistrm:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpcmpistrm $7, %xmm1, %xmm0 # sched: [11:3.00]
|
||||
; SKYLAKE-NEXT: vpcmpistrm $7, (%rdi), %xmm0 # sched: [11:3.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pcmpistrm:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpcmpistrm $7, %xmm1, %xmm0 # sched: [7:1.00]
|
||||
|
@ -536,6 +609,12 @@ define <2 x i64> @test_pcmpgtq(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vpcmpgtq (%rdi), %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pcmpgtq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpcmpgtq %xmm1, %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vpcmpgtq (%rdi), %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pcmpgtq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpcmpgtq %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -580,6 +659,12 @@ define <2 x i64> @test_pclmulqdq(<2 x i64> %a0, <2 x i64> %a1, <2 x i64> *%a2) {
|
|||
; HASWELL-NEXT: vpclmulqdq $0, (%rdi), %xmm0, %xmm0 # sched: [11:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pclmulqdq:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpclmulqdq $0, %xmm1, %xmm0, %xmm0 # sched: [11:2.00]
|
||||
; SKYLAKE-NEXT: vpclmulqdq $0, (%rdi), %xmm0, %xmm0 # sched: [11:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pclmulqdq:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpclmulqdq $0, %xmm1, %xmm0, %xmm0 # sched: [2:1.00]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=sandybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=ivybridge | FileCheck %s --check-prefix=CHECK --check-prefix=SANDY
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=haswell | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=HASWELL
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=SKYLAKE
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=btver2 | FileCheck %s --check-prefix=CHECK --check-prefix=BTVER2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=znver1 | FileCheck %s --check-prefix=CHECK --check-prefix=ZNVER1
|
||||
|
||||
|
@ -46,6 +46,13 @@ define <16 x i8> @test_pabsb(<16 x i8> %a0, <16 x i8> *%a1) {
|
|||
; HASWELL-NEXT: vpor %xmm1, %xmm0, %xmm0 # sched: [1:0.33]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pabsb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpabsb %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpabsb (%rdi), %xmm1 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpor %xmm1, %xmm0, %xmm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pabsb:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpabsb (%rdi), %xmm1 # sched: [6:1.00]
|
||||
|
@ -104,6 +111,13 @@ define <4 x i32> @test_pabsd(<4 x i32> %a0, <4 x i32> *%a1) {
|
|||
; HASWELL-NEXT: vpor %xmm1, %xmm0, %xmm0 # sched: [1:0.33]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pabsd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpabsd %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpabsd (%rdi), %xmm1 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpor %xmm1, %xmm0, %xmm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pabsd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpabsd (%rdi), %xmm1 # sched: [6:1.00]
|
||||
|
@ -162,6 +176,13 @@ define <8 x i16> @test_pabsw(<8 x i16> %a0, <8 x i16> *%a1) {
|
|||
; HASWELL-NEXT: vpor %xmm1, %xmm0, %xmm0 # sched: [1:0.33]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pabsw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpabsw %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpabsw (%rdi), %xmm1 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpor %xmm1, %xmm0, %xmm0 # sched: [1:0.33]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pabsw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpabsw (%rdi), %xmm1 # sched: [6:1.00]
|
||||
|
@ -219,6 +240,12 @@ define <8 x i16> @test_palignr(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vpalignr {{.*#+}} xmm0 = mem[14,15],xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13] sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_palignr:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[6,7,8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpalignr {{.*#+}} xmm0 = mem[14,15],xmm0[0,1,2,3,4,5,6,7,8,9,10,11,12,13] sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_palignr:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[6,7,8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5] sched: [1:0.50]
|
||||
|
@ -267,6 +294,12 @@ define <4 x i32> @test_phaddd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vphaddd (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_phaddd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vphaddd %xmm1, %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: vphaddd (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_phaddd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vphaddd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -316,6 +349,12 @@ define <8 x i16> @test_phaddsw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vphaddsw (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_phaddsw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vphaddsw %xmm1, %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: vphaddsw (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_phaddsw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vphaddsw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -365,6 +404,12 @@ define <8 x i16> @test_phaddw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vphaddw (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_phaddw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vphaddw %xmm1, %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: vphaddw (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_phaddw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vphaddw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -414,6 +459,12 @@ define <4 x i32> @test_phsubd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vphsubd (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_phsubd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vphsubd %xmm1, %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: vphsubd (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_phsubd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vphsubd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -463,6 +514,12 @@ define <8 x i16> @test_phsubsw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vphsubsw (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_phsubsw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vphsubsw %xmm1, %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: vphsubsw (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_phsubsw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vphsubsw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -512,6 +569,12 @@ define <8 x i16> @test_phsubw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vphsubw (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_phsubw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vphsubw %xmm1, %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: vphsubw (%rdi), %xmm0, %xmm0 # sched: [3:2.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_phsubw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vphsubw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -561,6 +624,12 @@ define <8 x i16> @test_pmaddubsw(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
|
|||
; HASWELL-NEXT: vpmaddubsw (%rdi), %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmaddubsw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmaddubsw %xmm1, %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vpmaddubsw (%rdi), %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmaddubsw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmaddubsw %xmm1, %xmm0, %xmm0 # sched: [2:1.00]
|
||||
|
@ -611,6 +680,12 @@ define <8 x i16> @test_pmulhrsw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vpmulhrsw (%rdi), %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pmulhrsw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpmulhrsw %xmm1, %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: vpmulhrsw (%rdi), %xmm0, %xmm0 # sched: [5:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pmulhrsw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpmulhrsw %xmm1, %xmm0, %xmm0 # sched: [2:1.00]
|
||||
|
@ -660,6 +735,12 @@ define <16 x i8> @test_pshufb(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
|
|||
; HASWELL-NEXT: vpshufb (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_pshufb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpshufb %xmm1, %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: vpshufb (%rdi), %xmm0, %xmm0 # sched: [1:1.00]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_pshufb:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpshufb %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -713,6 +794,12 @@ define <16 x i8> @test_psignb(<16 x i8> %a0, <16 x i8> %a1, <16 x i8> *%a2) {
|
|||
; HASWELL-NEXT: vpsignb (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_psignb:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpsignb %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpsignb (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_psignb:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpsignb %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -766,6 +853,12 @@ define <4 x i32> @test_psignd(<4 x i32> %a0, <4 x i32> %a1, <4 x i32> *%a2) {
|
|||
; HASWELL-NEXT: vpsignd (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_psignd:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpsignd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpsignd (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_psignd:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpsignd %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
@ -819,6 +912,12 @@ define <8 x i16> @test_psignw(<8 x i16> %a0, <8 x i16> %a1, <8 x i16> *%a2) {
|
|||
; HASWELL-NEXT: vpsignw (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; HASWELL-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; SKYLAKE-LABEL: test_psignw:
|
||||
; SKYLAKE: # BB#0:
|
||||
; SKYLAKE-NEXT: vpsignw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: vpsignw (%rdi), %xmm0, %xmm0 # sched: [1:0.50]
|
||||
; SKYLAKE-NEXT: retq # sched: [2:1.00]
|
||||
;
|
||||
; BTVER2-LABEL: test_psignw:
|
||||
; BTVER2: # BB#0:
|
||||
; BTVER2-NEXT: vpsignw %xmm1, %xmm0, %xmm0 # sched: [1:0.50]
|
||||
|
|
Loading…
Reference in New Issue