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 6 7 shl $5, %eax 8 shl $0x5, %eax 9 shl $5h, %eax 10 shl $101b, %eax 11 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) 19 20# ALL: [1] [2] [3] [4] [5] [6] Instructions: 21 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 26 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 31