reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    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
// RUN: not llvm-mc -triple arm -mattr=+fp16fml,+neon -show-encoding < %s 2>&1 | FileCheck %s  --check-prefix=CHECK-ERROR

VFMAL.F16 D0, S1, S2[2]
vfmsl.f16 d0, s1, s2[2]
vfmsl.f16 d0, s1, s2[-1]
vfmal.f16 q0, d1, d2[4]
VFMSL.F16 Q0, D1, D2[4]
vfmal.f16 q0, d1, d2[-1]
VFMSL.F16 D0, S1, S16[0]
vfmal.f16 d0, s1, s16[0]
VFMSL.F16 Q0, D1, D8[0]
vfmal.f16 q0, d1, d8[0]

//CHECK-ERROR:      error: invalid operand for instruction
//CHECK-ERROR-NEXT: VFMAL.F16 D0, S1, S2[2]
//CHECK-ERROR-NEXT:                     ^
//CHECK-ERROR-NEXT: error: invalid operand for instruction
//CHECK-ERROR-NEXT: vfmsl.f16 d0, s1, s2[2]
//CHECK-ERROR-NEXT:                     ^
//CHECK-ERROR-NEXT: error: invalid operand for instruction
//CHECK-ERROR-NEXT: vfmsl.f16 d0, s1, s2[-1]
//CHECK-ERROR-NEXT:                     ^
//CHECK-ERROR-NEXT: error: invalid operand for instruction
//CHECK-ERROR-NEXT: vfmal.f16 q0, d1, d2[4]
//CHECK-ERROR-NEXT:                     ^
//CHECK-ERROR-NEXT: error: invalid operand for instruction
//CHECK-ERROR-NEXT: VFMSL.F16 Q0, D1, D2[4]
//CHECK-ERROR-NEXT:                     ^
//CHECK-ERROR-NEXT: error: invalid operand for instruction
//CHECK-ERROR-NEXT: vfmal.f16 q0, d1, d2[-1]
//CHECK-ERROR-NEXT:                     ^
//CHECK-ERROR-NEXT: error: invalid instruction, any one of the following would fix this:
//CHECK-ERROR-NEXT: VFMSL.F16 D0, S1, S16[0]
//CHECK-ERROR-NEXT: ^
//CHECK-ERROR-NEXT: note: operand must be a register in range [s0, s15]
//CHECK-ERROR-NEXT: VFMSL.F16 D0, S1, S16[0]
//CHECK-ERROR-NEXT:                   ^
//CHECK-ERROR-NEXT: note: too many operands for instruction
//CHECK-ERROR-NEXT: VFMSL.F16 D0, S1, S16[0]
//CHECK-ERROR-NEXT:                      ^
//CHECK-ERROR-NEXT: error: invalid instruction, any one of the following would fix this:
//CHECK-ERROR-NEXT: vfmal.f16 d0, s1, s16[0]
//CHECK-ERROR-NEXT: ^
//CHECK-ERROR-NEXT: note: operand must be a register in range [s0, s15]
//CHECK-ERROR-NEXT: vfmal.f16 d0, s1, s16[0]
//CHECK-ERROR-NEXT:                   ^
//CHECK-ERROR-NEXT: note: too many operands for instruction
//CHECK-ERROR-NEXT: vfmal.f16 d0, s1, s16[0]
//CHECK-ERROR-NEXT:                      ^
//CHECK-ERROR-NEXT: : error: invalid instruction, any one of the following would fix this:
//CHECK-ERROR-NEXT: VFMSL.F16 Q0, D1, D8[0]
//CHECK-ERROR-NEXT: ^
//CHECK-ERROR-NEXT: : note: operand must be a register in range [d0, d7]
//CHECK-ERROR-NEXT: VFMSL.F16 Q0, D1, D8[0]
//CHECK-ERROR-NEXT:                   ^
//CHECK-ERROR-NEXT: : note: too many operands for instruction
//CHECK-ERROR-NEXT: VFMSL.F16 Q0, D1, D8[0]
//CHECK-ERROR-NEXT:                     ^
//CHECK-ERROR-NEXT: : error: invalid instruction, any one of the following would fix this:
//CHECK-ERROR-NEXT: vfmal.f16 q0, d1, d8[0]
//CHECK-ERROR-NEXT: ^
//CHECK-ERROR-NEXT: : note: operand must be a register in range [d0, d7]
//CHECK-ERROR-NEXT: vfmal.f16 q0, d1, d8[0]
//CHECK-ERROR-NEXT:                   ^
//CHECK-ERROR-NEXT: 1: note: too many operands for instruction
//CHECK-ERROR-NEXT: vfmal.f16 q0, d1, d8[0]
//CHECK-ERROR-NEXT:                     ^