• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=x86-64 -resource-pressure=false -retire-stats -iterations=1 < %s | FileCheck %s
3
4sqrtps %xmm0, %xmm1
5addps  %xmm0, %xmm1
6addps  %xmm0, %xmm1
7addps  %xmm0, %xmm1
8addps  %xmm0, %xmm1
9addps  %xmm0, %xmm1
10addps  %xmm0, %xmm1
11addps  %xmm0, %xmm1
12addps  %xmm0, %xmm1
13addps  %xmm0, %xmm1
14addps  %xmm0, %xmm1
15addps  %xmm0, %xmm1
16addps  %xmm0, %xmm1
17addps  %xmm0, %xmm1
18addps  %xmm0, %xmm1
19addps  %xmm0, %xmm1
20
21# CHECK:      Iterations:        1
22# CHECK-NEXT: Instructions:      16
23# CHECK-NEXT: Total Cycles:      62
24# CHECK-NEXT: Total uOps:        16
25
26# CHECK:      Dispatch Width:    4
27# CHECK-NEXT: uOps Per Cycle:    0.26
28# CHECK-NEXT: IPC:               0.26
29# CHECK-NEXT: Block RThroughput: 15.0
30
31# CHECK:      Instruction Info:
32# CHECK-NEXT: [1]: #uOps
33# CHECK-NEXT: [2]: Latency
34# CHECK-NEXT: [3]: RThroughput
35# CHECK-NEXT: [4]: MayLoad
36# CHECK-NEXT: [5]: MayStore
37# CHECK-NEXT: [6]: HasSideEffects (U)
38
39# CHECK:      [1]    [2]    [3]    [4]    [5]    [6]    Instructions:
40# CHECK-NEXT:  1      14    14.00                       sqrtps	%xmm0, %xmm1
41# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
42# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
43# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
44# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
45# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
46# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
47# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
48# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
49# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
50# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
51# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
52# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
53# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
54# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
55# CHECK-NEXT:  1      3     1.00                        addps	%xmm0, %xmm1
56
57# CHECK:      Retire Control Unit - number of cycles where we saw N instructions retired:
58# CHECK-NEXT: [# retired], [# cycles]
59# CHECK-NEXT:  0,           46  (74.2%)
60# CHECK-NEXT:  1,           16  (25.8%)
61
62# CHECK:      Total ROB Entries:                168
63# CHECK-NEXT: Max Used ROB Entries:             16  ( 9.5% )
64# CHECK-NEXT: Average Used ROB Entries per cy:  9  ( 5.4% )
65