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