File: armv8a-fpmul.txt

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, 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 (64 lines) | stat: -rw-r--r-- 1,853 bytes parent folder | download | duplicates (25)
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
# RUN:     llvm-mc -triple aarch64-none-linux-gnu -mattr=+fp16fml           --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK,FP16
# RUN:     llvm-mc -triple aarch64-none-linux-gnu -mattr=-fullfp16,+fp16fml --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK,FP16

#A fullfp16 instruction, for testing the interaction of the features
[0x41,0x08,0xe3,0x1e]

[0x20,0xec,0x22,0x0e]
[0x20,0xec,0xa2,0x0e]
[0x20,0xec,0x22,0x4e]
[0x20,0xec,0xa2,0x4e]
[0x20,0xcc,0x22,0x2e]
[0x20,0xcc,0xa2,0x2e]
[0x20,0xcc,0x22,0x6e]
[0x20,0xcc,0xa2,0x6e]

#indexed variants:

[0x20,0x08,0xb2,0x0f]
[0x20,0x48,0xb2,0x0f]
[0x20,0x08,0xb2,0x4f]
[0x20,0x48,0xb2,0x4f]
[0x20,0x88,0xb2,0x2f]
[0x20,0xc8,0xb2,0x2f]
[0x20,0x88,0xb2,0x6f]
[0x20,0xc8,0xb2,0x6f]

[0x20,0x08,0x92,0x0f]
[0x20,0x48,0x92,0x0f]
[0x20,0x08,0x92,0x4f]
[0x20,0x48,0x92,0x4f]
[0x20,0x88,0x92,0x2f]
[0x20,0xc8,0x92,0x2f]
[0x20,0x88,0x92,0x6f]
[0x20,0xc8,0x92,0x6f]

#FP16: fmul h1, h2, h3

#CHECK:  fmlal v0.2s, v1.2h, v2.2h
#CHECK:  fmlsl v0.2s, v1.2h, v2.2h
#CHECK:  fmlal v0.4s, v1.4h, v2.4h
#CHECK:  fmlsl v0.4s, v1.4h, v2.4h
#CHECK:  fmlal2  v0.2s, v1.2h, v2.2h
#CHECK:  fmlsl2  v0.2s, v1.2h, v2.2h
#CHECK:  fmlal2  v0.4s, v1.4h, v2.4h
#CHECK:  fmlsl2  v0.4s, v1.4h, v2.4h

#CHECK:  fmlal v0.2s, v1.2h, v2.h[7]
#CHECK:  fmlsl v0.2s, v1.2h, v2.h[7]
#CHECK:  fmlal v0.4s, v1.4h, v2.h[7]
#CHECK:  fmlsl v0.4s, v1.4h, v2.h[7]
#CHECK:  fmlal2  v0.2s, v1.2h, v2.h[7]
#CHECK:  fmlsl2  v0.2s, v1.2h, v2.h[7]
#CHECK:  fmlal2  v0.4s, v1.4h, v2.h[7]
#CHECK:  fmlsl2  v0.4s, v1.4h, v2.h[7]

#CHECK:  fmlal v0.2s, v1.2h, v2.h[5]
#CHECK:  fmlsl v0.2s, v1.2h, v2.h[5]
#CHECK:  fmlal v0.4s, v1.4h, v2.h[5]
#CHECK:  fmlsl v0.4s, v1.4h, v2.h[5]
#CHECK:  fmlal2  v0.2s, v1.2h, v2.h[5]
#CHECK:  fmlsl2  v0.2s, v1.2h, v2.h[5]
#CHECK:  fmlal2  v0.4s, v1.4h, v2.h[5]
#CHECK:  fmlsl2  v0.4s, v1.4h, v2.h[5]