[Arm] Fix generating code with UB in NeonEmitter (#121802)
[llvm-project.git] / llvm / test / tools / llvm-mca / X86 / Znver2 / resources-rdseed.s
blob36f99eea502be9a875ec5d62fe54eba32f488fcd
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver2 -instruction-tables < %s | FileCheck %s
4 rdseed %ax
5 rdseed %eax
6 rdseed %rax
8 # CHECK: Instruction Info:
9 # CHECK-NEXT: [1]: #uOps
10 # CHECK-NEXT: [2]: Latency
11 # CHECK-NEXT: [3]: RThroughput
12 # CHECK-NEXT: [4]: MayLoad
13 # CHECK-NEXT: [5]: MayStore
14 # CHECK-NEXT: [6]: HasSideEffects (U)
16 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
17 # CHECK-NEXT: 1 100 0.25 U rdseedw %ax
18 # CHECK-NEXT: 1 100 0.25 U rdseedl %eax
19 # CHECK-NEXT: 1 100 0.25 U rdseedq %rax
21 # CHECK: Resources:
22 # CHECK-NEXT: [0] - Zn2AGU0
23 # CHECK-NEXT: [1] - Zn2AGU1
24 # CHECK-NEXT: [2] - Zn2AGU2
25 # CHECK-NEXT: [3] - Zn2ALU0
26 # CHECK-NEXT: [4] - Zn2ALU1
27 # CHECK-NEXT: [5] - Zn2ALU2
28 # CHECK-NEXT: [6] - Zn2ALU3
29 # CHECK-NEXT: [7] - Zn2Divider
30 # CHECK-NEXT: [8] - Zn2FPU0
31 # CHECK-NEXT: [9] - Zn2FPU1
32 # CHECK-NEXT: [10] - Zn2FPU2
33 # CHECK-NEXT: [11] - Zn2FPU3
34 # CHECK-NEXT: [12] - Zn2Multiplier
36 # CHECK: Resource pressure per iteration:
37 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
38 # CHECK-NEXT: - - - - - - - - - - - - -
40 # CHECK: Resource pressure by instruction:
41 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions:
42 # CHECK-NEXT: - - - - - - - - - - - - - rdseedw %ax
43 # CHECK-NEXT: - - - - - - - - - - - - - rdseedl %eax
44 # CHECK-NEXT: - - - - - - - - - - - - - rdseedq %rax