4bc9353dd284a79464f44035f2e8e25485bb664c
[oota-llvm.git] / test / MC / SystemZ / insn-nilh-01.s
1 # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
2
3 #CHECK: nilh    %r0, 0                  # encoding: [0xa5,0x06,0x00,0x00]
4 #CHECK: nilh    %r0, 32768              # encoding: [0xa5,0x06,0x80,0x00]
5 #CHECK: nilh    %r0, 65535              # encoding: [0xa5,0x06,0xff,0xff]
6 #CHECK: nilh    %r15, 0                 # encoding: [0xa5,0xf6,0x00,0x00]
7
8         nilh    %r0, 0
9         nilh    %r0, 0x8000
10         nilh    %r0, 0xffff
11         nilh    %r15, 0