Mercurial > hg > CbC > CbC_llvm
diff test/MC/SystemZ/insn-clghrl-02.s @ 3:9ad51c7bc036
1st commit. remove git dir and add all files.
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 15 May 2013 06:43:32 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/MC/SystemZ/insn-clghrl-02.s Wed May 15 06:43:32 2013 +0900 @@ -0,0 +1,16 @@ +# RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t +# RUN: FileCheck < %t %s + +#CHECK: error: offset out of range +#CHECK: clghrl %r0, -0x1000000002 +#CHECK: error: offset out of range +#CHECK: clghrl %r0, -1 +#CHECK: error: offset out of range +#CHECK: clghrl %r0, 1 +#CHECK: error: offset out of range +#CHECK: clghrl %r0, 0x100000000 + + clghrl %r0, -0x1000000002 + clghrl %r0, -1 + clghrl %r0, 1 + clghrl %r0, 0x100000000