• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@ RUN: not llvm-mc -triple armv8 -mattr=-fp-armv8 -show-encoding < %s 2>&1 | FileCheck %s
2
3vmaxnm.f32 s4, d5, q1
4@ CHECK: error: invalid instruction
5vmaxnm.f64.f64 s4, d5, q1
6@ CHECK: error: invalid instruction
7vmaxnmge.f64.f64 s4, d5, q1
8@ CHECK: error: instruction 'vmaxnm' is not predicable, but condition code specified
9
10vcvta.s32.f32 s1, s2
11@ CHECK: error: instruction requires: FPARMv8
12vcvtp.u32.f32 s1, d2
13@ CHECK: error: operand must be a register in range [d0, d31]
14vcvtp.f32.u32 d1, q2
15@ CHECK: error: invalid instruction
16vcvtplo.f32.u32 s1, s2
17@ CHECK: error: instruction 'vcvtp' is not predicable, but condition code specified
18
19vrinta.f64.f64 s3, d12
20@ CHECK: error: invalid instruction
21vrintn.f32 d3, q12
22@ CHECK: error: invalid instruction, any one of the following would fix this:
23@ CHECK: note: operand must be a register in range [d0, d31]
24@ CHECK: note: operand must be a register in range [q0, q15]
25vrintz.f32 d3, q12
26@ CHECK: error: invalid instruction, any one of the following would fix this:
27@ CHECK: note: operand must be a register in range [d0, d31]
28@ CHECK: note: operand must be a register in range [q0, q15]
29vrintmge.f32.f32 d3, d4
30@ CHECK: error: instruction 'vrintm' is not predicable, but condition code specified
31
32aesd.8  q0, s1
33@ CHECK: error: operand must be a register in range [q0, q15]
34aese.8  s0, q1
35@ CHECK: error: operand must be a register in range [q0, q15]
36aesimc.8  s0, q1
37@ CHECK: error: operand must be a register in range [q0, q15]
38aesmc.8  q0, d1
39@ CHECK: error: operand must be a register in range [q0, q15]
40aesdge.8 q0, q1
41@ CHECK: error: instruction 'aesd' is not predicable, but condition code specified
42
43sha1h.32  d0, q1
44@ CHECK: error: operand must be a register in range [q0, q15]
45sha1su1.32  q0, s1
46@ CHECK: error: operand must be a register in range [q0, q15]
47sha256su0.32  s0, q1
48@ CHECK: error: operand must be a register in range [q0, q15]
49sha1heq.32  q0, q1
50@ CHECK: error: instruction 'sha1h' is not predicable, but condition code specified
51
52sha1c.32  s0, d1, q2
53@ CHECK: error: invalid instruction
54sha1m.32  q0, s1, q2
55@ CHECK: error: operand must be a register in range [q0, q15]
56sha1p.32  s0, q1, q2
57@ CHECK: error: operand must be a register in range [q0, q15]
58sha1su0.32  d0, q1, q2
59@ CHECK: error: operand must be a register in range [q0, q15]
60sha256h.32  q0, s1, q2
61@ CHECK: error: operand must be a register in range [q0, q15]
62sha256h2.32  q0, q1, s2
63@ CHECK: error: operand must be a register in range [q0, q15]
64sha256su1.32  s0, d1, q2
65@ CHECK: error: invalid instruction
66sha256su1lt.32  q0, d1, q2
67@ CHECK: error: instruction 'sha256su1' is not predicable, but condition code specified
68
69vmull.p64 q0, s1, s3
70@ CHECK: error: invalid instruction
71vmull.p64 s1, d2, d3
72@ CHECK: error: operand must be a register in range [q0, q15]
73vmullge.p64 q0, d16, d17
74@ CHECK: error: instruction 'vmull' is not predicable, but condition code specified
75
76// These instructions are predicable in VFP but not in NEON
77vrintzeq.f32 d0, d1
78vrintxgt.f32 d0, d1
79@ CHECK: error: invalid operand for instruction
80@ CHECK: error: invalid operand for instruction
81