1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -instruction-info < %s | FileCheck %s --check-prefixes=ALL,DEFAULT
3 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -instruction-info -print-imm-hex=false < %s | FileCheck %s --check-prefixes=ALL,DEFAULT
4 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -instruction-info -print-imm-hex < %s | FileCheck %s --check-prefixes=ALL,HEX
5 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -instruction-info -print-imm-hex=true < %s | FileCheck %s --check-prefixes=ALL,HEX
12 # ALL: Instruction Info:
13 # ALL-NEXT: [1]: #uOps
14 # ALL-NEXT: [2]: Latency
15 # ALL-NEXT: [3]: RThroughput
16 # ALL-NEXT: [4]: MayLoad
17 # ALL-NEXT: [5]: MayStore
18 # ALL-NEXT: [6]: HasSideEffects (U)
20 # ALL: [1] [2] [3] [4] [5] [6] Instructions:
22 # DEFAULT-NEXT: 1 1 0.50 shll $5, %eax
23 # DEFAULT-NEXT: 1 1 0.50 shll $5, %eax
24 # DEFAULT-NEXT: 1 1 0.50 shll $5, %eax
25 # DEFAULT-NEXT: 1 1 0.50 shll $5, %eax
27 # HEX-NEXT: 1 1 0.50 shll $0x5, %eax
28 # HEX-NEXT: 1 1 0.50 shll $0x5, %eax
29 # HEX-NEXT: 1 1 0.50 shll $0x5, %eax
30 # HEX-NEXT: 1 1 0.50 shll $0x5, %eax