[ARM] Adjust how NEON shifts are lowered
[llvm-core.git] / test / tools / llvm-mca / AArch64 / Exynos / extended-register.s
blob7044f64318ff061e6b901b292568255ec605598c
1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -march=aarch64 -mcpu=exynos-m1 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,EM1
3 # RUN: llvm-mca -march=aarch64 -mcpu=exynos-m3 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,EM3
4 # RUN: llvm-mca -march=aarch64 -mcpu=exynos-m4 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,EM4
6 sub w0, w1, w2, sxtb #0
7 add x3, x4, w5, sxth #1
8 subs x6, x7, w8, uxtw #2
9 adds x9, x10, x11, uxtx #3
10 sub w12, w13, w14, uxtb #0
11 add x15, x16, w17, uxth #1
12 subs x18, x19, w20, sxtw #2
13 adds x21, x22, x23, sxtx #3
15 # ALL: Iterations: 100
16 # ALL-NEXT: Instructions: 800
18 # EM1-NEXT: Total Cycles: 403
19 # EM3-NEXT: Total Cycles: 304
20 # EM4-NEXT: Total Cycles: 304
22 # ALL-NEXT: Total uOps: 800
24 # EM1: Dispatch Width: 4
25 # EM1-NEXT: uOps Per Cycle: 1.99
26 # EM1-NEXT: IPC: 1.99
27 # EM1-NEXT: Block RThroughput: 4.0
29 # EM3: Dispatch Width: 6
30 # EM3-NEXT: uOps Per Cycle: 2.63
31 # EM3-NEXT: IPC: 2.63
32 # EM3-NEXT: Block RThroughput: 3.0
34 # EM4: Dispatch Width: 6
35 # EM4-NEXT: uOps Per Cycle: 2.63
36 # EM4-NEXT: IPC: 2.63
37 # EM4-NEXT: Block RThroughput: 3.0
39 # ALL: Instruction Info:
40 # ALL-NEXT: [1]: #uOps
41 # ALL-NEXT: [2]: Latency
42 # ALL-NEXT: [3]: RThroughput
43 # ALL-NEXT: [4]: MayLoad
44 # ALL-NEXT: [5]: MayStore
45 # ALL-NEXT: [6]: HasSideEffects (U)
47 # ALL: [1] [2] [3] [4] [5] [6] Instructions:
49 # EM1-NEXT: 1 1 0.33 sub w0, w1, w2, sxtb
50 # EM1-NEXT: 1 2 0.67 add x3, x4, w5, sxth #1
51 # EM1-NEXT: 1 1 0.33 subs x6, x7, w8, uxtw #2
52 # EM1-NEXT: 1 1 0.33 adds x9, x10, x11, uxtx #3
53 # EM1-NEXT: 1 1 0.33 sub w12, w13, w14, uxtb
54 # EM1-NEXT: 1 2 0.67 add x15, x16, w17, uxth #1
55 # EM1-NEXT: 1 2 0.67 subs x18, x19, w20, sxtw #2
56 # EM1-NEXT: 1 2 0.67 adds x21, x22, x23, sxtx #3
58 # EM3-NEXT: 1 1 0.25 sub w0, w1, w2, sxtb
59 # EM3-NEXT: 1 2 0.50 add x3, x4, w5, sxth #1
60 # EM3-NEXT: 1 1 0.25 subs x6, x7, w8, uxtw #2
61 # EM3-NEXT: 1 1 0.25 adds x9, x10, x11, uxtx #3
62 # EM3-NEXT: 1 1 0.25 sub w12, w13, w14, uxtb
63 # EM3-NEXT: 1 2 0.50 add x15, x16, w17, uxth #1
64 # EM3-NEXT: 1 2 0.50 subs x18, x19, w20, sxtw #2
65 # EM3-NEXT: 1 2 0.50 adds x21, x22, x23, sxtx #3
67 # EM4-NEXT: 1 1 0.25 sub w0, w1, w2, sxtb
68 # EM4-NEXT: 1 2 0.50 add x3, x4, w5, sxth #1
69 # EM4-NEXT: 1 1 0.25 subs x6, x7, w8, uxtw #2
70 # EM4-NEXT: 1 1 0.25 adds x9, x10, x11, uxtx #3
71 # EM4-NEXT: 1 1 0.25 sub w12, w13, w14, uxtb
72 # EM4-NEXT: 1 2 0.50 add x15, x16, w17, uxth #1
73 # EM4-NEXT: 1 2 0.50 subs x18, x19, w20, sxtw #2
74 # EM4-NEXT: 1 2 0.50 adds x21, x22, x23, sxtx #3