1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py 2# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=slm -instruction-tables < %s | FileCheck %s 3 4prefetch (%rax) 5prefetchw (%rax) 6 7# CHECK: Instruction Info: 8# CHECK-NEXT: [1]: #uOps 9# CHECK-NEXT: [2]: Latency 10# CHECK-NEXT: [3]: RThroughput 11# CHECK-NEXT: [4]: MayLoad 12# CHECK-NEXT: [5]: MayStore 13# CHECK-NEXT: [6]: HasSideEffects (U) 14 15# CHECK: [1] [2] [3] [4] [5] [6] Instructions: 16# CHECK-NEXT: 1 3 1.00 * * prefetch (%rax) 17# CHECK-NEXT: 1 3 1.00 * * prefetchw (%rax) 18 19# CHECK: Resources: 20# CHECK-NEXT: [0] - SLMDivider 21# CHECK-NEXT: [1] - SLMFPDivider 22# CHECK-NEXT: [2] - SLMFPMultiplier 23# CHECK-NEXT: [3] - SLM_FPC_RSV0 24# CHECK-NEXT: [4] - SLM_FPC_RSV1 25# CHECK-NEXT: [5] - SLM_IEC_RSV0 26# CHECK-NEXT: [6] - SLM_IEC_RSV1 27# CHECK-NEXT: [7] - SLM_MEC_RSV 28 29# CHECK: Resource pressure per iteration: 30# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] 31# CHECK-NEXT: - - - - - - - 2.00 32 33# CHECK: Resource pressure by instruction: 34# CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] Instructions: 35# CHECK-NEXT: - - - - - - - 1.00 prefetch (%rax) 36# CHECK-NEXT: - - - - - - - 1.00 prefetchw (%rax) 37