summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-mca/X86/dispatch_width.s
blob: 2bd8cede46da26e1ba0e1dbe82fcbe60aa13bcfc (plain)
1
2
3
4
5
6
7
8
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 < %s 2>&1 | FileCheck --check-prefix=DEFAULT %s
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -dispatch=0 < %s 2>&1 | FileCheck --check-prefix=DEFAULT %s
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=btver2 -dispatch=1 < %s 2>&1 | FileCheck --check-prefix=CUSTOM %s

add %eax, %eax

# DEFAULT: Dispatch Width: 2
# CUSTOM: Dispatch Width: 1
OpenPOWER on IntegriCloud