[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git] / test / tools / llvm-mca / X86 / SkylakeServer / resources-fsgsbase.s
blob1d7d49a3189de2a5374cb71a8ad08ff134154a58
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=skylake-avx512 -instruction-tables < %s | FileCheck %s
4 rdfsbase %eax
5 rdfsbase %rax
7 rdgsbase %eax
8 rdgsbase %rax
10 wrfsbase %edi
11 wrfsbase %rdi
13 wrgsbase %edi
14 wrgsbase %rdi
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 100 0.25 * * U rdfsbasel %eax
26 # CHECK-NEXT: 1 100 0.25 * * U rdfsbaseq %rax
27 # CHECK-NEXT: 1 100 0.25 * * U rdgsbasel %eax
28 # CHECK-NEXT: 1 100 0.25 * * U rdgsbaseq %rax
29 # CHECK-NEXT: 1 100 0.25 * * U wrfsbasel %edi
30 # CHECK-NEXT: 1 100 0.25 * * U wrfsbaseq %rdi
31 # CHECK-NEXT: 1 100 0.25 * * U wrgsbasel %edi
32 # CHECK-NEXT: 1 100 0.25 * * U wrgsbaseq %rdi
34 # CHECK: Resources:
35 # CHECK-NEXT: [0] - SKXDivider
36 # CHECK-NEXT: [1] - SKXFPDivider
37 # CHECK-NEXT: [2] - SKXPort0
38 # CHECK-NEXT: [3] - SKXPort1
39 # CHECK-NEXT: [4] - SKXPort2
40 # CHECK-NEXT: [5] - SKXPort3
41 # CHECK-NEXT: [6] - SKXPort4
42 # CHECK-NEXT: [7] - SKXPort5
43 # CHECK-NEXT: [8] - SKXPort6
44 # CHECK-NEXT: [9] - SKXPort7
46 # CHECK: Resource pressure per iteration:
47 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
48 # CHECK-NEXT: - - 2.00 2.00 - - - 2.00 2.00 -
50 # CHECK: Resource pressure by instruction:
51 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] Instructions:
52 # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - rdfsbasel %eax
53 # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - rdfsbaseq %rax
54 # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - rdgsbasel %eax
55 # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - rdgsbaseq %rax
56 # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - wrfsbasel %edi
57 # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - wrfsbaseq %rdi
58 # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - wrgsbasel %edi
59 # CHECK-NEXT: - - 0.25 0.25 - - - 0.25 0.25 - wrgsbaseq %rdi