; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=haswell | FileCheck %s --check-prefix=CHECK --check-prefix=COMMON --check-prefix=HASWELL
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=skylake | FileCheck %s --check-prefix=CHECK --check-prefix=COMMON --check-prefix=SKYLAKE
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=knl | FileCheck %s --check-prefix=CHECK --check-prefix=COMMON --check-prefix=KNL
-; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=znver1 | FileCheck %s --check-prefix=CHECK --check-prefix=COMMON --check-prefix=ZNVER1
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -print-schedule -mcpu=znver1 | FileCheck %s --check-prefix=CHECK --check-prefix=ZNVER1
define i32 @test_bzhi_i32(i32 %a0, i32 %a1, i32 *%a2) {
; GENERIC-LABEL: test_bzhi_i32:
; GENERIC-NEXT: addl %ecx, %eax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_bzhi_i32:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: bzhil %edi, (%rdx), %ecx # sched: [1:0.50]
-; HASWELL-NEXT: bzhil %edi, %esi, %eax # sched: [1:0.50]
-; HASWELL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_bzhi_i32:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: bzhil %edi, (%rdx), %ecx # sched: [1:0.50]
-; SKYLAKE-NEXT: bzhil %edi, %esi, %eax # sched: [1:0.50]
-; SKYLAKE-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_bzhi_i32:
-; KNL: # BB#0:
-; KNL-NEXT: bzhil %edi, (%rdx), %ecx # sched: [1:0.50]
-; KNL-NEXT: bzhil %edi, %esi, %eax # sched: [1:0.50]
-; KNL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_bzhi_i32:
+; COMMON: # BB#0:
+; COMMON-NEXT: bzhil %edi, (%rdx), %ecx # sched: [1:0.50]
+; COMMON-NEXT: bzhil %edi, %esi, %eax # sched: [1:0.50]
+; COMMON-NEXT: addl %ecx, %eax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_bzhi_i32:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addq %rcx, %rax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_bzhi_i64:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: bzhiq %rdi, (%rdx), %rcx # sched: [1:0.50]
-; HASWELL-NEXT: bzhiq %rdi, %rsi, %rax # sched: [1:0.50]
-; HASWELL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_bzhi_i64:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: bzhiq %rdi, (%rdx), %rcx # sched: [1:0.50]
-; SKYLAKE-NEXT: bzhiq %rdi, %rsi, %rax # sched: [1:0.50]
-; SKYLAKE-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_bzhi_i64:
-; KNL: # BB#0:
-; KNL-NEXT: bzhiq %rdi, (%rdx), %rcx # sched: [1:0.50]
-; KNL-NEXT: bzhiq %rdi, %rsi, %rax # sched: [1:0.50]
-; KNL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_bzhi_i64:
+; COMMON: # BB#0:
+; COMMON-NEXT: bzhiq %rdi, (%rdx), %rcx # sched: [1:0.50]
+; COMMON-NEXT: bzhiq %rdi, %rsi, %rax # sched: [1:0.50]
+; COMMON-NEXT: addq %rcx, %rax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_bzhi_i64:
; ZNVER1: # BB#0:
; GENERIC-NEXT: orq %rcx, %rax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_mulx_i64:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: movq %rdx, %rax # sched: [1:0.25]
-; HASWELL-NEXT: movq %rdi, %rdx # sched: [1:0.25]
-; HASWELL-NEXT: mulxq %rsi, %rsi, %rcx # sched: [4:1.00]
-; HASWELL-NEXT: mulxq (%rax), %rdx, %rax # sched: [4:1.00]
-; HASWELL-NEXT: orq %rcx, %rax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_mulx_i64:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: movq %rdx, %rax # sched: [1:0.25]
-; SKYLAKE-NEXT: movq %rdi, %rdx # sched: [1:0.25]
-; SKYLAKE-NEXT: mulxq %rsi, %rsi, %rcx # sched: [4:1.00]
-; SKYLAKE-NEXT: mulxq (%rax), %rdx, %rax # sched: [4:1.00]
-; SKYLAKE-NEXT: orq %rcx, %rax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_mulx_i64:
-; KNL: # BB#0:
-; KNL-NEXT: movq %rdx, %rax # sched: [1:0.25]
-; KNL-NEXT: movq %rdi, %rdx # sched: [1:0.25]
-; KNL-NEXT: mulxq %rsi, %rsi, %rcx # sched: [4:1.00]
-; KNL-NEXT: mulxq (%rax), %rdx, %rax # sched: [4:1.00]
-; KNL-NEXT: orq %rcx, %rax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_mulx_i64:
+; COMMON: # BB#0:
+; COMMON-NEXT: movq %rdx, %rax # sched: [1:0.25]
+; COMMON-NEXT: movq %rdi, %rdx # sched: [1:0.25]
+; COMMON-NEXT: mulxq %rsi, %rsi, %rcx # sched: [4:1.00]
+; COMMON-NEXT: mulxq (%rax), %rdx, %rax # sched: [4:1.00]
+; COMMON-NEXT: orq %rcx, %rax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_mulx_i64:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addl %ecx, %eax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_pdep_i32:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: pdepl (%rdx), %edi, %ecx # sched: [3:1.00]
-; HASWELL-NEXT: pdepl %esi, %edi, %eax # sched: [3:1.00]
-; HASWELL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_pdep_i32:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: pdepl (%rdx), %edi, %ecx # sched: [3:1.00]
-; SKYLAKE-NEXT: pdepl %esi, %edi, %eax # sched: [3:1.00]
-; SKYLAKE-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_pdep_i32:
-; KNL: # BB#0:
-; KNL-NEXT: pdepl (%rdx), %edi, %ecx # sched: [3:1.00]
-; KNL-NEXT: pdepl %esi, %edi, %eax # sched: [3:1.00]
-; KNL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_pdep_i32:
+; COMMON: # BB#0:
+; COMMON-NEXT: pdepl (%rdx), %edi, %ecx # sched: [3:1.00]
+; COMMON-NEXT: pdepl %esi, %edi, %eax # sched: [3:1.00]
+; COMMON-NEXT: addl %ecx, %eax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_pdep_i32:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addq %rcx, %rax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_pdep_i64:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: pdepq (%rdx), %rdi, %rcx # sched: [3:1.00]
-; HASWELL-NEXT: pdepq %rsi, %rdi, %rax # sched: [3:1.00]
-; HASWELL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_pdep_i64:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: pdepq (%rdx), %rdi, %rcx # sched: [3:1.00]
-; SKYLAKE-NEXT: pdepq %rsi, %rdi, %rax # sched: [3:1.00]
-; SKYLAKE-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_pdep_i64:
-; KNL: # BB#0:
-; KNL-NEXT: pdepq (%rdx), %rdi, %rcx # sched: [3:1.00]
-; KNL-NEXT: pdepq %rsi, %rdi, %rax # sched: [3:1.00]
-; KNL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_pdep_i64:
+; COMMON: # BB#0:
+; COMMON-NEXT: pdepq (%rdx), %rdi, %rcx # sched: [3:1.00]
+; COMMON-NEXT: pdepq %rsi, %rdi, %rax # sched: [3:1.00]
+; COMMON-NEXT: addq %rcx, %rax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_pdep_i64:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addl %ecx, %eax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_pext_i32:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: pextl (%rdx), %edi, %ecx # sched: [3:1.00]
-; HASWELL-NEXT: pextl %esi, %edi, %eax # sched: [3:1.00]
-; HASWELL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_pext_i32:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: pextl (%rdx), %edi, %ecx # sched: [3:1.00]
-; SKYLAKE-NEXT: pextl %esi, %edi, %eax # sched: [3:1.00]
-; SKYLAKE-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_pext_i32:
-; KNL: # BB#0:
-; KNL-NEXT: pextl (%rdx), %edi, %ecx # sched: [3:1.00]
-; KNL-NEXT: pextl %esi, %edi, %eax # sched: [3:1.00]
-; KNL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_pext_i32:
+; COMMON: # BB#0:
+; COMMON-NEXT: pextl (%rdx), %edi, %ecx # sched: [3:1.00]
+; COMMON-NEXT: pextl %esi, %edi, %eax # sched: [3:1.00]
+; COMMON-NEXT: addl %ecx, %eax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_pext_i32:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addq %rcx, %rax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_pext_i64:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: pextq (%rdx), %rdi, %rcx # sched: [3:1.00]
-; HASWELL-NEXT: pextq %rsi, %rdi, %rax # sched: [3:1.00]
-; HASWELL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_pext_i64:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: pextq (%rdx), %rdi, %rcx # sched: [3:1.00]
-; SKYLAKE-NEXT: pextq %rsi, %rdi, %rax # sched: [3:1.00]
-; SKYLAKE-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_pext_i64:
-; KNL: # BB#0:
-; KNL-NEXT: pextq (%rdx), %rdi, %rcx # sched: [3:1.00]
-; KNL-NEXT: pextq %rsi, %rdi, %rax # sched: [3:1.00]
-; KNL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_pext_i64:
+; COMMON: # BB#0:
+; COMMON-NEXT: pextq (%rdx), %rdi, %rcx # sched: [3:1.00]
+; COMMON-NEXT: pextq %rsi, %rdi, %rax # sched: [3:1.00]
+; COMMON-NEXT: addq %rcx, %rax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_pext_i64:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addl %ecx, %eax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_rorx_i32:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: rorxl $5, %edi, %ecx # sched: [1:0.50]
-; HASWELL-NEXT: rorxl $5, (%rdx), %eax # sched: [1:0.50]
-; HASWELL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_rorx_i32:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: rorxl $5, %edi, %ecx # sched: [1:0.50]
-; SKYLAKE-NEXT: rorxl $5, (%rdx), %eax # sched: [1:0.50]
-; SKYLAKE-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_rorx_i32:
-; KNL: # BB#0:
-; KNL-NEXT: rorxl $5, %edi, %ecx # sched: [1:0.50]
-; KNL-NEXT: rorxl $5, (%rdx), %eax # sched: [1:0.50]
-; KNL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_rorx_i32:
+; COMMON: # BB#0:
+; COMMON-NEXT: rorxl $5, %edi, %ecx # sched: [1:0.50]
+; COMMON-NEXT: rorxl $5, (%rdx), %eax # sched: [1:0.50]
+; COMMON-NEXT: addl %ecx, %eax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_rorx_i32:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addq %rcx, %rax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_rorx_i64:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: rorxq $5, %rdi, %rcx # sched: [1:0.50]
-; HASWELL-NEXT: rorxq $5, (%rdx), %rax # sched: [1:0.50]
-; HASWELL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_rorx_i64:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: rorxq $5, %rdi, %rcx # sched: [1:0.50]
-; SKYLAKE-NEXT: rorxq $5, (%rdx), %rax # sched: [1:0.50]
-; SKYLAKE-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_rorx_i64:
-; KNL: # BB#0:
-; KNL-NEXT: rorxq $5, %rdi, %rcx # sched: [1:0.50]
-; KNL-NEXT: rorxq $5, (%rdx), %rax # sched: [1:0.50]
-; KNL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_rorx_i64:
+; COMMON: # BB#0:
+; COMMON-NEXT: rorxq $5, %rdi, %rcx # sched: [1:0.50]
+; COMMON-NEXT: rorxq $5, (%rdx), %rax # sched: [1:0.50]
+; COMMON-NEXT: addq %rcx, %rax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_rorx_i64:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addl %ecx, %eax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_sarx_i32:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: sarxl %esi, %edi, %ecx # sched: [1:0.50]
-; HASWELL-NEXT: sarxl %esi, (%rdx), %eax # sched: [1:0.50]
-; HASWELL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_sarx_i32:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: sarxl %esi, %edi, %ecx # sched: [1:0.50]
-; SKYLAKE-NEXT: sarxl %esi, (%rdx), %eax # sched: [1:0.50]
-; SKYLAKE-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_sarx_i32:
-; KNL: # BB#0:
-; KNL-NEXT: sarxl %esi, %edi, %ecx # sched: [1:0.50]
-; KNL-NEXT: sarxl %esi, (%rdx), %eax # sched: [1:0.50]
-; KNL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_sarx_i32:
+; COMMON: # BB#0:
+; COMMON-NEXT: sarxl %esi, %edi, %ecx # sched: [1:0.50]
+; COMMON-NEXT: sarxl %esi, (%rdx), %eax # sched: [1:0.50]
+; COMMON-NEXT: addl %ecx, %eax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_sarx_i32:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addq %rcx, %rax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_sarx_i64:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: sarxq %rsi, %rdi, %rcx # sched: [1:0.50]
-; HASWELL-NEXT: sarxq %rsi, (%rdx), %rax # sched: [1:0.50]
-; HASWELL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_sarx_i64:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: sarxq %rsi, %rdi, %rcx # sched: [1:0.50]
-; SKYLAKE-NEXT: sarxq %rsi, (%rdx), %rax # sched: [1:0.50]
-; SKYLAKE-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_sarx_i64:
-; KNL: # BB#0:
-; KNL-NEXT: sarxq %rsi, %rdi, %rcx # sched: [1:0.50]
-; KNL-NEXT: sarxq %rsi, (%rdx), %rax # sched: [1:0.50]
-; KNL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_sarx_i64:
+; COMMON: # BB#0:
+; COMMON-NEXT: sarxq %rsi, %rdi, %rcx # sched: [1:0.50]
+; COMMON-NEXT: sarxq %rsi, (%rdx), %rax # sched: [1:0.50]
+; COMMON-NEXT: addq %rcx, %rax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_sarx_i64:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addl %ecx, %eax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_shlx_i32:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: shlxl %esi, %edi, %ecx # sched: [1:0.50]
-; HASWELL-NEXT: shlxl %esi, (%rdx), %eax # sched: [1:0.50]
-; HASWELL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_shlx_i32:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: shlxl %esi, %edi, %ecx # sched: [1:0.50]
-; SKYLAKE-NEXT: shlxl %esi, (%rdx), %eax # sched: [1:0.50]
-; SKYLAKE-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_shlx_i32:
-; KNL: # BB#0:
-; KNL-NEXT: shlxl %esi, %edi, %ecx # sched: [1:0.50]
-; KNL-NEXT: shlxl %esi, (%rdx), %eax # sched: [1:0.50]
-; KNL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_shlx_i32:
+; COMMON: # BB#0:
+; COMMON-NEXT: shlxl %esi, %edi, %ecx # sched: [1:0.50]
+; COMMON-NEXT: shlxl %esi, (%rdx), %eax # sched: [1:0.50]
+; COMMON-NEXT: addl %ecx, %eax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_shlx_i32:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addq %rcx, %rax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_shlx_i64:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: shlxq %rsi, %rdi, %rcx # sched: [1:0.50]
-; HASWELL-NEXT: shlxq %rsi, (%rdx), %rax # sched: [1:0.50]
-; HASWELL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_shlx_i64:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: shlxq %rsi, %rdi, %rcx # sched: [1:0.50]
-; SKYLAKE-NEXT: shlxq %rsi, (%rdx), %rax # sched: [1:0.50]
-; SKYLAKE-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_shlx_i64:
-; KNL: # BB#0:
-; KNL-NEXT: shlxq %rsi, %rdi, %rcx # sched: [1:0.50]
-; KNL-NEXT: shlxq %rsi, (%rdx), %rax # sched: [1:0.50]
-; KNL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_shlx_i64:
+; COMMON: # BB#0:
+; COMMON-NEXT: shlxq %rsi, %rdi, %rcx # sched: [1:0.50]
+; COMMON-NEXT: shlxq %rsi, (%rdx), %rax # sched: [1:0.50]
+; COMMON-NEXT: addq %rcx, %rax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_shlx_i64:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addl %ecx, %eax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_shrx_i32:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: shrxl %esi, %edi, %ecx # sched: [1:0.50]
-; HASWELL-NEXT: shrxl %esi, (%rdx), %eax # sched: [1:0.50]
-; HASWELL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_shrx_i32:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: shrxl %esi, %edi, %ecx # sched: [1:0.50]
-; SKYLAKE-NEXT: shrxl %esi, (%rdx), %eax # sched: [1:0.50]
-; SKYLAKE-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_shrx_i32:
-; KNL: # BB#0:
-; KNL-NEXT: shrxl %esi, %edi, %ecx # sched: [1:0.50]
-; KNL-NEXT: shrxl %esi, (%rdx), %eax # sched: [1:0.50]
-; KNL-NEXT: addl %ecx, %eax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_shrx_i32:
+; COMMON: # BB#0:
+; COMMON-NEXT: shrxl %esi, %edi, %ecx # sched: [1:0.50]
+; COMMON-NEXT: shrxl %esi, (%rdx), %eax # sched: [1:0.50]
+; COMMON-NEXT: addl %ecx, %eax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_shrx_i32:
; ZNVER1: # BB#0:
; GENERIC-NEXT: addq %rcx, %rax # sched: [1:0.33]
; GENERIC-NEXT: retq # sched: [1:1.00]
;
-; HASWELL-LABEL: test_shrx_i64:
-; HASWELL: # BB#0:
-; HASWELL-NEXT: shrxq %rsi, %rdi, %rcx # sched: [1:0.50]
-; HASWELL-NEXT: shrxq %rsi, (%rdx), %rax # sched: [1:0.50]
-; HASWELL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; HASWELL-NEXT: retq # sched: [2:1.00]
-;
-; SKYLAKE-LABEL: test_shrx_i64:
-; SKYLAKE: # BB#0:
-; SKYLAKE-NEXT: shrxq %rsi, %rdi, %rcx # sched: [1:0.50]
-; SKYLAKE-NEXT: shrxq %rsi, (%rdx), %rax # sched: [1:0.50]
-; SKYLAKE-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; SKYLAKE-NEXT: retq # sched: [2:1.00]
-;
-; KNL-LABEL: test_shrx_i64:
-; KNL: # BB#0:
-; KNL-NEXT: shrxq %rsi, %rdi, %rcx # sched: [1:0.50]
-; KNL-NEXT: shrxq %rsi, (%rdx), %rax # sched: [1:0.50]
-; KNL-NEXT: addq %rcx, %rax # sched: [1:0.25]
-; KNL-NEXT: retq # sched: [2:1.00]
+; COMMON-LABEL: test_shrx_i64:
+; COMMON: # BB#0:
+; COMMON-NEXT: shrxq %rsi, %rdi, %rcx # sched: [1:0.50]
+; COMMON-NEXT: shrxq %rsi, (%rdx), %rax # sched: [1:0.50]
+; COMMON-NEXT: addq %rcx, %rax # sched: [1:0.25]
+; COMMON-NEXT: retq # sched: [2:1.00]
;
; ZNVER1-LABEL: test_shrx_i64:
; ZNVER1: # BB#0: