[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git] / test / tools / llvm-mca / X86 / Generic / resources-adx.s
blob25f08545e4a4d25a1d1fb3daa4460999f3b72458
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -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: 2 2 0.67 adcxl %ebx, %ecx
24 # CHECK-NEXT: 3 7 0.67 * adcxl (%rbx), %ecx
25 # CHECK-NEXT: 2 2 0.67 adcxq %rbx, %rcx
26 # CHECK-NEXT: 3 7 0.67 * adcxq (%rbx), %rcx
27 # CHECK-NEXT: 2 2 0.67 adoxl %ebx, %ecx
28 # CHECK-NEXT: 3 7 0.67 * adoxl (%rbx), %ecx
29 # CHECK-NEXT: 2 2 0.67 adoxq %rbx, %rcx
30 # CHECK-NEXT: 3 7 0.67 * adoxq (%rbx), %rcx
32 # CHECK: Resources:
33 # CHECK-NEXT: [0] - SBDivider
34 # CHECK-NEXT: [1] - SBFPDivider
35 # CHECK-NEXT: [2] - SBPort0
36 # CHECK-NEXT: [3] - SBPort1
37 # CHECK-NEXT: [4] - SBPort4
38 # CHECK-NEXT: [5] - SBPort5
39 # CHECK-NEXT: [6.0] - SBPort23
40 # CHECK-NEXT: [6.1] - SBPort23
42 # CHECK: Resource pressure per iteration:
43 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1]
44 # CHECK-NEXT: - - 6.67 2.67 - 6.67 2.00 2.00
46 # CHECK: Resource pressure by instruction:
47 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
48 # CHECK-NEXT: - - 0.83 0.33 - 0.83 - - adcxl %ebx, %ecx
49 # CHECK-NEXT: - - 0.83 0.33 - 0.83 0.50 0.50 adcxl (%rbx), %ecx
50 # CHECK-NEXT: - - 0.83 0.33 - 0.83 - - adcxq %rbx, %rcx
51 # CHECK-NEXT: - - 0.83 0.33 - 0.83 0.50 0.50 adcxq (%rbx), %rcx
52 # CHECK-NEXT: - - 0.83 0.33 - 0.83 - - adoxl %ebx, %ecx
53 # CHECK-NEXT: - - 0.83 0.33 - 0.83 0.50 0.50 adoxl (%rbx), %ecx
54 # CHECK-NEXT: - - 0.83 0.33 - 0.83 - - adoxq %rbx, %rcx
55 # CHECK-NEXT: - - 0.83 0.33 - 0.83 0.50 0.50 adoxq (%rbx), %rcx