File: sparc-crypto.txt

package info (click to toggle)
llvm-toolchain-21 1%3A21.1.6-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,245,028 kB
  • sloc: cpp: 7,619,726; ansic: 1,434,018; asm: 1,058,748; python: 252,740; f90: 94,671; objc: 70,685; lisp: 42,813; pascal: 18,401; sh: 8,601; ml: 5,111; perl: 4,720; makefile: 3,675; awk: 3,523; javascript: 2,409; xml: 892; fortran: 770
file content (56 lines) | stat: -rw-r--r-- 1,483 bytes parent folder | download | duplicates (3)
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
# RUN: llvm-mc --disassemble %s -triple=sparcv9-unknown-linux -mattr=+crypto | FileCheck %s

## Crypto instructions.

# CHECK: aes_eround01  %f0, %f2, %f4, %f6
0x8c,0xc8,0x08,0x02
# CHECK: aes_eround23  %f0, %f2, %f4, %f6
0x8c,0xc8,0x08,0x22
# CHECK: aes_dround01  %f0, %f2, %f4, %f6
0x8c,0xc8,0x08,0x42
# CHECK: aes_dround23  %f0, %f2, %f4, %f6
0x8c,0xc8,0x08,0x62
# CHECK: aes_eround01_l  %f0, %f2, %f4, %f6
0x8c,0xc8,0x08,0x82
# CHECK: aes_eround23_l  %f0, %f2, %f4, %f6
0x8c,0xc8,0x08,0xa2
# CHECK: aes_dround01_l  %f0, %f2, %f4, %f6
0x8c,0xc8,0x08,0xc2
# CHECK: aes_dround23_l  %f0, %f2, %f4, %f6
0x8c,0xc8,0x08,0xe2
# CHECK: aes_kexpand0  %f0, %f2, %f4
0x89,0xb0,0x26,0x02
# CHECK: aes_kexpand1  %f0, %f2, 4, %f6
0x8c,0xc8,0x09,0x02
# CHECK: aes_kexpand2  %f0, %f2, %f4
0x89,0xb0,0x26,0x22
# CHECK: camellia_f  %f0, %f2, %f4, %f6
0x8c,0xc8,0x09,0x82
# CHECK: camellia_fl  %f0, %f2, %f4
0x89,0xb0,0x27,0x82
# CHECK: camellia_fli  %f0, %f2, %f4
0x89,0xb0,0x27,0xa2
# CHECK: crc32c  %f0, %f2, %f4
0x89,0xb0,0x28,0xe2
# CHECK: des_round  %f0, %f2, %f4, %f6
0x8c,0xc8,0x09,0x22
# CHECK: des_ip  %f0, %f2
0x85,0xb0,0x26,0x80
# CHECK: des_iip  %f0, %f2
0x85,0xb0,0x26,0xa0
# CHECK: des_kexpand  %f0, 2, %f4
0x89,0xb0,0x26,0xc2
# CHECK: md5
0x81,0xb0,0x28,0x00
# CHECK: sha1
0x81,0xb0,0x28,0x20
# CHECK: sha256
0x81,0xb0,0x28,0x40
# CHECK: sha512
0x81,0xb0,0x28,0x60
# CHECK: mpmul  1
0x81,0xb0,0x29,0x01
# CHECK: montmul  2
0x81,0xb0,0x29,0x22
# CHECK: montsqr  3
0x81,0xb0,0x29,0x43