1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[llvm-mca] Regenerate test Atom/resources-sse3.s. NFC

Before this change, it wrongly specified -mcpu=slm instead of -mcpu=atom.

llvm-svn: 331170
This commit is contained in:
Andrea Di Biagio 2018-04-30 12:13:04 +00:00
parent db2c85fda5
commit cd51e663da

View File

@ -1,5 +1,5 @@
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=slm -instruction-tables < %s | FileCheck %s
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=atom -instruction-tables < %s | FileCheck %s
addsubpd %xmm0, %xmm2
addsubpd (%rax), %xmm2
@ -39,59 +39,53 @@ movsldup (%rax), %xmm2
# CHECK-NEXT: [6]: HasSideEffects
# CHECK: [1] [2] [3] [4] [5] [6] Instructions:
# CHECK-NEXT: 1 3 1.00 addsubpd %xmm0, %xmm2
# CHECK-NEXT: 1 6 1.00 * addsubpd (%rax), %xmm2
# CHECK-NEXT: 1 3 1.00 addsubps %xmm0, %xmm2
# CHECK-NEXT: 1 6 1.00 * addsubps (%rax), %xmm2
# CHECK-NEXT: 1 3 1.00 haddpd %xmm0, %xmm2
# CHECK-NEXT: 1 6 1.00 * haddpd (%rax), %xmm2
# CHECK-NEXT: 1 3 1.00 haddps %xmm0, %xmm2
# CHECK-NEXT: 1 6 1.00 * haddps (%rax), %xmm2
# CHECK-NEXT: 1 3 1.00 hsubpd %xmm0, %xmm2
# CHECK-NEXT: 1 6 1.00 * hsubpd (%rax), %xmm2
# CHECK-NEXT: 1 3 1.00 hsubps %xmm0, %xmm2
# CHECK-NEXT: 1 6 1.00 * hsubps (%rax), %xmm2
# CHECK-NEXT: 1 3 1.00 * lddqu (%rax), %xmm2
# CHECK-NEXT: 1 6 3.00 addsubpd %xmm0, %xmm2
# CHECK-NEXT: 1 6 3.00 * addsubpd (%rax), %xmm2
# CHECK-NEXT: 1 5 5.00 addsubps %xmm0, %xmm2
# CHECK-NEXT: 1 5 5.00 * addsubps (%rax), %xmm2
# CHECK-NEXT: 1 8 4.00 haddpd %xmm0, %xmm2
# CHECK-NEXT: 1 9 4.50 * haddpd (%rax), %xmm2
# CHECK-NEXT: 1 8 4.00 haddps %xmm0, %xmm2
# CHECK-NEXT: 1 9 4.50 * haddps (%rax), %xmm2
# CHECK-NEXT: 1 8 4.00 hsubpd %xmm0, %xmm2
# CHECK-NEXT: 1 9 4.50 * hsubpd (%rax), %xmm2
# CHECK-NEXT: 1 8 4.00 hsubps %xmm0, %xmm2
# CHECK-NEXT: 1 9 4.50 * hsubps (%rax), %xmm2
# CHECK-NEXT: 1 3 1.50 * lddqu (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 movddup %xmm0, %xmm2
# CHECK-NEXT: 1 4 1.00 * movddup (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 * movddup (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 movshdup %xmm0, %xmm2
# CHECK-NEXT: 1 4 1.00 * movshdup (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 * movshdup (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 movsldup %xmm0, %xmm2
# CHECK-NEXT: 1 4 1.00 * movsldup (%rax), %xmm2
# CHECK-NEXT: 1 1 1.00 * movsldup (%rax), %xmm2
# CHECK: Resources:
# CHECK-NEXT: [0] - SLMDivider
# CHECK-NEXT: [1] - SLMFPDivider
# CHECK-NEXT: [2] - SLMFPMultiplier
# CHECK-NEXT: [3] - SLM_FPC_RSV0
# CHECK-NEXT: [4] - SLM_FPC_RSV1
# CHECK-NEXT: [5] - SLM_IEC_RSV0
# CHECK-NEXT: [6] - SLM_IEC_RSV1
# CHECK-NEXT: [7] - SLM_MEC_RSV
# CHECK-NEXT: [0] - AtomPort0
# CHECK-NEXT: [1] - AtomPort1
# CHECK: Resource pressure per iteration:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7]
# CHECK-NEXT: - - - 14.00 12.00 - - 10.00
# CHECK-NEXT: [0] [1]
# CHECK-NEXT: 57.50 41.50
# CHECK: Resource pressure by instruction:
# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] Instructions:
# CHECK-NEXT: - - - - 1.00 - - - addsubpd %xmm0, %xmm2
# CHECK-NEXT: - - - - 1.00 - - 1.00 addsubpd (%rax), %xmm2
# CHECK-NEXT: - - - - 1.00 - - - addsubps %xmm0, %xmm2
# CHECK-NEXT: - - - - 1.00 - - 1.00 addsubps (%rax), %xmm2
# CHECK-NEXT: - - - 1.00 1.00 - - - haddpd %xmm0, %xmm2
# CHECK-NEXT: - - - 1.00 1.00 - - 1.00 haddpd (%rax), %xmm2
# CHECK-NEXT: - - - 1.00 1.00 - - - haddps %xmm0, %xmm2
# CHECK-NEXT: - - - 1.00 1.00 - - 1.00 haddps (%rax), %xmm2
# CHECK-NEXT: - - - 1.00 1.00 - - - hsubpd %xmm0, %xmm2
# CHECK-NEXT: - - - 1.00 1.00 - - 1.00 hsubpd (%rax), %xmm2
# CHECK-NEXT: - - - 1.00 1.00 - - - hsubps %xmm0, %xmm2
# CHECK-NEXT: - - - 1.00 1.00 - - 1.00 hsubps (%rax), %xmm2
# CHECK-NEXT: - - - - - - - 1.00 lddqu (%rax), %xmm2
# CHECK-NEXT: - - - 1.00 - - - - movddup %xmm0, %xmm2
# CHECK-NEXT: - - - 1.00 - - - 1.00 movddup (%rax), %xmm2
# CHECK-NEXT: - - - 1.00 - - - - movshdup %xmm0, %xmm2
# 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
# CHECK-NEXT: [0] [1] Instructions:
# CHECK-NEXT: 3.00 3.00 addsubpd %xmm0, %xmm2
# CHECK-NEXT: 3.00 3.00 addsubpd (%rax), %xmm2
# CHECK-NEXT: 5.00 - addsubps %xmm0, %xmm2
# CHECK-NEXT: 5.00 - addsubps (%rax), %xmm2
# CHECK-NEXT: 4.00 4.00 haddpd %xmm0, %xmm2
# CHECK-NEXT: 4.50 4.50 haddpd (%rax), %xmm2
# CHECK-NEXT: 4.00 4.00 haddps %xmm0, %xmm2
# CHECK-NEXT: 4.50 4.50 haddps (%rax), %xmm2
# CHECK-NEXT: 4.00 4.00 hsubpd %xmm0, %xmm2
# CHECK-NEXT: 4.50 4.50 hsubpd (%rax), %xmm2
# CHECK-NEXT: 4.00 4.00 hsubps %xmm0, %xmm2
# CHECK-NEXT: 4.50 4.50 hsubps (%rax), %xmm2
# CHECK-NEXT: 1.50 1.50 lddqu (%rax), %xmm2
# CHECK-NEXT: 1.00 - movddup %xmm0, %xmm2
# CHECK-NEXT: 1.00 - movddup (%rax), %xmm2
# CHECK-NEXT: 1.00 - movshdup %xmm0, %xmm2
# CHECK-NEXT: 1.00 - movshdup (%rax), %xmm2
# CHECK-NEXT: 1.00 - movsldup %xmm0, %xmm2
# CHECK-NEXT: 1.00 - movsldup (%rax), %xmm2