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
# Test z13 instructions that don't have PC-relative operands.
# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu -mcpu=z13 2>&1 \
# RUN:   | FileCheck %s

# This would be "vlef %v0, 0, 4", but element 4 is invalid.
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0x40 0x03
0xe7 0x00 0x00 0x00 0x40 0x03

# ...and again with element 15
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0xf0 0x03
0xe7 0x00 0x00 0x00 0xf0 0x03

# This would be "vleg %v0, 0, 2", but element 2 is invalid.
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0x20 0x02
0xe7 0x00 0x00 0x00 0x20 0x02

# ...and again with element 15
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0xf0 0x02
0xe7 0x00 0x00 0x00 0xf0 0x02

# This would be "vleh %v0, 0, 8", but element 8 is invalid.
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0x80 0x01
0xe7 0x00 0x00 0x00 0x80 0x01

# ...and again with element 15
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0xf0 0x01
0xe7 0x00 0x00 0x00 0xf0 0x01