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 3 4rdfsbase %eax 5rdfsbase %rax 6 7rdgsbase %eax 8rdgsbase %rax 9 10wrfsbase %edi 11wrfsbase %rdi 12 13wrgsbase %edi 14wrgsbase %rdi 15 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) 23 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 33 34# CHECK: Resources: 35# CHECK-NEXT: [0] - Zn2AGU0 36# CHECK-NEXT: [1] - Zn2AGU1 37# CHECK-NEXT: [2] - Zn2AGU2 38# CHECK-NEXT: [3] - Zn2ALU0 39# CHECK-NEXT: [4] - Zn2ALU1 40# CHECK-NEXT: [5] - Zn2ALU2 41# CHECK-NEXT: [6] - Zn2ALU3 42# CHECK-NEXT: [7] - Zn2Divider 43# CHECK-NEXT: [8] - Zn2FPU0 44# CHECK-NEXT: [9] - Zn2FPU1 45# CHECK-NEXT: [10] - Zn2FPU2 46# CHECK-NEXT: [11] - Zn2FPU3 47# CHECK-NEXT: [12] - Zn2Multiplier 48 49# CHECK: Resource pressure per iteration: 50# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] 51# CHECK-NEXT: - - - - - - - - - - - - - 52 53# CHECK: Resource pressure by instruction: 54# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] Instructions: 55# CHECK-NEXT: - - - - - - - - - - - - - rdfsbasel %eax 56# CHECK-NEXT: - - - - - - - - - - - - - rdfsbaseq %rax 57# CHECK-NEXT: - - - - - - - - - - - - - rdgsbasel %eax 58# CHECK-NEXT: - - - - - - - - - - - - - rdgsbaseq %rax 59# CHECK-NEXT: - - - - - - - - - - - - - wrfsbasel %edi 60# CHECK-NEXT: - - - - - - - - - - - - - wrfsbaseq %rdi 61# CHECK-NEXT: - - - - - - - - - - - - - wrgsbasel %edi 62# CHECK-NEXT: - - - - - - - - - - - - - wrgsbaseq %rdi 63