File: shifted-register.s

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (74 lines) | stat: -rw-r--r-- 3,430 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m3 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,EM3
# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m4 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,EM4
# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m5 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,EM5

  adds	w0, w1, w2, lsl #0
  sub	x3, x4, x5, lsr #1
  ands	x6, x7, x8, lsl #2
  orr	w9, w10, w11, asr #3
  adds	w12, w13, w14, lsl #4
  sub	x15, x16, x17, lsr #6
  ands	x18, x19, x20, lsl #8
  eor	w21, w22, w23, asr #10

# ALL:      Iterations:        100
# ALL-NEXT: Instructions:      800

# EM3-NEXT: Total Cycles:      354
# EM4-NEXT: Total Cycles:      329
# EM5-NEXT: Total Cycles:      220

# ALL-NEXT: Total uOps:        800

# EM3:      Dispatch Width:    6
# EM3-NEXT: uOps Per Cycle:    2.26
# EM3-NEXT: IPC:               2.26
# EM3-NEXT: Block RThroughput: 3.5

# EM4:      Dispatch Width:    6
# EM4-NEXT: uOps Per Cycle:    2.43
# EM4-NEXT: IPC:               2.43
# EM4-NEXT: Block RThroughput: 3.3

# EM5:      Dispatch Width:    6
# EM5-NEXT: uOps Per Cycle:    3.64
# EM5-NEXT: IPC:               3.64
# EM5-NEXT: Block RThroughput: 1.5

# ALL:      Instruction Info:
# ALL-NEXT: [1]: #uOps
# ALL-NEXT: [2]: Latency
# ALL-NEXT: [3]: RThroughput
# ALL-NEXT: [4]: MayLoad
# ALL-NEXT: [5]: MayStore
# ALL-NEXT: [6]: HasSideEffects (U)

# ALL:      [1]    [2]    [3]    [4]    [5]    [6]    Instructions:

# EM3-NEXT:  1      1     0.25                        adds	w0, w1, w2
# EM3-NEXT:  1      2     0.50                        sub	x3, x4, x5, lsr #1
# EM3-NEXT:  1      1     0.25                        ands	x6, x7, x8, lsl #2
# EM3-NEXT:  1      2     0.50                        orr	w9, w10, w11, asr #3
# EM3-NEXT:  1      2     0.50                        adds	w12, w13, w14, lsl #4
# EM3-NEXT:  1      2     0.50                        sub	x15, x16, x17, lsr #6
# EM3-NEXT:  1      2     0.50                        ands	x18, x19, x20, lsl #8
# EM3-NEXT:  1      2     0.50                        eor	w21, w22, w23, asr #10

# EM4-NEXT:  1      1     0.25                        adds	w0, w1, w2
# EM4-NEXT:  1      2     0.50                        sub	x3, x4, x5, lsr #1
# EM4-NEXT:  1      1     0.25                        ands	x6, x7, x8, lsl #2
# EM4-NEXT:  1      2     0.50                        orr	w9, w10, w11, asr #3
# EM4-NEXT:  1      2     0.50                        adds	w12, w13, w14, lsl #4
# EM4-NEXT:  1      2     0.50                        sub	x15, x16, x17, lsr #6
# EM4-NEXT:  1      1     0.25                        ands	x18, x19, x20, lsl #8
# EM4-NEXT:  1      2     0.50                        eor	w21, w22, w23, asr #10

# EM5-NEXT:  1      1     0.17                        adds	w0, w1, w2
# EM5-NEXT:  1      2     0.50                        sub	x3, x4, x5, lsr #1
# EM5-NEXT:  1      1     0.25                        ands	x6, x7, x8, lsl #2
# EM5-NEXT:  1      2     0.33                        orr	w9, w10, w11, asr #3
# EM5-NEXT:  1      2     0.33                        adds	w12, w13, w14, lsl #4
# EM5-NEXT:  1      2     0.50                        sub	x15, x16, x17, lsr #6
# EM5-NEXT:  1      1     0.25                        ands	x18, x19, x20, lsl #8
# EM5-NEXT:  1      2     0.33                        eor	w21, w22, w23, asr #10