brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 26ba26f Raw
31 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py2# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -instruction-info < %s | FileCheck %s --check-prefixes=ALL,DEFAULT3# 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,DEFAULT4# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -all-views=false -instruction-info -print-imm-hex < %s | FileCheck %s --check-prefixes=ALL,HEX5# 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,HEX6 7  shl $5,    %eax8  shl $0x5,  %eax9  shl $5h,   %eax10  shl $101b, %eax11 12# ALL:          Instruction Info:13# ALL-NEXT:     [1]: #uOps14# ALL-NEXT:     [2]: Latency15# ALL-NEXT:     [3]: RThroughput16# ALL-NEXT:     [4]: MayLoad17# ALL-NEXT:     [5]: MayStore18# 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, %eax23# DEFAULT-NEXT:  1      1     0.50                        shll	$5, %eax24# DEFAULT-NEXT:  1      1     0.50                        shll	$5, %eax25# DEFAULT-NEXT:  1      1     0.50                        shll	$5, %eax26 27# HEX-NEXT:      1      1     0.50                        shll	$0x5, %eax28# HEX-NEXT:      1      1     0.50                        shll	$0x5, %eax29# HEX-NEXT:      1      1     0.50                        shll	$0x5, %eax30# HEX-NEXT:      1      1     0.50                        shll	$0x5, %eax31