[llvm-mca] Simplify test (NFC)
authorEvandro Menezes <e.menezes@samsung.com>
Wed, 5 Dec 2018 18:34:51 +0000 (18:34 +0000)
committerEvandro Menezes <e.menezes@samsung.com>
Wed, 5 Dec 2018 18:34:51 +0000 (18:34 +0000)
llvm-svn: 348395

llvm/test/tools/llvm-mca/AArch64/Exynos/direct-branch.s

index f24a20b..81e6652 100644 (file)
@@ -1,25 +1,25 @@
 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
-# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m3 -iterations=300 -timeline -timeline-max-iterations=3 -resource-pressure=false < %s | FileCheck %s -check-prefix=ALL -check-prefix=M3
-# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m1 -iterations=300 -timeline -timeline-max-iterations=3 -resource-pressure=false < %s | FileCheck %s -check-prefix=ALL -check-prefix=M1
+# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m1 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M1
+# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m3 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M3
 
   b   t
 
-# ALL:      Iterations:        300
-# ALL-NEXT: Instructions:      300
+# ALL:      Iterations:        100
+# ALL-NEXT: Instructions:      100
 
-# M1-NEXT:  Total Cycles:      76
-# M3-NEXT:  Total Cycles:      51
+# M1-NEXT:  Total Cycles:      26
+# M3-NEXT:  Total Cycles:      18
 
-# ALL-NEXT: Total uOps:        300
+# ALL-NEXT: Total uOps:        100
 
 # M1:       Dispatch Width:    4
-# M1-NEXT:  uOps Per Cycle:    3.95
-# M1-NEXT:  IPC:               3.95
+# M1-NEXT:  uOps Per Cycle:    3.85
+# M1-NEXT:  IPC:               3.85
 # M1-NEXT:  Block RThroughput: 0.3
 
 # M3:       Dispatch Width:    6
-# M3-NEXT:  uOps Per Cycle:    5.88
-# M3-NEXT:  IPC:               5.88
+# M3-NEXT:  uOps Per Cycle:    5.56
+# M3-NEXT:  IPC:               5.56
 # M3-NEXT:  Block RThroughput: 0.2
 
 # ALL:      Instruction Info:
 
 # M1-NEXT:   1      0     0.25                        b        t
 # M3-NEXT:   1      0     0.17                        b        t
-
-# ALL:      Timeline view:
-# ALL-NEXT: Index     01
-
-# ALL:      [0,0]     DR   b   t
-# ALL-NEXT: [1,0]     DR   b   t
-# ALL-NEXT: [2,0]     DR   b   t
-
-# ALL:      Average Wait times (based on the timeline view):
-# ALL-NEXT: [0]: Executions
-# ALL-NEXT: [1]: Average time spent waiting in a scheduler's queue
-# ALL-NEXT: [2]: Average time spent waiting in a scheduler's queue while ready
-# ALL-NEXT: [3]: Average time elapsed from WB until retire stage
-
-# ALL:            [0]    [1]    [2]    [3]
-# ALL-NEXT: 0.     3     0.0    0.0    0.0       b     t