[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / llvm-mca / X86 / Generic / resources-rdseed.s
blobc97d4192b323b3388ec9e4144042f9e0808fb529
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 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.33 U rdseedw %ax
18 # CHECK-NEXT: 1 100 0.33 U rdseedl %eax
19 # CHECK-NEXT: 1 100 0.33 U rdseedq %rax
21 # CHECK: Resources:
22 # CHECK-NEXT: [0] - SBDivider
23 # CHECK-NEXT: [1] - SBFPDivider
24 # CHECK-NEXT: [2] - SBPort0
25 # CHECK-NEXT: [3] - SBPort1
26 # CHECK-NEXT: [4] - SBPort4
27 # CHECK-NEXT: [5] - SBPort5
28 # CHECK-NEXT: [6.0] - SBPort23
29 # CHECK-NEXT: [6.1] - SBPort23
31 # CHECK: Resource pressure per iteration:
32 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1]
33 # CHECK-NEXT: - - 1.00 1.00 - 1.00 - -
35 # CHECK: Resource pressure by instruction:
36 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
37 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - rdseedw %ax
38 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - rdseedl %eax
39 # CHECK-NEXT: - - 0.33 0.33 - 0.33 - - rdseedq %rax