llvm-6502/test/MC/SystemZ/insn-nihf-01.s

10 lines
366 B
ArmAsm
Raw Normal View History

# RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
#CHECK: nihf %r0, 0 # encoding: [0xc0,0x0a,0x00,0x00,0x00,0x00]
#CHECK: nihf %r0, 4294967295 # encoding: [0xc0,0x0a,0xff,0xff,0xff,0xff]
#CHECK: nihf %r15, 0 # encoding: [0xc0,0xfa,0x00,0x00,0x00,0x00]
nihf %r0, 0
nihf %r0, 0xffffffff
nihf %r15, 0