File: armv8a-fpmul-t32.txt

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 (68 lines) | stat: -rw-r--r-- 3,565 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
65
66
67
68
# RUN:     llvm-mc -triple thumb -mattr=+neon,+fp16fml --disassemble < %s | FileCheck %s
# RUN:     llvm-mc -triple thumb -mattr=+neon,-fullfp16,+fp16fml --disassemble < %s | FileCheck %s
# RUN: not llvm-mc -triple thumb --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16-INVALID
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16-INVALID
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,+fp16fml --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,+fullfp16 --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,+fullfp16,-fp16fml --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,-fp16fml,+fullfp16 --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,+fullfp16,+fp16fml --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,+fp16fml,-fullfp16 --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16-INVALID
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,+neon --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16-INVALID
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,+neon,+fullfp16 --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,+neon,+fullfp16,-fp16fml --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,+neon,-fp16fml,+fullfp16 --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16
# RUN: not llvm-mc -triple thumb -mattr=+v8.2a,+neon,+fp16fml,-fullfp16 --disassemble < %s 2>&1 | FileCheck %s --check-prefixes=CHECK-INVALID,FP16-INVALID

[0x20,0xfc,0x91,0x08]
[0xa0,0xfc,0x91,0x08]
[0x21,0xfc,0x52,0x08]
[0xa1,0xfc,0x52,0x08]
[0x00,0xfe,0x99,0x08]
[0x10,0xfe,0x99,0x08]
[0x01,0xfe,0x7a,0x08]
[0x11,0xfe,0x7a,0x08]

#A fullfp16 instruction, for testing the interaction of the features
[0x30,0xee,0x80,0x09]

#CHECK: vfmal.f16 d0, s1, s2
#CHECK: vfmsl.f16 d0, s1, s2
#CHECK: vfmal.f16 q0, d1, d2
#CHECK: vfmsl.f16 q0, d1, d2
#CHECK: vfmal.f16 d0, s1, s2[1]
#CHECK: vfmsl.f16 d0, s1, s2[1]
#CHECK: vfmal.f16 q0, d1, d2[3]
#CHECK: vfmsl.f16 q0, d1, d2[3]
#CHECK: vadd.f16 s0, s1, s0

#CHECK-INVALID: warning: invalid instruction encoding
#CHECK-INVALID: [0x20,0xfc,0x91,0x08]
#CHECK-INVALID:  ^
#CHECK-INVALID: warning: invalid instruction encoding
#CHECK-INVALID: [0xa0,0xfc,0x91,0x08]
#CHECK-INVALID:  ^
#CHECK-INVALID: warning: invalid instruction encoding
#CHECK-INVALID: [0x21,0xfc,0x52,0x08]
#CHECK-INVALID:  ^
#CHECK-INVALID: warning: invalid instruction encoding
#CHECK-INVALID: [0xa1,0xfc,0x52,0x08]
#CHECK-INVALID:  ^
#CHECK-INVALID: warning: invalid instruction encoding
#CHECK-INVALID: [0x00,0xfe,0x99,0x08]
#CHECK-INVALID:  ^
#CHECK-INVALID: warning: invalid instruction encoding
#CHECK-INVALID: [0x10,0xfe,0x99,0x08]
#CHECK-INVALID:  ^
#CHECK-INVALID: warning: invalid instruction encoding
#CHECK-INVALID: [0x01,0xfe,0x7a,0x08]
#CHECK-INVALID:  ^
#CHECK-INVALID: warning: invalid instruction encoding
#CHECK-INVALID: [0x11,0xfe,0x7a,0x08]
#CHECK-INVALID:  ^

#FP16-INVALID: warning: invalid instruction encoding
#FP16-INVALID: [0x30,0xee,0x80,0x09]
#FP16-INVALID: ^

#FP16-NOT: [0x30,0xee,0x80,0x09]