File: crc.s

package info (click to toggle)
llvm-toolchain-11 1%3A11.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 995,808 kB
  • sloc: cpp: 4,767,656; ansic: 760,916; asm: 477,436; python: 170,940; objc: 69,804; lisp: 29,914; sh: 23,855; f90: 18,173; pascal: 7,551; perl: 7,471; ml: 5,603; awk: 3,489; makefile: 2,573; xml: 915; cs: 573; fortran: 503; javascript: 452
file content (58 lines) | stat: -rw-r--r-- 2,207 bytes parent folder | download | duplicates (23)
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
# 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,M3
# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m4 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M4
# RUN: llvm-mca -march=aarch64 -mcpu=exynos-m5 -resource-pressure=false < %s | FileCheck %s -check-prefixes=ALL,M5

crc32w	w0, w1, w2
crc32w	w0, w0, w3

crc32cx	w0, w1, x2
crc32cx	w0, w0, x3

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

# M3-NEXT:  Total Cycles:      204
# M4-NEXT:  Total Cycles:      404
# M5-NEXT:  Total Cycles:      204

# ALL-NEXT: Total uOps:        400

# ALL:      Dispatch Width:    6

# M3-NEXT:  uOps Per Cycle:    1.96
# M3-NEXT:  IPC:               1.96
# M3-NEXT:  Block RThroughput: 2.0

# M4-NEXT:  uOps Per Cycle:    0.99
# M4-NEXT:  IPC:               0.99
# M4-NEXT:  Block RThroughput: 4.0

# M5-NEXT:  uOps Per Cycle:    1.96
# M5-NEXT:  IPC:               1.96
# M5-NEXT:  Block RThroughput: 2.0

# 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:

# M3-NEXT:   1      2     0.50                        crc32w	w0, w1, w2
# M3-NEXT:   1      2     0.50                        crc32w	w0, w0, w3
# M3-NEXT:   1      2     0.50                        crc32cx	w0, w1, x2
# M3-NEXT:   1      2     0.50                        crc32cx	w0, w0, x3

# M4-NEXT:   1      2     1.00                        crc32w	w0, w1, w2
# M4-NEXT:   1      2     1.00                        crc32w	w0, w0, w3
# M4-NEXT:   1      2     1.00                        crc32cx	w0, w1, x2
# M4-NEXT:   1      2     1.00                        crc32cx	w0, w0, x3

# M5-NEXT:   1      2     0.50                        crc32w	w0, w1, w2
# M5-NEXT:   1      2     0.50                        crc32w	w0, w0, w3
# M5-NEXT:   1      2     0.50                        crc32cx	w0, w1, x2
# M5-NEXT:   1      2     0.50                        crc32cx	w0, w0, x3