Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-mca / X86 / BdVer2 / resources-adx.s
blobe8bafab3fa604c12f85264ae2f58322fdf8a584b
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -instruction-tables < %s | FileCheck %s
4 adcx %ebx, %ecx
5 adcx (%rbx), %ecx
6 adcx %rbx, %rcx
7 adcx (%rbx), %rcx
9 adox %ebx, %ecx
10 adox (%rbx), %ecx
11 adox %rbx, %rcx
12 adox (%rbx), %rcx
14 # CHECK: Instruction Info:
15 # CHECK-NEXT: [1]: #uOps
16 # CHECK-NEXT: [2]: Latency
17 # CHECK-NEXT: [3]: RThroughput
18 # CHECK-NEXT: [4]: MayLoad
19 # CHECK-NEXT: [5]: MayStore
20 # CHECK-NEXT: [6]: HasSideEffects (U)
22 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
23 # CHECK-NEXT: 1 1 1.00 adcxl %ebx, %ecx
24 # CHECK-NEXT: 1 5 1.50 * adcxl (%rbx), %ecx
25 # CHECK-NEXT: 1 1 1.00 adcxq %rbx, %rcx
26 # CHECK-NEXT: 1 5 1.50 * adcxq (%rbx), %rcx
27 # CHECK-NEXT: 1 1 1.00 adoxl %ebx, %ecx
28 # CHECK-NEXT: 1 5 1.50 * adoxl (%rbx), %ecx
29 # CHECK-NEXT: 1 1 1.00 adoxq %rbx, %rcx
30 # CHECK-NEXT: 1 5 1.50 * adoxq (%rbx), %rcx
32 # CHECK: Resources:
33 # CHECK-NEXT: [0.0] - PdAGLU01
34 # CHECK-NEXT: [0.1] - PdAGLU01
35 # CHECK-NEXT: [1] - PdBranch
36 # CHECK-NEXT: [2] - PdCount
37 # CHECK-NEXT: [3] - PdDiv
38 # CHECK-NEXT: [4] - PdEX0
39 # CHECK-NEXT: [5] - PdEX1
40 # CHECK-NEXT: [6] - PdFPCVT
41 # CHECK-NEXT: [7.0] - PdFPFMA
42 # CHECK-NEXT: [7.1] - PdFPFMA
43 # CHECK-NEXT: [8.0] - PdFPMAL
44 # CHECK-NEXT: [8.1] - PdFPMAL
45 # CHECK-NEXT: [9] - PdFPMMA
46 # CHECK-NEXT: [10] - PdFPSTO
47 # CHECK-NEXT: [11] - PdFPU0
48 # CHECK-NEXT: [12] - PdFPU1
49 # CHECK-NEXT: [13] - PdFPU2
50 # CHECK-NEXT: [14] - PdFPU3
51 # CHECK-NEXT: [15] - PdFPXBR
52 # CHECK-NEXT: [16.0] - PdLoad
53 # CHECK-NEXT: [16.1] - PdLoad
54 # CHECK-NEXT: [17] - PdMul
55 # CHECK-NEXT: [18] - PdStore
57 # CHECK: Resource pressure per iteration:
58 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18]
59 # CHECK-NEXT: 6.00 6.00 - - - 8.00 8.00 - - - - - - - - - - - - 6.00 6.00 - -
61 # CHECK: Resource pressure by instruction:
62 # CHECK-NEXT: [0.0] [0.1] [1] [2] [3] [4] [5] [6] [7.0] [7.1] [8.0] [8.1] [9] [10] [11] [12] [13] [14] [15] [16.0] [16.1] [17] [18] Instructions:
63 # CHECK-NEXT: - - - - - 1.00 1.00 - - - - - - - - - - - - - - - - adcxl %ebx, %ecx
64 # CHECK-NEXT: 1.50 1.50 - - - 1.00 1.00 - - - - - - - - - - - - 1.50 1.50 - - adcxl (%rbx), %ecx
65 # CHECK-NEXT: - - - - - 1.00 1.00 - - - - - - - - - - - - - - - - adcxq %rbx, %rcx
66 # CHECK-NEXT: 1.50 1.50 - - - 1.00 1.00 - - - - - - - - - - - - 1.50 1.50 - - adcxq (%rbx), %rcx
67 # CHECK-NEXT: - - - - - 1.00 1.00 - - - - - - - - - - - - - - - - adoxl %ebx, %ecx
68 # CHECK-NEXT: 1.50 1.50 - - - 1.00 1.00 - - - - - - - - - - - - 1.50 1.50 - - adoxl (%rbx), %ecx
69 # CHECK-NEXT: - - - - - 1.00 1.00 - - - - - - - - - - - - - - - - adoxq %rbx, %rcx
70 # CHECK-NEXT: 1.50 1.50 - - - 1.00 1.00 - - - - - - - - - - - - 1.50 1.50 - - adoxq (%rbx), %rcx