1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=broadwell -instruction-tables < %s | FileCheck %s
5 vcvtph2ps
(%rax
), %xmm2
8 vcvtph2ps
(%rax
), %ymm2
10 vcvtps2ph $
0, %xmm0
, %xmm2
11 vcvtps2ph $
0, %xmm0
, (%rax
)
13 vcvtps2ph $
0, %ymm0
, %xmm2
14 vcvtps2ph $
0, %ymm0
, (%rax
)
16 # CHECK: Instruction Info:
17 # CHECK-NEXT: [1]: #uOps
18 # CHECK-NEXT: [2]: Latency
19 # CHECK-NEXT: [3]: RThroughput
20 # CHECK-NEXT: [4]: MayLoad
21 # CHECK-NEXT: [5]: MayStore
22 # CHECK-NEXT: [6]: HasSideEffects (U)
24 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
25 # CHECK-NEXT: 2 2 1.00 vcvtph2ps %xmm0, %xmm2
26 # CHECK-NEXT: 2 6 1.00 * vcvtph2ps (%rax), %xmm2
27 # CHECK-NEXT: 2 2 1.00 vcvtph2ps %xmm0, %ymm2
28 # CHECK-NEXT: 2 6 1.00 * vcvtph2ps (%rax), %ymm2
29 # CHECK-NEXT: 2 4 1.00 vcvtps2ph $0, %xmm0, %xmm2
30 # CHECK-NEXT: 3 5 1.00 * vcvtps2ph $0, %xmm0, (%rax)
31 # CHECK-NEXT: 2 6 1.00 vcvtps2ph $0, %ymm0, %xmm2
32 # CHECK-NEXT: 3 7 1.00 * vcvtps2ph $0, %ymm0, (%rax)
35 # CHECK-NEXT: [0] - BWDivider
36 # CHECK-NEXT: [1] - BWFPDivider
37 # CHECK-NEXT: [2] - BWPort0
38 # CHECK-NEXT: [3] - BWPort1
39 # CHECK-NEXT: [4] - BWPort2
40 # CHECK-NEXT: [5] - BWPort3
41 # CHECK-NEXT: [6] - BWPort4
42 # CHECK-NEXT: [7] - BWPort5
43 # CHECK-NEXT: [8] - BWPort6
44 # CHECK-NEXT: [9] - BWPort7
46 # CHECK: Resource pressure per iteration:
47 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
48 # CHECK-NEXT: - - 4.00 4.00 1.67 1.67 2.00 4.00 - 0.67
50 # CHECK: Resource pressure by instruction:
51 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] Instructions:
52 # CHECK-NEXT: - - 1.00 - - - - 1.00 - - vcvtph2ps %xmm0, %xmm2
53 # CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - vcvtph2ps (%rax), %xmm2
54 # CHECK-NEXT: - - 1.00 - - - - 1.00 - - vcvtph2ps %xmm0, %ymm2
55 # CHECK-NEXT: - - 1.00 - 0.50 0.50 - - - - vcvtph2ps (%rax), %ymm2
56 # CHECK-NEXT: - - - 1.00 - - - 1.00 - - vcvtps2ph $0, %xmm0, %xmm2
57 # CHECK-NEXT: - - - 1.00 0.33 0.33 1.00 - - 0.33 vcvtps2ph $0, %xmm0, (%rax)
58 # CHECK-NEXT: - - - 1.00 - - - 1.00 - - vcvtps2ph $0, %ymm0, %xmm2
59 # CHECK-NEXT: - - - 1.00 0.33 0.33 1.00 - - 0.33 vcvtps2ph $0, %ymm0, (%rax)