Index: test/tools/llvm-mca/AArch64/CortexA57/direct-branch.s =================================================================== --- test/tools/llvm-mca/AArch64/CortexA57/direct-branch.s +++ test/tools/llvm-mca/AArch64/CortexA57/direct-branch.s @@ -55,4 +55,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 4 2.3 2.3 0.0 b t - Index: test/tools/llvm-mca/AArch64/Exynos/direct-branch.s =================================================================== --- test/tools/llvm-mca/AArch64/Exynos/direct-branch.s +++ test/tools/llvm-mca/AArch64/Exynos/direct-branch.s @@ -43,4 +43,3 @@ # ALL: [0] [1] [2] [3] # ALL-NEXT: 0. 3 0.0 0.0 0.0 b t - Index: test/tools/llvm-mca/AArch64/Exynos/scheduler-queue-usage.s =================================================================== --- test/tools/llvm-mca/AArch64/Exynos/scheduler-queue-usage.s +++ test/tools/llvm-mca/AArch64/Exynos/scheduler-queue-usage.s @@ -23,4 +23,3 @@ # ALL: Scheduler's queue usage: # ALL-NEXT: No scheduler resources used. - Index: test/tools/llvm-mca/AArch64/Falkor/zero-latency-store.s =================================================================== --- test/tools/llvm-mca/AArch64/Falkor/zero-latency-store.s +++ test/tools/llvm-mca/AArch64/Falkor/zero-latency-store.s @@ -42,4 +42,3 @@ # CHECK: Resource pressure by instruction: # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Instructions: # CHECK-NEXT: - - - - 1.00 1.00 - - - - - - stp d0, d1, [x0] - Index: test/tools/llvm-mca/X86/Atom/resources-cmov.s =================================================================== --- test/tools/llvm-mca/X86/Atom/resources-cmov.s +++ test/tools/llvm-mca/X86/Atom/resources-cmov.s @@ -315,4 +315,3 @@ # CHECK-NEXT: 1.00 - cmovgeq (%rax), %rdi # CHECK-NEXT: 1.00 - cmovleq (%rax), %rdi # CHECK-NEXT: 1.00 - cmovgq (%rax), %rdi - Index: test/tools/llvm-mca/X86/Atom/resources-mmx.s =================================================================== --- test/tools/llvm-mca/X86/Atom/resources-mmx.s +++ test/tools/llvm-mca/X86/Atom/resources-mmx.s @@ -385,4 +385,3 @@ # CHECK-NEXT: 1.00 - punpcklwd (%rax), %mm2 # CHECK-NEXT: 0.50 0.50 pxor %mm0, %mm2 # CHECK-NEXT: 1.00 - pxor (%rax), %mm2 - Index: test/tools/llvm-mca/X86/Atom/resources-sse1.s =================================================================== --- test/tools/llvm-mca/X86/Atom/resources-sse1.s +++ test/tools/llvm-mca/X86/Atom/resources-sse1.s @@ -453,4 +453,3 @@ # CHECK-NEXT: 1.00 - unpcklps (%rax), %xmm2 # CHECK-NEXT: 0.50 0.50 xorps %xmm0, %xmm2 # CHECK-NEXT: 1.00 - xorps (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Atom/resources-sse2.s =================================================================== --- test/tools/llvm-mca/X86/Atom/resources-sse2.s +++ test/tools/llvm-mca/X86/Atom/resources-sse2.s @@ -941,4 +941,3 @@ # CHECK-NEXT: 1.00 - unpcklpd (%rax), %xmm2 # CHECK-NEXT: 0.50 0.50 xorpd %xmm0, %xmm2 # CHECK-NEXT: 1.00 - xorpd (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Atom/resources-sse3.s =================================================================== --- test/tools/llvm-mca/X86/Atom/resources-sse3.s +++ test/tools/llvm-mca/X86/Atom/resources-sse3.s @@ -88,4 +88,3 @@ # CHECK-NEXT: 1.00 - movshdup (%rax), %xmm2 # CHECK-NEXT: 1.00 - movsldup %xmm0, %xmm2 # CHECK-NEXT: 1.00 - movsldup (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Atom/resources-ssse3.s =================================================================== --- test/tools/llvm-mca/X86/Atom/resources-ssse3.s +++ test/tools/llvm-mca/X86/Atom/resources-ssse3.s @@ -245,4 +245,3 @@ # CHECK-NEXT: 1.00 - psignw (%rax), %mm2 # CHECK-NEXT: 0.50 0.50 psignw %xmm0, %xmm2 # CHECK-NEXT: 1.00 - psignw (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Atom/resources-x86_64.s =================================================================== --- test/tools/llvm-mca/X86/Atom/resources-x86_64.s +++ test/tools/llvm-mca/X86/Atom/resources-x86_64.s @@ -1700,4 +1700,3 @@ # CHECK-NEXT: 0.50 0.50 xorq %rdi, %rdi # CHECK-NEXT: 1.00 - xorq %rdi, (%rax) # CHECK-NEXT: 1.00 - xorq (%rax), %rdi - Index: test/tools/llvm-mca/X86/Atom/resources-x87.s =================================================================== --- test/tools/llvm-mca/X86/Atom/resources-x87.s +++ test/tools/llvm-mca/X86/Atom/resources-x87.s @@ -513,4 +513,3 @@ # CHECK-NEXT: 12.50 12.50 fxtract # CHECK-NEXT: 73.00 73.00 fyl2x # CHECK-NEXT: 73.50 73.50 fyl2xp1 - Index: test/tools/llvm-mca/X86/Broadwell/resources-adx.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-adx.s +++ test/tools/llvm-mca/X86/Broadwell/resources-adx.s @@ -55,4 +55,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - adoxl (%rbx), %ecx # CHECK-NEXT: - - 0.50 - - - - - 0.50 - adoxq %rbx, %rcx # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - adoxq (%rbx), %rcx - Index: test/tools/llvm-mca/X86/Broadwell/resources-avx1.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-avx1.s +++ test/tools/llvm-mca/X86/Broadwell/resources-avx1.s @@ -2403,4 +2403,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vxorps (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - - - - - - 16.00 - - vzeroall # CHECK-NEXT: - - 1.08 1.08 - - - 1.08 0.75 - vzeroupper - Index: test/tools/llvm-mca/X86/Broadwell/resources-avx2.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-avx2.s +++ test/tools/llvm-mca/X86/Broadwell/resources-avx2.s @@ -1074,4 +1074,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpunpcklwd (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - vpxor %ymm0, %ymm1, %ymm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - vpxor (%rax), %ymm1, %ymm2 - Index: test/tools/llvm-mca/X86/Broadwell/resources-bmi1.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-bmi1.s +++ test/tools/llvm-mca/X86/Broadwell/resources-bmi1.s @@ -113,4 +113,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - tzcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - tzcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - tzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/Broadwell/resources-bmi2.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-bmi2.s +++ test/tools/llvm-mca/X86/Broadwell/resources-bmi2.s @@ -141,4 +141,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - shrxl %eax, (%rbx), %ecx # CHECK-NEXT: - - 0.50 - - - - - 0.50 - shrxq %rax, %rbx, %rcx # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - shrxq %rax, (%rbx), %rcx - Index: test/tools/llvm-mca/X86/Broadwell/resources-cmov.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-cmov.s +++ test/tools/llvm-mca/X86/Broadwell/resources-cmov.s @@ -323,4 +323,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - cmovgeq (%rax), %rdi # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - cmovleq (%rax), %rdi # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - cmovgq (%rax), %rdi - Index: test/tools/llvm-mca/X86/Broadwell/resources-f16c.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-f16c.s +++ test/tools/llvm-mca/X86/Broadwell/resources-f16c.s @@ -57,4 +57,3 @@ # CHECK-NEXT: - - - 1.00 0.33 0.33 1.00 - - 0.33 vcvtps2ph $0, %xmm0, (%rax) # CHECK-NEXT: - - - 1.00 - - - 1.00 - - vcvtps2ph $0, %ymm0, %xmm2 # CHECK-NEXT: - - - 1.00 0.33 0.33 1.00 - - 0.33 vcvtps2ph $0, %ymm0, (%rax) - Index: test/tools/llvm-mca/X86/Broadwell/resources-fma.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-fma.s +++ test/tools/llvm-mca/X86/Broadwell/resources-fma.s @@ -701,4 +701,3 @@ # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - vfnmsub213ss (%rax), %xmm1, %xmm2 # CHECK-NEXT: - - 0.50 0.50 - - - - - - vfnmsub231ss %xmm0, %xmm1, %xmm2 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - vfnmsub231ss (%rax), %xmm1, %xmm2 - Index: test/tools/llvm-mca/X86/Broadwell/resources-lzcnt.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-lzcnt.s +++ test/tools/llvm-mca/X86/Broadwell/resources-lzcnt.s @@ -50,4 +50,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - lzcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - lzcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - lzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/Broadwell/resources-mmx.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-mmx.s +++ test/tools/llvm-mca/X86/Broadwell/resources-mmx.s @@ -393,4 +393,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - punpcklwd (%rax), %mm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - pxor %mm0, %mm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - pxor (%rax), %mm2 - Index: test/tools/llvm-mca/X86/Broadwell/resources-popcnt.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-popcnt.s +++ test/tools/llvm-mca/X86/Broadwell/resources-popcnt.s @@ -50,4 +50,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - popcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - popcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - popcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/Broadwell/resources-sse1.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-sse1.s +++ test/tools/llvm-mca/X86/Broadwell/resources-sse1.s @@ -461,4 +461,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - unpcklps (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 1.00 - - xorps %xmm0, %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - xorps (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Broadwell/resources-sse2.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-sse2.s +++ test/tools/llvm-mca/X86/Broadwell/resources-sse2.s @@ -949,4 +949,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - unpcklpd (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 1.00 - - xorpd %xmm0, %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - xorpd (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Broadwell/resources-sse3.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-sse3.s +++ test/tools/llvm-mca/X86/Broadwell/resources-sse3.s @@ -96,4 +96,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - - - - movshdup (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 1.00 - - movsldup %xmm0, %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - - - - movsldup (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Broadwell/resources-sse41.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-sse41.s +++ test/tools/llvm-mca/X86/Broadwell/resources-sse41.s @@ -366,4 +366,3 @@ # CHECK-NEXT: - - - 2.00 0.50 0.50 - - - - roundsd $1, (%rax), %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - - - - roundss $1, %xmm0, %xmm2 # CHECK-NEXT: - - - 2.00 0.50 0.50 - - - - roundss $1, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Broadwell/resources-sse42.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-sse42.s +++ test/tools/llvm-mca/X86/Broadwell/resources-sse42.s @@ -99,4 +99,3 @@ # CHECK-NEXT: - - 3.00 - 0.50 0.50 - - - - pcmpistrm $1, (%rax), %xmm2 # CHECK-NEXT: - - 1.00 - - - - - - - pcmpgtq %xmm0, %xmm2 # CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pcmpgtq (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Broadwell/resources-ssse3.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-ssse3.s +++ test/tools/llvm-mca/X86/Broadwell/resources-ssse3.s @@ -253,4 +253,3 @@ # CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - psignw (%rax), %mm2 # CHECK-NEXT: - - - 0.50 - - - 0.50 - - psignw %xmm0, %xmm2 # CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - psignw (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Broadwell/resources-x86_64.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-x86_64.s +++ test/tools/llvm-mca/X86/Broadwell/resources-x86_64.s @@ -1708,4 +1708,3 @@ # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - xorq %rdi, %rdi # CHECK-NEXT: - - 0.25 0.25 0.83 0.83 1.00 0.25 0.25 0.33 xorq %rdi, (%rax) # CHECK-NEXT: - - 0.25 0.25 0.50 0.50 - 0.25 0.25 - xorq (%rax), %rdi - Index: test/tools/llvm-mca/X86/Broadwell/resources-x87.s =================================================================== --- test/tools/llvm-mca/X86/Broadwell/resources-x87.s +++ test/tools/llvm-mca/X86/Broadwell/resources-x87.s @@ -521,4 +521,3 @@ # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fxtract # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fyl2x # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fyl2xp1 - Index: test/tools/llvm-mca/X86/BtVer2/dot-product.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/dot-product.s +++ test/tools/llvm-mca/X86/BtVer2/dot-product.s @@ -75,4 +75,3 @@ # CHECK-NEXT: 0. 3 1.0 1.0 3.3 vmulps %xmm0, %xmm1, %xmm2 # CHECK-NEXT: 1. 3 3.3 0.7 1.0 vhaddps %xmm2, %xmm2, %xmm3 # CHECK-NEXT: 2. 3 5.7 0.0 0.0 vhaddps %xmm3, %xmm3, %xmm4 - Index: test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-1.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-1.s +++ test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-1.s @@ -39,4 +39,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 1 1.0 1.0 0.0 vshufps $0, %xmm0, %xmm1, %xmm1 # CHECK-NEXT: 1. 1 1.0 0.0 0.0 vhaddps (%rdi), %xmm1, %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-2.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-2.s +++ test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-2.s @@ -39,4 +39,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 1 1.0 1.0 0.0 vshufps $0, %xmm0, %xmm1, %xmm1 # CHECK-NEXT: 1. 1 1.0 1.0 0.0 vhaddps (%rdi), %ymm1, %ymm2 - Index: test/tools/llvm-mca/X86/BtVer2/instruction-info-view.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/instruction-info-view.s +++ test/tools/llvm-mca/X86/BtVer2/instruction-info-view.s @@ -30,4 +30,3 @@ # ENABLED-NEXT: 1 2 1.00 vmulps %xmm0, %xmm1, %xmm2 # ENABLED-NEXT: 1 3 1.00 vhaddps %xmm2, %xmm2, %xmm3 # ENABLED-NEXT: 1 3 1.00 vhaddps %xmm3, %xmm3, %xmm4 - Index: test/tools/llvm-mca/X86/BtVer2/load-store-alias.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/load-store-alias.s +++ test/tools/llvm-mca/X86/BtVer2/load-store-alias.s @@ -94,4 +94,3 @@ # CHECK-NEXT: 5. 1 16.0 0.0 0.0 vmovaps %xmm0, 32(%rdi) # CHECK-NEXT: 6. 1 16.0 0.0 0.0 vmovaps 48(%rsi), %xmm0 # CHECK-NEXT: 7. 1 21.0 0.0 0.0 vmovaps %xmm0, 48(%rdi) - Index: test/tools/llvm-mca/X86/BtVer2/memcpy-like-test.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/memcpy-like-test.s +++ test/tools/llvm-mca/X86/BtVer2/memcpy-like-test.s @@ -94,4 +94,3 @@ # CHECK-NEXT: 5. 1 6.0 0.0 0.0 vmovaps %xmm0, 32(%rdi) # CHECK-NEXT: 6. 1 1.0 1.0 0.0 vmovaps 48(%rsi), %xmm0 # CHECK-NEXT: 7. 1 6.0 0.0 0.0 vmovaps %xmm0, 48(%rdi) - Index: test/tools/llvm-mca/X86/BtVer2/pipes-fpu.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/pipes-fpu.s +++ test/tools/llvm-mca/X86/BtVer2/pipes-fpu.s @@ -106,4 +106,3 @@ # CHECK-NEXT: 5. 1 1.0 1.0 0.0 vsqrtps %xmm0, %xmm2 # CHECK-NEXT: 6. 1 1.0 1.0 17.0 vaddps %ymm0, %ymm1, %ymm2 # CHECK-NEXT: 7. 1 20.0 20.0 0.0 vsqrtps %ymm0, %ymm2 - Index: test/tools/llvm-mca/X86/BtVer2/rcu-statistics.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/rcu-statistics.s +++ test/tools/llvm-mca/X86/BtVer2/rcu-statistics.s @@ -55,4 +55,3 @@ # CHECK-NEXT: [# retired], [# cycles] # CHECK-NEXT: 0, 23 (74.2%) # CHECK-NEXT: 2, 8 (25.8%) - Index: test/tools/llvm-mca/X86/BtVer2/read-advance-1.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/read-advance-1.s +++ test/tools/llvm-mca/X86/BtVer2/read-advance-1.s @@ -42,4 +42,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 1 1.0 1.0 0.0 vaddps %xmm0, %xmm0, %xmm1 # CHECK-NEXT: 1. 1 1.0 0.0 0.0 vmulps (%rdi), %xmm1, %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/read-advance-2.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/read-advance-2.s +++ test/tools/llvm-mca/X86/BtVer2/read-advance-2.s @@ -41,4 +41,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 1 1.0 1.0 0.0 imull %esi # CHECK-NEXT: 1. 1 1.0 1.0 0.0 imull (%rdi) - Index: test/tools/llvm-mca/X86/BtVer2/read-advance-3.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/read-advance-3.s +++ test/tools/llvm-mca/X86/BtVer2/read-advance-3.s @@ -42,4 +42,3 @@ # CHECK-NEXT: 0. 1 1.0 1.0 0.0 addq %rdi, %rsi # CHECK-NEXT: 1. 1 1.0 0.0 0.0 addq (%rsp), %rsi # CHECK-NEXT: 2. 1 2.0 2.0 2.0 addq %rdx, %r8 - Index: test/tools/llvm-mca/X86/BtVer2/register-files-1.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/register-files-1.s +++ test/tools/llvm-mca/X86/BtVer2/register-files-1.s @@ -87,4 +87,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 5 9.0 0.2 0.0 vaddps %xmm0, %xmm0, %xmm0 # CHECK-NEXT: 1. 5 12.0 0.0 0.0 vmulps %xmm0, %xmm0, %xmm0 - Index: test/tools/llvm-mca/X86/BtVer2/register-files-2.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/register-files-2.s +++ test/tools/llvm-mca/X86/BtVer2/register-files-2.s @@ -88,4 +88,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 5 6.6 0.2 0.0 vaddps %xmm0, %xmm0, %xmm0 # CHECK-NEXT: 1. 5 7.8 0.0 0.0 vmulps %xmm0, %xmm0, %xmm0 - Index: test/tools/llvm-mca/X86/BtVer2/register-files-3.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/register-files-3.s +++ test/tools/llvm-mca/X86/BtVer2/register-files-3.s @@ -87,4 +87,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 2 1.0 1.0 0.0 idivl %eax - Index: test/tools/llvm-mca/X86/BtVer2/register-files-4.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/register-files-4.s +++ test/tools/llvm-mca/X86/BtVer2/register-files-4.s @@ -64,4 +64,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 3 25.0 0.3 0.0 idivl %eax - Index: test/tools/llvm-mca/X86/BtVer2/register-files-5.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/register-files-5.s +++ test/tools/llvm-mca/X86/BtVer2/register-files-5.s @@ -147,4 +147,3 @@ # CHECK-NEXT: 30. 1 31.0 25.0 0.0 vaddps %ymm3, %ymm0, %ymm4 # CHECK-NEXT: 31. 1 32.0 27.0 0.0 vaddps %ymm3, %ymm0, %ymm5 # CHECK-NEXT: 32. 1 25.0 25.0 0.0 vaddps %ymm3, %ymm0, %ymm6 - Index: test/tools/llvm-mca/X86/BtVer2/resources-aes.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-aes.s +++ test/tools/llvm-mca/X86/BtVer2/resources-aes.s @@ -75,4 +75,3 @@ # CHECK-NEXT: - - - - - 1.00 - 1.00 - - - - - 1.00 aesimc (%rax), %xmm2 # CHECK-NEXT: - - - - - 1.00 - - - - - - - 1.00 aeskeygenassist $22, %xmm0, %xmm2 # CHECK-NEXT: - - - - - 1.00 - 1.00 - - - - - 1.00 aeskeygenassist $22, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/resources-avx1.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-avx1.s +++ test/tools/llvm-mca/X86/BtVer2/resources-avx1.s @@ -2407,4 +2407,3 @@ # CHECK-NEXT: - - - 1.00 1.00 1.00 1.00 2.00 - - - - - - vxorps (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - - - - - - - - - - - - - vzeroall # CHECK-NEXT: - - - - - - - - - - - - - - vzeroupper - Index: test/tools/llvm-mca/X86/BtVer2/resources-bmi1.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-bmi1.s +++ test/tools/llvm-mca/X86/BtVer2/resources-bmi1.s @@ -117,4 +117,3 @@ # CHECK-NEXT: 1.00 1.00 - - - - - 1.00 - - - - - - tzcntl (%rax), %ecx # CHECK-NEXT: 1.00 1.00 - - - - - - - - - - - - tzcntq %rax, %rcx # CHECK-NEXT: 1.00 1.00 - - - - - 1.00 - - - - - - tzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/BtVer2/resources-clmul.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-clmul.s +++ test/tools/llvm-mca/X86/BtVer2/resources-clmul.s @@ -40,4 +40,3 @@ # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions: # CHECK-NEXT: - - - - - 1.00 - - - - - - - 1.00 pclmulqdq $11, %xmm0, %xmm2 # CHECK-NEXT: - - - - - 1.00 - 1.00 - - - - - 1.00 pclmulqdq $11, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/resources-cmov.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-cmov.s +++ test/tools/llvm-mca/X86/BtVer2/resources-cmov.s @@ -327,4 +327,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - 1.00 - - - - - - cmovgeq (%rax), %rdi # CHECK-NEXT: 0.50 0.50 - - - - - 1.00 - - - - - - cmovleq (%rax), %rdi # CHECK-NEXT: 0.50 0.50 - - - - - 1.00 - - - - - - cmovgq (%rax), %rdi - Index: test/tools/llvm-mca/X86/BtVer2/resources-f16c.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-f16c.s +++ test/tools/llvm-mca/X86/BtVer2/resources-f16c.s @@ -61,4 +61,3 @@ # CHECK-NEXT: - - - - - - 1.00 - - 1.00 1.00 - - - vcvtps2ph $0, %xmm0, (%rax) # CHECK-NEXT: - - - 1.00 1.00 - 2.00 - - - 2.00 - - - vcvtps2ph $0, %ymm0, %xmm2 # CHECK-NEXT: - - - 1.00 1.00 - 2.00 - - 1.00 2.00 - - - vcvtps2ph $0, %ymm0, (%rax) - Index: test/tools/llvm-mca/X86/BtVer2/resources-lzcnt.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-lzcnt.s +++ test/tools/llvm-mca/X86/BtVer2/resources-lzcnt.s @@ -54,4 +54,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - 1.00 - - - - - - lzcntl (%rax), %ecx # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - - lzcntq %rax, %rcx # CHECK-NEXT: 0.50 0.50 - - - - - 1.00 - - - - - - lzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/BtVer2/resources-mmx.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-mmx.s +++ test/tools/llvm-mca/X86/BtVer2/resources-mmx.s @@ -397,4 +397,3 @@ # CHECK-NEXT: - - - - - 0.50 0.50 1.00 - - - 0.50 0.50 - punpcklwd (%rax), %mm2 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - 0.50 0.50 - pxor %mm0, %mm2 # CHECK-NEXT: - - - - - 0.50 0.50 1.00 - - - 0.50 0.50 - pxor (%rax), %mm2 - Index: test/tools/llvm-mca/X86/BtVer2/resources-popcnt.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-popcnt.s +++ test/tools/llvm-mca/X86/BtVer2/resources-popcnt.s @@ -54,4 +54,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - 1.00 - - - - - - popcntl (%rax), %ecx # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - - popcntq %rax, %rcx # CHECK-NEXT: 0.50 0.50 - - - - - 1.00 - - - - - - popcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/BtVer2/resources-sse1.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-sse1.s +++ test/tools/llvm-mca/X86/BtVer2/resources-sse1.s @@ -465,4 +465,3 @@ # CHECK-NEXT: - - - 0.50 0.50 0.50 0.50 1.00 - - - - - - unpcklps (%rax), %xmm2 # CHECK-NEXT: - - - 0.50 0.50 0.50 0.50 - - - - - - - xorps %xmm0, %xmm2 # CHECK-NEXT: - - - 0.50 0.50 0.50 0.50 1.00 - - - - - - xorps (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/resources-sse2.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-sse2.s +++ test/tools/llvm-mca/X86/BtVer2/resources-sse2.s @@ -953,4 +953,3 @@ # CHECK-NEXT: - - - 0.50 0.50 0.50 0.50 1.00 - - - - - - unpcklpd (%rax), %xmm2 # CHECK-NEXT: - - - 0.50 0.50 0.50 0.50 - - - - - - - xorpd %xmm0, %xmm2 # CHECK-NEXT: - - - 0.50 0.50 0.50 0.50 1.00 - - - - - - xorpd (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/resources-sse3.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-sse3.s +++ test/tools/llvm-mca/X86/BtVer2/resources-sse3.s @@ -100,4 +100,3 @@ # CHECK-NEXT: - - - 0.50 0.50 0.50 0.50 1.00 - - - - - - movshdup (%rax), %xmm2 # CHECK-NEXT: - - - 0.50 0.50 0.50 0.50 - - - - - - - movsldup %xmm0, %xmm2 # CHECK-NEXT: - - - 0.50 0.50 0.50 0.50 1.00 - - - - - - movsldup (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/resources-sse41.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-sse41.s +++ test/tools/llvm-mca/X86/BtVer2/resources-sse41.s @@ -370,4 +370,3 @@ # CHECK-NEXT: - - - - - - 1.00 1.00 - - 1.00 - - - roundsd $1, (%rax), %xmm2 # CHECK-NEXT: - - - - - - 1.00 - - - 1.00 - - - roundss $1, %xmm0, %xmm2 # CHECK-NEXT: - - - - - - 1.00 1.00 - - 1.00 - - - roundss $1, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/resources-sse42.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-sse42.s +++ test/tools/llvm-mca/X86/BtVer2/resources-sse42.s @@ -103,4 +103,3 @@ # CHECK-NEXT: 1.00 - - 1.00 - - 1.00 1.00 - - - - 2.00 - pcmpistrm $1, (%rax), %xmm2 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - 0.50 0.50 - pcmpgtq %xmm0, %xmm2 # CHECK-NEXT: - - - - - 0.50 0.50 1.00 - - - 0.50 0.50 - pcmpgtq (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/resources-sse4a.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-sse4a.s +++ test/tools/llvm-mca/X86/BtVer2/resources-sse4a.s @@ -54,4 +54,3 @@ # CHECK-NEXT: - - - - - 0.50 0.50 - - - - 2.00 2.00 - insertq $22, $22, %xmm0, %xmm2 # CHECK-NEXT: - - - - - - 1.00 - - 1.00 1.00 - - - movntsd %xmm0, (%rax) # CHECK-NEXT: - - - - - - 1.00 - - 1.00 1.00 - - - movntss %xmm0, (%rax) - Index: test/tools/llvm-mca/X86/BtVer2/resources-ssse3.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-ssse3.s +++ test/tools/llvm-mca/X86/BtVer2/resources-ssse3.s @@ -257,4 +257,3 @@ # CHECK-NEXT: - - - - - 0.50 0.50 1.00 - - - 0.50 0.50 - psignw (%rax), %mm2 # CHECK-NEXT: - - - - - 0.50 0.50 - - - - 0.50 0.50 - psignw %xmm0, %xmm2 # CHECK-NEXT: - - - - - 0.50 0.50 1.00 - - - 0.50 0.50 - psignw (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s +++ test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s @@ -1712,4 +1712,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - - xorq %rdi, %rdi # CHECK-NEXT: 0.50 0.50 - - - - - 1.00 - 1.00 - - - - xorq %rdi, (%rax) # CHECK-NEXT: 0.50 0.50 - - - - - 1.00 - - - - - - xorq (%rax), %rdi - Index: test/tools/llvm-mca/X86/BtVer2/resources-x87.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/resources-x87.s +++ test/tools/llvm-mca/X86/BtVer2/resources-x87.s @@ -525,4 +525,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - - fxtract # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - - fyl2x # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - - fyl2xp1 - Index: test/tools/llvm-mca/X86/BtVer2/scheduler-queue-usage.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/scheduler-queue-usage.s +++ test/tools/llvm-mca/X86/BtVer2/scheduler-queue-usage.s @@ -57,4 +57,3 @@ # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions: # CHECK-NEXT: - - - - 1.00 - 1.00 1.00 - - - - - - vmulps (%rsi), %xmm0, %xmm0 # CHECK-NEXT: - 1.00 - - - - - - - - - - - - addq %rsi, %rsi - Index: test/tools/llvm-mca/X86/BtVer2/simple-test.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/simple-test.s +++ test/tools/llvm-mca/X86/BtVer2/simple-test.s @@ -44,4 +44,3 @@ # CHECK: Resource pressure by instruction: # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions: # CHECK-NEXT: 0.50 0.50 - - - - - - - - - - - - addl %edi, %eax - Index: test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-1.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-1.s +++ test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-1.s @@ -38,4 +38,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 1 1.0 1.0 0.0 vaddps %xmm0, %xmm0, %xmm1 # CHECK-NEXT: 1. 1 1.0 0.0 0.0 vandps (%rdi), %xmm1, %xmm2 - Index: test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-2.s =================================================================== --- test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-2.s +++ test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-2.s @@ -38,4 +38,3 @@ # CHECK: [0] [1] [2] [3] # CHECK-NEXT: 0. 1 1.0 1.0 0.0 vaddps %ymm0, %ymm0, %ymm1 # CHECK-NEXT: 1. 1 1.0 1.0 0.0 vandps (%rdi), %ymm1, %ymm2 - Index: test/tools/llvm-mca/X86/Haswell/resources-avx1.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-avx1.s +++ test/tools/llvm-mca/X86/Haswell/resources-avx1.s @@ -2403,4 +2403,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vxorps (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - - - - - - 16.00 - - vzeroall # CHECK-NEXT: - - 1.08 1.08 - - - 1.08 0.75 - vzeroupper - Index: test/tools/llvm-mca/X86/Haswell/resources-avx2.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-avx2.s +++ test/tools/llvm-mca/X86/Haswell/resources-avx2.s @@ -1074,4 +1074,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpunpcklwd (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - vpxor %ymm0, %ymm1, %ymm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - vpxor (%rax), %ymm1, %ymm2 - Index: test/tools/llvm-mca/X86/Haswell/resources-bmi1.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-bmi1.s +++ test/tools/llvm-mca/X86/Haswell/resources-bmi1.s @@ -113,4 +113,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - tzcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - tzcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - tzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/Haswell/resources-bmi2.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-bmi2.s +++ test/tools/llvm-mca/X86/Haswell/resources-bmi2.s @@ -141,4 +141,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - shrxl %eax, (%rbx), %ecx # CHECK-NEXT: - - 0.50 - - - - - 0.50 - shrxq %rax, %rbx, %rcx # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - shrxq %rax, (%rbx), %rcx - Index: test/tools/llvm-mca/X86/Haswell/resources-cmov.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-cmov.s +++ test/tools/llvm-mca/X86/Haswell/resources-cmov.s @@ -323,4 +323,3 @@ # CHECK-NEXT: - - 0.75 0.25 0.50 0.50 - 0.25 0.75 - cmovgeq (%rax), %rdi # CHECK-NEXT: - - 0.75 0.25 0.50 0.50 - 0.25 0.75 - cmovleq (%rax), %rdi # CHECK-NEXT: - - 0.75 0.25 0.50 0.50 - 0.25 0.75 - cmovgq (%rax), %rdi - Index: test/tools/llvm-mca/X86/Haswell/resources-f16c.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-f16c.s +++ test/tools/llvm-mca/X86/Haswell/resources-f16c.s @@ -57,4 +57,3 @@ # CHECK-NEXT: - - - 1.00 0.33 0.33 1.00 1.00 - 0.33 vcvtps2ph $0, %xmm0, (%rax) # CHECK-NEXT: - - - 1.00 - - - 1.00 - - vcvtps2ph $0, %ymm0, %xmm2 # CHECK-NEXT: - - - 1.00 0.33 0.33 1.00 1.00 - 0.33 vcvtps2ph $0, %ymm0, (%rax) - Index: test/tools/llvm-mca/X86/Haswell/resources-fma.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-fma.s +++ test/tools/llvm-mca/X86/Haswell/resources-fma.s @@ -701,4 +701,3 @@ # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - vfnmsub213ss (%rax), %xmm1, %xmm2 # CHECK-NEXT: - - 0.50 0.50 - - - - - - vfnmsub231ss %xmm0, %xmm1, %xmm2 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - vfnmsub231ss (%rax), %xmm1, %xmm2 - Index: test/tools/llvm-mca/X86/Haswell/resources-lzcnt.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-lzcnt.s +++ test/tools/llvm-mca/X86/Haswell/resources-lzcnt.s @@ -50,4 +50,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - lzcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - lzcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - lzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/Haswell/resources-mmx.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-mmx.s +++ test/tools/llvm-mca/X86/Haswell/resources-mmx.s @@ -393,4 +393,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - punpcklwd (%rax), %mm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - pxor %mm0, %mm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - pxor (%rax), %mm2 - Index: test/tools/llvm-mca/X86/Haswell/resources-popcnt.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-popcnt.s +++ test/tools/llvm-mca/X86/Haswell/resources-popcnt.s @@ -50,4 +50,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - popcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - popcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - popcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/Haswell/resources-sse1.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-sse1.s +++ test/tools/llvm-mca/X86/Haswell/resources-sse1.s @@ -461,4 +461,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - unpcklps (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 1.00 - - xorps %xmm0, %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - xorps (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Haswell/resources-sse2.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-sse2.s +++ test/tools/llvm-mca/X86/Haswell/resources-sse2.s @@ -949,4 +949,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - unpcklpd (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 1.00 - - xorpd %xmm0, %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - xorpd (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Haswell/resources-sse3.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-sse3.s +++ test/tools/llvm-mca/X86/Haswell/resources-sse3.s @@ -96,4 +96,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - - - - movshdup (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 1.00 - - movsldup %xmm0, %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - - - - movsldup (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Haswell/resources-sse41.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-sse41.s +++ test/tools/llvm-mca/X86/Haswell/resources-sse41.s @@ -366,4 +366,3 @@ # CHECK-NEXT: - - - 2.00 0.50 0.50 - - - - roundsd $1, (%rax), %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - - - - roundss $1, %xmm0, %xmm2 # CHECK-NEXT: - - - 2.00 0.50 0.50 - - - - roundss $1, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Haswell/resources-sse42.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-sse42.s +++ test/tools/llvm-mca/X86/Haswell/resources-sse42.s @@ -99,4 +99,3 @@ # CHECK-NEXT: - - 3.00 - 0.50 0.50 - - - - pcmpistrm $1, (%rax), %xmm2 # CHECK-NEXT: - - 1.00 - - - - - - - pcmpgtq %xmm0, %xmm2 # CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - pcmpgtq (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Haswell/resources-ssse3.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-ssse3.s +++ test/tools/llvm-mca/X86/Haswell/resources-ssse3.s @@ -253,4 +253,3 @@ # CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - psignw (%rax), %mm2 # CHECK-NEXT: - - - 0.50 - - - 0.50 - - psignw %xmm0, %xmm2 # CHECK-NEXT: - - - 0.50 0.50 0.50 - 0.50 - - psignw (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Haswell/resources-x86_64.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-x86_64.s +++ test/tools/llvm-mca/X86/Haswell/resources-x86_64.s @@ -1708,4 +1708,3 @@ # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - xorq %rdi, %rdi # CHECK-NEXT: - - 0.25 0.25 0.83 0.83 1.00 0.25 0.25 0.33 xorq %rdi, (%rax) # CHECK-NEXT: - - 0.25 0.25 0.50 0.50 - 0.25 0.25 - xorq (%rax), %rdi - Index: test/tools/llvm-mca/X86/Haswell/resources-x87.s =================================================================== --- test/tools/llvm-mca/X86/Haswell/resources-x87.s +++ test/tools/llvm-mca/X86/Haswell/resources-x87.s @@ -521,4 +521,3 @@ # CHECK-NEXT: - - - - - - - - - - fxtract # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fyl2x # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fyl2xp1 - Index: test/tools/llvm-mca/X86/SLM/resources-cmov.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-cmov.s +++ test/tools/llvm-mca/X86/SLM/resources-cmov.s @@ -321,4 +321,3 @@ # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovgeq (%rax), %rdi # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovleq (%rax), %rdi # CHECK-NEXT: - - - - - 1.00 1.00 1.00 cmovgq (%rax), %rdi - Index: test/tools/llvm-mca/X86/SLM/resources-mmx.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-mmx.s +++ test/tools/llvm-mca/X86/SLM/resources-mmx.s @@ -391,4 +391,3 @@ # CHECK-NEXT: - - - 1.00 - - - 1.00 punpcklwd (%rax), %mm2 # CHECK-NEXT: - - - 0.50 0.50 - - - pxor %mm0, %mm2 # CHECK-NEXT: - - - 0.50 0.50 - - 1.00 pxor (%rax), %mm2 - Index: test/tools/llvm-mca/X86/SLM/resources-popcnt.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-popcnt.s +++ test/tools/llvm-mca/X86/SLM/resources-popcnt.s @@ -48,4 +48,3 @@ # CHECK-NEXT: - - - - - 1.00 - 1.00 popcntl (%rax), %ecx # CHECK-NEXT: - - - - - 1.00 - - popcntq %rax, %rcx # CHECK-NEXT: - - - - - 1.00 - 1.00 popcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/SLM/resources-sse1.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-sse1.s +++ test/tools/llvm-mca/X86/SLM/resources-sse1.s @@ -459,4 +459,3 @@ # CHECK-NEXT: - - - 1.00 - - - 1.00 unpcklps (%rax), %xmm2 # CHECK-NEXT: - - - 0.50 0.50 - - - xorps %xmm0, %xmm2 # CHECK-NEXT: - - - 0.50 0.50 - - 1.00 xorps (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SLM/resources-sse2.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-sse2.s +++ test/tools/llvm-mca/X86/SLM/resources-sse2.s @@ -947,4 +947,3 @@ # CHECK-NEXT: - - - 1.00 - - - 1.00 unpcklpd (%rax), %xmm2 # CHECK-NEXT: - - - 0.50 0.50 - - - xorpd %xmm0, %xmm2 # CHECK-NEXT: - - - 0.50 0.50 - - 1.00 xorpd (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SLM/resources-sse3.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-sse3.s +++ test/tools/llvm-mca/X86/SLM/resources-sse3.s @@ -94,4 +94,3 @@ # CHECK-NEXT: - - - 1.00 - - - 1.00 movshdup (%rax), %xmm2 # CHECK-NEXT: - - - 1.00 - - - - movsldup %xmm0, %xmm2 # CHECK-NEXT: - - - 1.00 - - - 1.00 movsldup (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SLM/resources-sse41.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-sse41.s +++ test/tools/llvm-mca/X86/SLM/resources-sse41.s @@ -364,4 +364,3 @@ # CHECK-NEXT: - - - - 1.00 - - 1.00 roundsd $1, (%rax), %xmm2 # CHECK-NEXT: - - - - 1.00 - - - roundss $1, %xmm0, %xmm2 # CHECK-NEXT: - - - - 1.00 - - 1.00 roundss $1, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SLM/resources-sse42.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-sse42.s +++ test/tools/llvm-mca/X86/SLM/resources-sse42.s @@ -97,4 +97,3 @@ # CHECK-NEXT: - - - 13.00 - - - 1.00 pcmpistrm $1, (%rax), %xmm2 # CHECK-NEXT: - - - 0.50 0.50 - - - pcmpgtq %xmm0, %xmm2 # CHECK-NEXT: - - - 0.50 0.50 - - 1.00 pcmpgtq (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SLM/resources-ssse3.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-ssse3.s +++ test/tools/llvm-mca/X86/SLM/resources-ssse3.s @@ -251,4 +251,3 @@ # CHECK-NEXT: - - - 0.50 0.50 - - 1.00 psignw (%rax), %mm2 # CHECK-NEXT: - - - 0.50 0.50 - - - psignw %xmm0, %xmm2 # CHECK-NEXT: - - - 0.50 0.50 - - 1.00 psignw (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SLM/resources-x86_64.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-x86_64.s +++ test/tools/llvm-mca/X86/SLM/resources-x86_64.s @@ -1706,4 +1706,3 @@ # CHECK-NEXT: - - - - - 0.50 0.50 - xorq %rdi, %rdi # CHECK-NEXT: - - - - - 1.00 1.00 2.00 xorq %rdi, (%rax) # CHECK-NEXT: - - - - - 0.50 0.50 1.00 xorq (%rax), %rdi - Index: test/tools/llvm-mca/X86/SLM/resources-x87.s =================================================================== --- test/tools/llvm-mca/X86/SLM/resources-x87.s +++ test/tools/llvm-mca/X86/SLM/resources-x87.s @@ -519,4 +519,3 @@ # CHECK-NEXT: - - - 1.00 - - - - fxtract # CHECK-NEXT: - - - 1.00 - - - - fyl2x # CHECK-NEXT: - - - 1.00 - - - - fyl2xp1 - Index: test/tools/llvm-mca/X86/SandyBridge/resources-aes.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-aes.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-aes.s @@ -69,4 +69,3 @@ # CHECK-NEXT: - - - - - 2.00 0.50 0.50 aesimc (%rax), %xmm2 # CHECK-NEXT: - - 3.67 3.67 - 3.67 - - aeskeygenassist $22, %xmm0, %xmm2 # CHECK-NEXT: - - 3.33 3.33 - 3.33 0.50 0.50 aeskeygenassist $22, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SandyBridge/resources-avx1.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-avx1.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-avx1.s @@ -2401,4 +2401,3 @@ # CHECK-NEXT: - - - - - 1.00 0.50 0.50 vxorps (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - vzeroall # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - vzeroupper - Index: test/tools/llvm-mca/X86/SandyBridge/resources-clmul.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-clmul.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-clmul.s @@ -34,4 +34,3 @@ # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions: # CHECK-NEXT: - - 6.00 6.00 - 6.00 - - pclmulqdq $11, %xmm0, %xmm2 # CHECK-NEXT: - - 5.67 5.67 - 5.67 0.50 0.50 pclmulqdq $11, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SandyBridge/resources-cmov.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-cmov.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-cmov.s @@ -321,4 +321,3 @@ # CHECK-NEXT: - - 0.83 0.33 - 0.83 0.50 0.50 cmovgeq (%rax), %rdi # CHECK-NEXT: - - 0.83 0.33 - 0.83 0.50 0.50 cmovleq (%rax), %rdi # CHECK-NEXT: - - 0.83 0.33 - 0.83 0.50 0.50 cmovgq (%rax), %rdi - Index: test/tools/llvm-mca/X86/SandyBridge/resources-f16c.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-f16c.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-f16c.s @@ -55,4 +55,3 @@ # CHECK-NEXT: - - - 1.00 1.00 - 0.50 0.50 vcvtps2ph $0, %xmm0, (%rax) # CHECK-NEXT: - - - 1.00 - - - - vcvtps2ph $0, %ymm0, %xmm2 # CHECK-NEXT: - - - 1.00 1.00 - 0.50 0.50 vcvtps2ph $0, %ymm0, (%rax) - Index: test/tools/llvm-mca/X86/SandyBridge/resources-mmx.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-mmx.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-mmx.s @@ -391,4 +391,3 @@ # CHECK-NEXT: - - - - - 1.00 0.50 0.50 punpcklwd (%rax), %mm2 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - pxor %mm0, %mm2 # CHECK-NEXT: - - 0.33 0.33 - 0.33 0.50 0.50 pxor (%rax), %mm2 - Index: test/tools/llvm-mca/X86/SandyBridge/resources-popcnt.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-popcnt.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-popcnt.s @@ -48,4 +48,3 @@ # CHECK-NEXT: - - - 1.00 - - 0.50 0.50 popcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - popcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 - - 0.50 0.50 popcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s @@ -459,4 +459,3 @@ # CHECK-NEXT: - - - - - 1.00 0.50 0.50 unpcklps (%rax), %xmm2 # CHECK-NEXT: - - - - - 1.00 - - xorps %xmm0, %xmm2 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 xorps (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SandyBridge/resources-sse2.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-sse2.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-sse2.s @@ -947,4 +947,3 @@ # CHECK-NEXT: - - - - - 1.00 0.50 0.50 unpcklpd (%rax), %xmm2 # CHECK-NEXT: - - - - - 1.00 - - xorpd %xmm0, %xmm2 # CHECK-NEXT: - - - - - 1.00 0.50 0.50 xorpd (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SandyBridge/resources-sse3.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-sse3.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-sse3.s @@ -94,4 +94,3 @@ # CHECK-NEXT: - - - - - - 0.50 0.50 movshdup (%rax), %xmm2 # CHECK-NEXT: - - - - - 1.00 - - movsldup %xmm0, %xmm2 # CHECK-NEXT: - - - - - - 0.50 0.50 movsldup (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SandyBridge/resources-sse41.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-sse41.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-sse41.s @@ -364,4 +364,3 @@ # CHECK-NEXT: - - - 1.00 - - 0.50 0.50 roundsd $1, (%rax), %xmm2 # CHECK-NEXT: - - - 1.00 - - - - roundss $1, %xmm0, %xmm2 # CHECK-NEXT: - - - 1.00 - - 0.50 0.50 roundss $1, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SandyBridge/resources-sse42.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-sse42.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-sse42.s @@ -97,4 +97,3 @@ # CHECK-NEXT: - - 3.00 - - - 0.50 0.50 pcmpistrm $1, (%rax), %xmm2 # CHECK-NEXT: - - 1.00 - - - - - pcmpgtq %xmm0, %xmm2 # CHECK-NEXT: - - 1.00 - - - 0.50 0.50 pcmpgtq (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SandyBridge/resources-ssse3.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-ssse3.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-ssse3.s @@ -251,4 +251,3 @@ # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 psignw (%rax), %mm2 # CHECK-NEXT: - - - 0.50 - 0.50 - - psignw %xmm0, %xmm2 # CHECK-NEXT: - - - 0.50 - 0.50 0.50 0.50 psignw (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SandyBridge/resources-x86_64.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-x86_64.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-x86_64.s @@ -1706,4 +1706,3 @@ # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - xorq %rdi, %rdi # CHECK-NEXT: - - 0.33 0.33 1.00 0.33 1.00 1.00 xorq %rdi, (%rax) # CHECK-NEXT: - - 0.33 0.33 - 0.33 0.50 0.50 xorq (%rax), %rdi - Index: test/tools/llvm-mca/X86/SandyBridge/resources-x87.s =================================================================== --- test/tools/llvm-mca/X86/SandyBridge/resources-x87.s +++ test/tools/llvm-mca/X86/SandyBridge/resources-x87.s @@ -519,4 +519,3 @@ # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - fxtract # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - fyl2x # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - fyl2xp1 - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-adx.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-adx.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-adx.s @@ -55,4 +55,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - adoxl (%rbx), %ecx # CHECK-NEXT: - - 0.50 - - - - - 0.50 - adoxq %rbx, %rcx # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - adoxq (%rbx), %rcx - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-avx1.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-avx1.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-avx1.s @@ -2403,4 +2403,3 @@ # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - vxorps (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - 4.00 4.00 - - - 4.00 4.00 - vzeroall # CHECK-NEXT: - - 1.08 1.08 - - - 1.08 0.75 - vzeroupper - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-avx2.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-avx2.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-avx2.s @@ -1074,4 +1074,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpunpcklwd (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - vpxor %ymm0, %ymm1, %ymm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - vpxor (%rax), %ymm1, %ymm2 - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-bmi1.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-bmi1.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-bmi1.s @@ -113,4 +113,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - tzcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - tzcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - tzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-bmi2.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-bmi2.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-bmi2.s @@ -141,4 +141,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - shrxl %eax, (%rbx), %ecx # CHECK-NEXT: - - 0.50 - - - - - 0.50 - shrxq %rax, %rbx, %rcx # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - shrxq %rax, (%rbx), %rcx - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-cmov.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-cmov.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-cmov.s @@ -323,4 +323,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - cmovgeq (%rax), %rdi # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - cmovleq (%rax), %rdi # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - cmovgq (%rax), %rdi - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-f16c.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-f16c.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-f16c.s @@ -57,4 +57,3 @@ # CHECK-NEXT: - - 0.50 0.50 0.33 0.33 1.00 1.00 - 0.33 vcvtps2ph $0, %xmm0, (%rax) # CHECK-NEXT: - - 0.50 0.50 - - - 1.00 - - vcvtps2ph $0, %ymm0, %xmm2 # CHECK-NEXT: - - 0.50 0.50 0.33 0.33 1.00 1.00 - 0.33 vcvtps2ph $0, %ymm0, (%rax) - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-fma.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-fma.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-fma.s @@ -701,4 +701,3 @@ # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - vfnmsub213ss (%rax), %xmm1, %xmm2 # CHECK-NEXT: - - 0.50 0.50 - - - - - - vfnmsub231ss %xmm0, %xmm1, %xmm2 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - vfnmsub231ss (%rax), %xmm1, %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-lzcnt.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-lzcnt.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-lzcnt.s @@ -50,4 +50,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - lzcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - lzcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - lzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-mmx.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-mmx.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-mmx.s @@ -393,4 +393,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - punpcklwd (%rax), %mm2 # CHECK-NEXT: - - 0.50 - - - - 0.50 - - pxor %mm0, %mm2 # CHECK-NEXT: - - 0.50 - 0.50 0.50 - 0.50 - - pxor (%rax), %mm2 - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-popcnt.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-popcnt.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-popcnt.s @@ -50,4 +50,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - popcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - popcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - popcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s @@ -461,4 +461,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - unpcklps (%rax), %xmm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - xorps %xmm0, %xmm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - xorps (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-sse2.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-sse2.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-sse2.s @@ -949,4 +949,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - unpcklpd (%rax), %xmm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - xorpd %xmm0, %xmm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - xorpd (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-sse3.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-sse3.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-sse3.s @@ -96,4 +96,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - - - - movshdup (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 1.00 - - movsldup %xmm0, %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - - - - movsldup (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-sse41.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-sse41.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-sse41.s @@ -366,4 +366,3 @@ # CHECK-NEXT: - - 1.00 1.00 0.50 0.50 - - - - roundsd $1, (%rax), %xmm2 # CHECK-NEXT: - - 1.00 1.00 - - - - - - roundss $1, %xmm0, %xmm2 # CHECK-NEXT: - - 1.00 1.00 0.50 0.50 - - - - roundss $1, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-sse42.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-sse42.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-sse42.s @@ -99,4 +99,3 @@ # CHECK-NEXT: - - 3.00 - 0.50 0.50 - - - - pcmpistrm $1, (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 1.00 - - pcmpgtq %xmm0, %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pcmpgtq (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-ssse3.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-ssse3.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-ssse3.s @@ -253,4 +253,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - 0.50 - - psignw (%rax), %mm2 # CHECK-NEXT: - - 0.50 0.50 - - - - - - psignw %xmm0, %xmm2 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - psignw (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-x86_64.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-x86_64.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-x86_64.s @@ -1708,4 +1708,3 @@ # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - xorq %rdi, %rdi # CHECK-NEXT: - - 0.25 0.25 0.83 0.83 1.00 0.25 0.25 0.33 xorq %rdi, (%rax) # CHECK-NEXT: - - 0.25 0.25 0.50 0.50 - 0.25 0.25 - xorq (%rax), %rdi - Index: test/tools/llvm-mca/X86/SkylakeClient/resources-x87.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeClient/resources-x87.s +++ test/tools/llvm-mca/X86/SkylakeClient/resources-x87.s @@ -521,4 +521,3 @@ # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fxtract # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fyl2x # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fyl2xp1 - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-adx.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-adx.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-adx.s @@ -55,4 +55,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - adoxl (%rbx), %ecx # CHECK-NEXT: - - 0.50 - - - - - 0.50 - adoxq %rbx, %rcx # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - adoxq (%rbx), %rcx - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-avx1.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-avx1.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-avx1.s @@ -2403,4 +2403,3 @@ # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - vxorps (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - 4.00 4.00 - - - 4.00 4.00 - vzeroall # CHECK-NEXT: - - 1.08 1.08 - - - 1.08 0.75 - vzeroupper - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-avx2.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-avx2.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-avx2.s @@ -1074,4 +1074,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vpunpcklwd (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - vpxor %ymm0, %ymm1, %ymm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - vpxor (%rax), %ymm1, %ymm2 - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-bmi1.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-bmi1.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-bmi1.s @@ -113,4 +113,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - tzcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - tzcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - tzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-bmi2.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-bmi2.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-bmi2.s @@ -141,4 +141,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - shrxl %eax, (%rbx), %ecx # CHECK-NEXT: - - 0.50 - - - - - 0.50 - shrxq %rax, %rbx, %rcx # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - shrxq %rax, (%rbx), %rcx - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-cmov.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-cmov.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-cmov.s @@ -323,4 +323,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - cmovgeq (%rax), %rdi # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - cmovleq (%rax), %rdi # CHECK-NEXT: - - 0.50 - 0.50 0.50 - - 0.50 - cmovgq (%rax), %rdi - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-f16c.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-f16c.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-f16c.s @@ -57,4 +57,3 @@ # CHECK-NEXT: - - 0.33 0.33 0.33 0.33 1.00 1.33 - 0.33 vcvtps2ph $0, %xmm0, (%rax) # CHECK-NEXT: - - 0.33 0.33 - - - 1.33 - - vcvtps2ph $0, %ymm0, %xmm2 # CHECK-NEXT: - - 0.33 0.33 0.33 0.33 1.00 1.33 - 0.33 vcvtps2ph $0, %ymm0, (%rax) - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-fma.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-fma.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-fma.s @@ -701,4 +701,3 @@ # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - vfnmsub213ss (%rax), %xmm1, %xmm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - vfnmsub231ss %xmm0, %xmm1, %xmm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - vfnmsub231ss (%rax), %xmm1, %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-lzcnt.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-lzcnt.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-lzcnt.s @@ -50,4 +50,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - lzcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - lzcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - lzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-mmx.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-mmx.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-mmx.s @@ -393,4 +393,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - punpcklwd (%rax), %mm2 # CHECK-NEXT: - - 0.50 - - - - 0.50 - - pxor %mm0, %mm2 # CHECK-NEXT: - - 0.50 - 0.50 0.50 - 0.50 - - pxor (%rax), %mm2 - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-popcnt.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-popcnt.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-popcnt.s @@ -50,4 +50,3 @@ # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - popcntl (%rax), %ecx # CHECK-NEXT: - - - 1.00 - - - - - - popcntq %rax, %rcx # CHECK-NEXT: - - - 1.00 0.50 0.50 - - - - popcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s @@ -461,4 +461,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - unpcklps (%rax), %xmm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - xorps %xmm0, %xmm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - xorps (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-sse2.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-sse2.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-sse2.s @@ -949,4 +949,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - unpcklpd (%rax), %xmm2 # CHECK-NEXT: - - 0.33 0.33 - - - 0.33 - - xorpd %xmm0, %xmm2 # CHECK-NEXT: - - 0.33 0.33 0.50 0.50 - 0.33 - - xorpd (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-sse3.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-sse3.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-sse3.s @@ -96,4 +96,3 @@ # CHECK-NEXT: - - - - 0.50 0.50 - - - - movshdup (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 1.00 - - movsldup %xmm0, %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - - - - movsldup (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-sse41.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-sse41.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-sse41.s @@ -366,4 +366,3 @@ # CHECK-NEXT: - - 0.67 0.67 0.50 0.50 - 0.67 - - roundsd $1, (%rax), %xmm2 # CHECK-NEXT: - - 0.67 0.67 - - - 0.67 - - roundss $1, %xmm0, %xmm2 # CHECK-NEXT: - - 0.67 0.67 0.50 0.50 - 0.67 - - roundss $1, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-sse42.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-sse42.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-sse42.s @@ -99,4 +99,3 @@ # CHECK-NEXT: - - 3.00 - 0.50 0.50 - - - - pcmpistrm $1, (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 1.00 - - pcmpgtq %xmm0, %xmm2 # CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - pcmpgtq (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-ssse3.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-ssse3.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-ssse3.s @@ -253,4 +253,3 @@ # CHECK-NEXT: - - 0.50 - 0.50 0.50 - 0.50 - - psignw (%rax), %mm2 # CHECK-NEXT: - - 0.50 0.50 - - - - - - psignw %xmm0, %xmm2 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - psignw (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-x86_64.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-x86_64.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-x86_64.s @@ -1708,4 +1708,3 @@ # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - xorq %rdi, %rdi # CHECK-NEXT: - - 0.25 0.25 0.83 0.83 1.00 0.25 0.25 0.33 xorq %rdi, (%rax) # CHECK-NEXT: - - 0.25 0.25 0.50 0.50 - 0.25 0.25 - xorq (%rax), %rdi - Index: test/tools/llvm-mca/X86/SkylakeServer/resources-x87.s =================================================================== --- test/tools/llvm-mca/X86/SkylakeServer/resources-x87.s +++ test/tools/llvm-mca/X86/SkylakeServer/resources-x87.s @@ -521,4 +521,3 @@ # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fxtract # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fyl2x # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - fyl2xp1 - Index: test/tools/llvm-mca/X86/Znver1/resources-adx.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-adx.s +++ test/tools/llvm-mca/X86/Znver1/resources-adx.s @@ -57,4 +57,3 @@ # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - adoxl (%rbx), %ecx # CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - adoxq %rbx, %rcx # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - adoxq (%rbx), %rcx - Index: test/tools/llvm-mca/X86/Znver1/resources-avx1.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-avx1.s +++ test/tools/llvm-mca/X86/Znver1/resources-avx1.s @@ -2405,4 +2405,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - vxorps (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - - - - - - - - - - - vzeroall # CHECK-NEXT: - - - - - - - - - - - - vzeroupper - Index: test/tools/llvm-mca/X86/Znver1/resources-avx2.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-avx2.s +++ test/tools/llvm-mca/X86/Znver1/resources-avx2.s @@ -1076,4 +1076,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - vpunpcklwd (%rax), %ymm1, %ymm2 # CHECK-NEXT: - - - - - - - 0.25 0.25 0.25 0.25 - vpxor %ymm0, %ymm1, %ymm2 # CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - vpxor (%rax), %ymm1, %ymm2 - Index: test/tools/llvm-mca/X86/Znver1/resources-bmi1.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-bmi1.s +++ test/tools/llvm-mca/X86/Znver1/resources-bmi1.s @@ -115,4 +115,3 @@ # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - tzcntl (%rax), %ecx # CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - tzcntq %rax, %rcx # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - tzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/Znver1/resources-bmi2.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-bmi2.s +++ test/tools/llvm-mca/X86/Znver1/resources-bmi2.s @@ -143,4 +143,3 @@ # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - shrxl %eax, (%rbx), %ecx # CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - shrxq %rax, %rbx, %rcx # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - shrxq %rax, (%rbx), %rcx - Index: test/tools/llvm-mca/X86/Znver1/resources-cmov.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-cmov.s +++ test/tools/llvm-mca/X86/Znver1/resources-cmov.s @@ -325,4 +325,3 @@ # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - cmovgeq (%rax), %rdi # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - cmovleq (%rax), %rdi # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - cmovgq (%rax), %rdi - Index: test/tools/llvm-mca/X86/Znver1/resources-f16c.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-f16c.s +++ test/tools/llvm-mca/X86/Znver1/resources-f16c.s @@ -59,4 +59,3 @@ # CHECK-NEXT: - - - - - - - - - - - - vcvtps2ph $0, %xmm0, (%rax) # CHECK-NEXT: - - - - - - - - - - - - vcvtps2ph $0, %ymm0, %xmm2 # CHECK-NEXT: - - - - - - - - - - - - vcvtps2ph $0, %ymm0, (%rax) - Index: test/tools/llvm-mca/X86/Znver1/resources-fma.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-fma.s +++ test/tools/llvm-mca/X86/Znver1/resources-fma.s @@ -703,4 +703,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - 0.50 - - 0.50 - vfnmsub213ss (%rax), %xmm1, %xmm2 # CHECK-NEXT: - - - - - - - 0.50 - - 0.50 - vfnmsub231ss %xmm0, %xmm1, %xmm2 # CHECK-NEXT: 0.50 0.50 - - - - - 0.50 - - 0.50 - vfnmsub231ss (%rax), %xmm1, %xmm2 - Index: test/tools/llvm-mca/X86/Znver1/resources-lzcnt.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-lzcnt.s +++ test/tools/llvm-mca/X86/Znver1/resources-lzcnt.s @@ -52,4 +52,3 @@ # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - lzcntl (%rax), %ecx # CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - lzcntq %rax, %rcx # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - lzcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/Znver1/resources-mmx.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-mmx.s +++ test/tools/llvm-mca/X86/Znver1/resources-mmx.s @@ -395,4 +395,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - punpcklwd (%rax), %mm2 # CHECK-NEXT: - - - - - - - 0.25 0.25 0.25 0.25 - pxor %mm0, %mm2 # CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - pxor (%rax), %mm2 - Index: test/tools/llvm-mca/X86/Znver1/resources-popcnt.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-popcnt.s +++ test/tools/llvm-mca/X86/Znver1/resources-popcnt.s @@ -52,4 +52,3 @@ # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - popcntl (%rax), %ecx # CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - popcntq %rax, %rcx # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - popcntq (%rax), %rcx - Index: test/tools/llvm-mca/X86/Znver1/resources-sse1.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-sse1.s +++ test/tools/llvm-mca/X86/Znver1/resources-sse1.s @@ -463,4 +463,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - - 0.50 0.50 - - unpcklps (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 0.25 0.25 0.25 0.25 - xorps %xmm0, %xmm2 # CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - xorps (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Znver1/resources-sse2.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-sse2.s +++ test/tools/llvm-mca/X86/Znver1/resources-sse2.s @@ -951,4 +951,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - - 0.50 0.50 - - unpcklpd (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 0.25 0.25 0.25 0.25 - xorpd %xmm0, %xmm2 # CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - xorpd (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Znver1/resources-sse3.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-sse3.s +++ test/tools/llvm-mca/X86/Znver1/resources-sse3.s @@ -98,4 +98,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - - 0.50 0.50 - - movshdup (%rax), %xmm2 # CHECK-NEXT: - - - - - - - - - - - - movsldup %xmm0, %xmm2 # CHECK-NEXT: - - - - - - - - - - - - movsldup (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Znver1/resources-sse41.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-sse41.s +++ test/tools/llvm-mca/X86/Znver1/resources-sse41.s @@ -368,4 +368,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - - - - 1.00 - roundsd $1, (%rax), %xmm2 # CHECK-NEXT: - - - - - - - - - - 1.00 - roundss $1, %xmm0, %xmm2 # CHECK-NEXT: 0.50 0.50 - - - - - - - - 1.00 - roundss $1, (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Znver1/resources-sse42.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-sse42.s +++ test/tools/llvm-mca/X86/Znver1/resources-sse42.s @@ -101,4 +101,3 @@ # CHECK-NEXT: - - - - - - - - - - - - pcmpistrm $1, (%rax), %xmm2 # CHECK-NEXT: - - - - - - - 0.50 - - 0.50 - pcmpgtq %xmm0, %xmm2 # CHECK-NEXT: 0.50 0.50 - - - - - 0.50 - - 0.50 - pcmpgtq (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Znver1/resources-sse4a.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-sse4a.s +++ test/tools/llvm-mca/X86/Znver1/resources-sse4a.s @@ -52,4 +52,3 @@ # CHECK-NEXT: - - - - - - - 0.50 1.00 - 0.50 - insertq $22, $22, %xmm0, %xmm2 # CHECK-NEXT: 0.50 0.50 - - - - - - - 1.00 - - movntsd %xmm0, (%rax) # CHECK-NEXT: 0.50 0.50 - - - - - - - 1.00 - - movntss %xmm0, (%rax) - Index: test/tools/llvm-mca/X86/Znver1/resources-ssse3.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-ssse3.s +++ test/tools/llvm-mca/X86/Znver1/resources-ssse3.s @@ -255,4 +255,3 @@ # CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - psignw (%rax), %mm2 # CHECK-NEXT: - - - - - - - 0.25 0.25 0.25 0.25 - psignw %xmm0, %xmm2 # CHECK-NEXT: 0.50 0.50 - - - - - 0.25 0.25 0.25 0.25 - psignw (%rax), %xmm2 - Index: test/tools/llvm-mca/X86/Znver1/resources-x86_64.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-x86_64.s +++ test/tools/llvm-mca/X86/Znver1/resources-x86_64.s @@ -1710,4 +1710,3 @@ # CHECK-NEXT: - - 0.25 0.25 0.25 0.25 - - - - - - xorq %rdi, %rdi # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - xorq %rdi, (%rax) # CHECK-NEXT: 0.50 0.50 0.25 0.25 0.25 0.25 - - - - - - xorq (%rax), %rdi - Index: test/tools/llvm-mca/X86/Znver1/resources-x87.s =================================================================== --- test/tools/llvm-mca/X86/Znver1/resources-x87.s +++ test/tools/llvm-mca/X86/Znver1/resources-x87.s @@ -523,4 +523,3 @@ # CHECK-NEXT: - - - - - - - - - - - - fxtract # CHECK-NEXT: - - - - - - - - - - - - fyl2x # CHECK-NEXT: - - - - - - - - - - - - fyl2xp1 - Index: test/tools/llvm-mca/X86/bextr-read-after-ld.s =================================================================== --- test/tools/llvm-mca/X86/bextr-read-after-ld.s +++ test/tools/llvm-mca/X86/bextr-read-after-ld.s @@ -93,4 +93,3 @@ # ALL: [0] [1] [2] [3] # ALL-NEXT: 0. 1 1.0 1.0 0.0 addl %edi, %esi # ALL-NEXT: 1. 1 1.0 0.0 0.0 bextrl %esi, (%rdi), %eax - Index: test/tools/llvm-mca/X86/bzhi-read-after-ld.s =================================================================== --- test/tools/llvm-mca/X86/bzhi-read-after-ld.s +++ test/tools/llvm-mca/X86/bzhi-read-after-ld.s @@ -74,4 +74,3 @@ # ALL: [0] [1] [2] [3] # ALL-NEXT: 0. 1 1.0 1.0 0.0 addl %edi, %esi # ALL-NEXT: 1. 1 1.0 0.0 0.0 bzhil %esi, (%rdi), %eax - Index: test/tools/llvm-mca/X86/cpus.s =================================================================== --- test/tools/llvm-mca/X86/cpus.s +++ test/tools/llvm-mca/X86/cpus.s @@ -39,4 +39,3 @@ # SKX-AVX512-NEXT: Block RThroughput: 0.3 # SLM-NEXT: Block RThroughput: 0.5 # ZNVER1-NEXT: Block RThroughput: 0.3 - Index: test/tools/llvm-mca/X86/default-iterations.s =================================================================== --- test/tools/llvm-mca/X86/default-iterations.s +++ test/tools/llvm-mca/X86/default-iterations.s @@ -29,4 +29,3 @@ # ALL: [1] [2] [3] [4] [5] [6] Instructions: # ALL-NEXT: 1 1 0.50 addl %eax, %eax - Index: test/tools/llvm-mca/X86/dispatch_width.s =================================================================== --- test/tools/llvm-mca/X86/dispatch_width.s +++ test/tools/llvm-mca/X86/dispatch_width.s @@ -16,4 +16,3 @@ # CUSTOM-NEXT: Block RThroughput: 1.0 # DEFAULT-NEXT: Block RThroughput: 0.5 - Index: test/tools/llvm-mca/X86/fma3-read-after-ld-1.s =================================================================== --- test/tools/llvm-mca/X86/fma3-read-after-ld-1.s +++ test/tools/llvm-mca/X86/fma3-read-after-ld-1.s @@ -61,4 +61,3 @@ # ALL: [0] [1] [2] [3] # ALL-NEXT: 0. 1 1.0 1.0 0.0 vaddps %xmm0, %xmm0, %xmm1 # ALL-NEXT: 1. 1 1.0 0.0 0.0 vfmadd213ps (%rdi), %xmm1, %xmm2 - Index: test/tools/llvm-mca/X86/fma3-read-after-ld-2.s =================================================================== --- test/tools/llvm-mca/X86/fma3-read-after-ld-2.s +++ test/tools/llvm-mca/X86/fma3-read-after-ld-2.s @@ -61,4 +61,3 @@ # ALL: [0] [1] [2] [3] # ALL-NEXT: 0. 1 1.0 1.0 0.0 vaddps %xmm0, %xmm0, %xmm2 # ALL-NEXT: 1. 1 1.0 0.0 0.0 vfmadd213ps (%rdi), %xmm1, %xmm2 - Index: test/tools/llvm-mca/X86/in-order-cpu.s =================================================================== --- test/tools/llvm-mca/X86/in-order-cpu.s +++ test/tools/llvm-mca/X86/in-order-cpu.s @@ -1,4 +1,3 @@ # RUN: not llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=atom -o %t1 2>&1 | FileCheck %s # CHECK: error: please specify an out-of-order cpu. 'atom' is an in-order cpu. - Index: test/tools/llvm-mca/X86/intel-syntax.s =================================================================== --- test/tools/llvm-mca/X86/intel-syntax.s +++ test/tools/llvm-mca/X86/intel-syntax.s @@ -35,4 +35,3 @@ # INTEL-NEXT: 1 1 0.50 mov ebx, 255 # INTEL-NEXT: 2 3 1.00 imul esi, edi # INTEL-NEXT: 1 1 0.50 lea eax, [rsi + rdi] - Index: test/tools/llvm-mca/X86/invalid-assembly-sequence.s =================================================================== --- test/tools/llvm-mca/X86/invalid-assembly-sequence.s +++ test/tools/llvm-mca/X86/invalid-assembly-sequence.s @@ -1,4 +1,3 @@ # RUN: not llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 %s invalid_instruction_mnemonic - Index: test/tools/llvm-mca/X86/invalid-cpu.s =================================================================== --- test/tools/llvm-mca/X86/invalid-cpu.s +++ test/tools/llvm-mca/X86/invalid-cpu.s @@ -1,4 +1,3 @@ # RUN: not llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=foo -o %t1 2>&1 | FileCheck %s # CHECK: 'foo' is not a recognized processor for this target (ignoring processor) - Index: test/tools/llvm-mca/X86/invalid-empty-file.s =================================================================== --- test/tools/llvm-mca/X86/invalid-empty-file.s +++ test/tools/llvm-mca/X86/invalid-empty-file.s @@ -1,4 +1,3 @@ # RUN: not llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=btver2 -o %t1 2>&1 | FileCheck %s # CHECK: error: no assembly instructions found. - Index: test/tools/llvm-mca/X86/llvm-mca-markers-1.s =================================================================== --- test/tools/llvm-mca/X86/llvm-mca-markers-1.s +++ test/tools/llvm-mca/X86/llvm-mca-markers-1.s @@ -7,4 +7,3 @@ # LLVM-MCA-END # CHECK: error: no assembly instructions found. - Index: test/tools/llvm-mca/X86/llvm-mca-markers-2.s =================================================================== --- test/tools/llvm-mca/X86/llvm-mca-markers-2.s +++ test/tools/llvm-mca/X86/llvm-mca-markers-2.s @@ -24,4 +24,3 @@ # CHECK: [1] [2] [3] [4] [5] [6] Instructions: # CHECK-NEXT: 1 1 0.50 addl %edi, %esi - Index: test/tools/llvm-mca/X86/llvm-mca-markers-3.s =================================================================== --- test/tools/llvm-mca/X86/llvm-mca-markers-3.s +++ test/tools/llvm-mca/X86/llvm-mca-markers-3.s @@ -24,4 +24,3 @@ # CHECK: [1] [2] [3] [4] [5] [6] Instructions: # CHECK-NEXT: 1 1 0.50 addl %edi, %eax - Index: test/tools/llvm-mca/X86/llvm-mca-markers-4.s =================================================================== --- test/tools/llvm-mca/X86/llvm-mca-markers-4.s +++ test/tools/llvm-mca/X86/llvm-mca-markers-4.s @@ -28,4 +28,3 @@ # CHECK: [1] [2] [3] [4] [5] [6] Instructions: # CHECK-NEXT: 1 1 0.50 addl %edi, %eax - Index: test/tools/llvm-mca/X86/llvm-mca-markers-5.s =================================================================== --- test/tools/llvm-mca/X86/llvm-mca-markers-5.s +++ test/tools/llvm-mca/X86/llvm-mca-markers-5.s @@ -72,4 +72,3 @@ # CHECK: [1] [2] [3] [4] [5] [6] Instructions: # CHECK-NEXT: 1 1 0.50 addl %edx, %eax - Index: test/tools/llvm-mca/X86/llvm-mca-markers-6.s =================================================================== --- test/tools/llvm-mca/X86/llvm-mca-markers-6.s +++ test/tools/llvm-mca/X86/llvm-mca-markers-6.s @@ -10,4 +10,3 @@ # CHECK-NEXT: # LLVM-MCA-BEGIN bar # CHECK-NEXT: ^ # CHECK-NEXT: error: no assembly instructions found. - Index: test/tools/llvm-mca/X86/llvm-mca-markers-7.s =================================================================== --- test/tools/llvm-mca/X86/llvm-mca-markers-7.s +++ test/tools/llvm-mca/X86/llvm-mca-markers-7.s @@ -9,4 +9,3 @@ # CHECK: llvm-mca-markers-7.s:7:2: warning: Ignoring invalid region end # CHECK-NEXT: # LLVM-MCA-END # CHECK-NEXT: ^ - Index: test/tools/llvm-mca/X86/no-sched-model.s =================================================================== --- test/tools/llvm-mca/X86/no-sched-model.s +++ test/tools/llvm-mca/X86/no-sched-model.s @@ -1,4 +1,3 @@ # RUN: not llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=generic < %s 2>&1 | FileCheck %s # CHECK: error: unable to find instruction-level scheduling information for target triple 'x86_64-unknown-unknown' and cpu 'generic'. - Index: test/tools/llvm-mca/X86/option-all-stats-1.s =================================================================== --- test/tools/llvm-mca/X86/option-all-stats-1.s +++ test/tools/llvm-mca/X86/option-all-stats-1.s @@ -90,4 +90,3 @@ # FULLREPORT: Resource pressure by instruction: # FULLREPORT-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions: # FULLREPORT-NEXT: 0.50 0.50 - - - - - - - - - - - - addl %eax, %eax - Index: test/tools/llvm-mca/X86/option-all-stats-2.s =================================================================== --- test/tools/llvm-mca/X86/option-all-stats-2.s +++ test/tools/llvm-mca/X86/option-all-stats-2.s @@ -91,4 +91,3 @@ # FULL: Resource pressure by instruction: # FULL-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions: # FULL-NEXT: 0.50 0.50 - - - - - - - - - - - - addl %eax, %eax - Index: test/tools/llvm-mca/X86/option-all-views-1.s =================================================================== --- test/tools/llvm-mca/X86/option-all-views-1.s +++ test/tools/llvm-mca/X86/option-all-views-1.s @@ -114,4 +114,3 @@ # FULLREPORT: [0] [1] [2] [3] # FULLREPORT-NEXT: 0. 10 3.5 0.1 0.0 addl %eax, %eax - Index: test/tools/llvm-mca/X86/option-all-views-2.s =================================================================== --- test/tools/llvm-mca/X86/option-all-views-2.s +++ test/tools/llvm-mca/X86/option-all-views-2.s @@ -139,4 +139,3 @@ # FULLREPORT: [0] [1] [2] [3] # FULLREPORT-NEXT: 0. 10 3.5 0.1 0.0 addl %eax, %eax - Index: test/tools/llvm-mca/X86/variable-blend-read-after-ld-1.s =================================================================== --- test/tools/llvm-mca/X86/variable-blend-read-after-ld-1.s +++ test/tools/llvm-mca/X86/variable-blend-read-after-ld-1.s @@ -118,4 +118,3 @@ # SANDY-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3 # SKYLAKE-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3 # ZNVER1-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3 - Index: test/tools/llvm-mca/X86/variable-blend-read-after-ld-2.s =================================================================== --- test/tools/llvm-mca/X86/variable-blend-read-after-ld-2.s +++ test/tools/llvm-mca/X86/variable-blend-read-after-ld-2.s @@ -118,4 +118,3 @@ # SANDY-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3 # SKYLAKE-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3 # ZNVER1-NEXT: 1. 1 1.0 0.0 0.0 vblendvps %xmm1, (%rdi), %xmm2, %xmm3 - Index: utils/update_mca_test_checks.py =================================================================== --- utils/update_mca_test_checks.py +++ utils/update_mca_test_checks.py @@ -441,6 +441,10 @@ output_lines.insert(0, ADVERT) output_lines.extend(output_check_lines) + # The file should not end with two newlines. It creates unnecessary churn. + while len(output_lines) > 0 and output_lines[-1] == '': + output_lines.pop() + if input_lines == output_lines: sys.stderr.write(' [unchanged]\n') return @@ -451,9 +455,7 @@ 'Writing {} lines to {}...\n\n'.format(len(output_lines), test_path)) with open(test_path, 'wb') as f: - for line in output_lines: - f.write('{}\n'.format(line.rstrip()).encode()) - + f.writelines(['{}\n'.format(l).encode() for l in output_lines]) def main(): args = _parse_args()