Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / BtVer2 / resources-f16c.s
blob2c8587f86294e16af6ddbac9817b270de6ae7821
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -instruction-tables < %s | FileCheck %s
4 vcvtph2ps %xmm0, %xmm2
5 vcvtph2ps (%rax), %xmm2
7 vcvtph2ps %xmm0, %ymm2
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: 1 3 1.00 vcvtph2ps %xmm0, %xmm2
26 # CHECK-NEXT: 1 8 1.00 * vcvtph2ps (%rax), %xmm2
27 # CHECK-NEXT: 2 3 2.00 vcvtph2ps %xmm0, %ymm2
28 # CHECK-NEXT: 2 8 2.00 * vcvtph2ps (%rax), %ymm2
29 # CHECK-NEXT: 1 3 1.00 vcvtps2ph $0, %xmm0, %xmm2
30 # CHECK-NEXT: 1 4 1.00 * vcvtps2ph $0, %xmm0, (%rax)
31 # CHECK-NEXT: 3 6 2.00 vcvtps2ph $0, %ymm0, %xmm2
32 # CHECK-NEXT: 3 7 2.00 * vcvtps2ph $0, %ymm0, (%rax)
34 # CHECK: Resources:
35 # CHECK-NEXT: [0] - JALU0
36 # CHECK-NEXT: [1] - JALU1
37 # CHECK-NEXT: [2] - JDiv
38 # CHECK-NEXT: [3] - JFPA
39 # CHECK-NEXT: [4] - JFPM
40 # CHECK-NEXT: [5] - JFPU0
41 # CHECK-NEXT: [6] - JFPU1
42 # CHECK-NEXT: [7] - JLAGU
43 # CHECK-NEXT: [8] - JMul
44 # CHECK-NEXT: [9] - JSAGU
45 # CHECK-NEXT: [10] - JSTC
46 # CHECK-NEXT: [11] - JVALU0
47 # CHECK-NEXT: [12] - JVALU1
48 # CHECK-NEXT: [13] - JVIMUL
50 # CHECK: Resource pressure per iteration:
51 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
52 # CHECK-NEXT: - - - 2.00 2.00 - 12.00 3.00 - 2.00 12.00 - - -
54 # CHECK: Resource pressure by instruction:
55 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] Instructions:
56 # CHECK-NEXT: - - - - - - 1.00 - - - 1.00 - - - vcvtph2ps %xmm0, %xmm2
57 # CHECK-NEXT: - - - - - - 1.00 1.00 - - 1.00 - - - vcvtph2ps (%rax), %xmm2
58 # CHECK-NEXT: - - - - - - 2.00 - - - 2.00 - - - vcvtph2ps %xmm0, %ymm2
59 # CHECK-NEXT: - - - - - - 2.00 2.00 - - 2.00 - - - vcvtph2ps (%rax), %ymm2
60 # CHECK-NEXT: - - - - - - 1.00 - - - 1.00 - - - vcvtps2ph $0, %xmm0, %xmm2
61 # CHECK-NEXT: - - - - - - 1.00 - - 1.00 1.00 - - - vcvtps2ph $0, %xmm0, (%rax)
62 # CHECK-NEXT: - - - 1.00 1.00 - 2.00 - - - 2.00 - - - vcvtps2ph $0, %ymm0, %xmm2
63 # CHECK-NEXT: - - - 1.00 1.00 - 2.00 - - 1.00 2.00 - - - vcvtps2ph $0, %ymm0, (%rax)