• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,BARCELONA %s
3# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,BDVER2 %s
4# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=btver2 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,BTVER2 %s
5# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=znver1 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,ZNVER1 %s
6# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=znver2 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,ZNVER2 %s
7# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=sandybridge -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,SANDYBRIDGE %s
8# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=ivybridge -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,IVYBRIDGE %s
9# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=haswell -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,HASWELL %s
10# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=broadwell -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,BROADWELL %s
11# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=knl -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,KNL %s
12# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=skylake -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,SKX %s
13# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=skylake-avx512 -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,SKX-AVX512 %s
14# RUN: llvm-mca %s -mtriple=x86_64-unknown-unknown -mcpu=slm -resource-pressure=false -instruction-info=false < %s | FileCheck --check-prefixes=ALL,SLM %s
15
16add %edi, %eax
17
18# ALL:              Iterations:        100
19# ALL-NEXT:         Instructions:      100
20# ALL-NEXT:         Total Cycles:      103
21# ALL-NEXT:         Total uOps:        100
22
23# BARCELONA:        Dispatch Width:    4
24# BARCELONA-NEXT:   uOps Per Cycle:    0.97
25# BARCELONA-NEXT:   IPC:               0.97
26# BARCELONA-NEXT:   Block RThroughput: 0.3
27
28# BDVER2:           Dispatch Width:    4
29# BDVER2-NEXT:      uOps Per Cycle:    0.97
30# BDVER2-NEXT:      IPC:               0.97
31# BDVER2-NEXT:      Block RThroughput: 1.0
32
33# BROADWELL:        Dispatch Width:    4
34# BROADWELL-NEXT:   uOps Per Cycle:    0.97
35# BROADWELL-NEXT:   IPC:               0.97
36# BROADWELL-NEXT:   Block RThroughput: 0.3
37
38# BTVER2:           Dispatch Width:    2
39# BTVER2-NEXT:      uOps Per Cycle:    0.97
40# BTVER2-NEXT:      IPC:               0.97
41# BTVER2-NEXT:      Block RThroughput: 0.5
42
43# HASWELL:          Dispatch Width:    4
44# HASWELL-NEXT:     uOps Per Cycle:    0.97
45# HASWELL-NEXT:     IPC:               0.97
46# HASWELL-NEXT:     Block RThroughput: 0.3
47
48# IVYBRIDGE:        Dispatch Width:    4
49# IVYBRIDGE-NEXT:   uOps Per Cycle:    0.97
50# IVYBRIDGE-NEXT:   IPC:               0.97
51# IVYBRIDGE-NEXT:   Block RThroughput: 0.3
52
53# KNL:              Dispatch Width:    4
54# KNL-NEXT:         uOps Per Cycle:    0.97
55# KNL-NEXT:         IPC:               0.97
56# KNL-NEXT:         Block RThroughput: 0.3
57
58# SANDYBRIDGE:      Dispatch Width:    4
59# SANDYBRIDGE-NEXT: uOps Per Cycle:    0.97
60# SANDYBRIDGE-NEXT: IPC:               0.97
61# SANDYBRIDGE-NEXT: Block RThroughput: 0.3
62
63# SKX:              Dispatch Width:    6
64# SKX-NEXT:         uOps Per Cycle:    0.97
65# SKX-NEXT:         IPC:               0.97
66# SKX-NEXT:         Block RThroughput: 0.3
67
68# SKX-AVX512:       Dispatch Width:    6
69# SKX-AVX512-NEXT:  uOps Per Cycle:    0.97
70# SKX-AVX512-NEXT:  IPC:               0.97
71# SKX-AVX512-NEXT:  Block RThroughput: 0.3
72
73# SLM:              Dispatch Width:    2
74# SLM-NEXT:         uOps Per Cycle:    0.97
75# SLM-NEXT:         IPC:               0.97
76# SLM-NEXT:         Block RThroughput: 0.5
77
78# ZNVER1:           Dispatch Width:    4
79# ZNVER1-NEXT:      uOps Per Cycle:    0.97
80# ZNVER1-NEXT:      IPC:               0.97
81# ZNVER1-NEXT:      Block RThroughput: 0.3
82
83# ZNVER2:           Dispatch Width:    4
84# ZNVER2-NEXT:      uOps Per Cycle:    0.97
85# ZNVER2-NEXT:      IPC:               0.97
86# ZNVER2-NEXT:      Block RThroughput: 0.3
87