[llvm] r348395 - [llvm-mca] Simplify test (NFC)

Evandro Menezes via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 5 10:34:51 PST 2018


Author: evandro
Date: Wed Dec  5 10:34:51 2018
New Revision: 348395

URL: http://llvm.org/viewvc/llvm-project?rev=348395&view=rev
Log:
[llvm-mca] Simplify test (NFC)

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

Modified: llvm/trunk/test/tools/llvm-mca/AArch64/Exynos/direct-branch.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-mca/AArch64/Exynos/direct-branch.s?rev=348395&r1=348394&r2=348395&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-mca/AArch64/Exynos/direct-branch.s (original)
+++ llvm/trunk/test/tools/llvm-mca/AArch64/Exynos/direct-branch.s Wed Dec  5 10:34:51 2018
@@ -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:
@@ -34,19 +34,3 @@
 
 # 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




More information about the llvm-commits mailing list