[llvm] r181774 - [SystemZ] Add extra testscases for r181773
Richard Sandiford
rsandifo at linux.vnet.ibm.com
Tue May 14 02:49:12 PDT 2013
Author: rsandifo
Date: Tue May 14 04:49:11 2013
New Revision: 181774
URL: http://llvm.org/viewvc/llvm-project?rev=181774&view=rev
Log:
[SystemZ] Add extra testscases for r181773
Forgot to svn add these...
Added:
llvm/trunk/test/MC/SystemZ/insn-bras-02.s
llvm/trunk/test/MC/SystemZ/insn-brasl-02.s
llvm/trunk/test/MC/SystemZ/insn-cgfrl-02.s
llvm/trunk/test/MC/SystemZ/insn-cghrl-02.s
llvm/trunk/test/MC/SystemZ/insn-cgrl-02.s
llvm/trunk/test/MC/SystemZ/insn-chrl-02.s
llvm/trunk/test/MC/SystemZ/insn-clgfrl-02.s
llvm/trunk/test/MC/SystemZ/insn-clghrl-02.s
llvm/trunk/test/MC/SystemZ/insn-clgrl-02.s
llvm/trunk/test/MC/SystemZ/insn-clhrl-02.s
llvm/trunk/test/MC/SystemZ/insn-clrl-02.s
llvm/trunk/test/MC/SystemZ/insn-crl-02.s
llvm/trunk/test/MC/SystemZ/insn-larl-02.s
llvm/trunk/test/MC/SystemZ/insn-lgfrl-02.s
llvm/trunk/test/MC/SystemZ/insn-lghrl-02.s
llvm/trunk/test/MC/SystemZ/insn-lgrl-02.s
llvm/trunk/test/MC/SystemZ/insn-lhrl-02.s
llvm/trunk/test/MC/SystemZ/insn-llgfrl-02.s
llvm/trunk/test/MC/SystemZ/insn-llghrl-02.s
llvm/trunk/test/MC/SystemZ/insn-llhrl-02.s
llvm/trunk/test/MC/SystemZ/insn-lrl-02.s
llvm/trunk/test/MC/SystemZ/insn-stgrl-02.s
llvm/trunk/test/MC/SystemZ/insn-sthrl-02.s
llvm/trunk/test/MC/SystemZ/insn-strl-02.s
Added: llvm/trunk/test/MC/SystemZ/insn-bras-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-bras-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-bras-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-bras-02.s Tue May 14 04:49:11 2013
@@ -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: bras %r0, -0x100002
+#CHECK: error: offset out of range
+#CHECK: bras %r0, -1
+#CHECK: error: offset out of range
+#CHECK: bras %r0, 1
+#CHECK: error: offset out of range
+#CHECK: bras %r0, 0x10000
+
+ bras %r0, -0x100002
+ bras %r0, -1
+ bras %r0, 1
+ bras %r0, 0x10000
Added: llvm/trunk/test/MC/SystemZ/insn-brasl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-brasl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-brasl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-brasl-02.s Tue May 14 04:49:11 2013
@@ -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: brasl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: brasl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: brasl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: brasl %r0, 0x100000000
+
+ brasl %r0, -0x1000000002
+ brasl %r0, -1
+ brasl %r0, 1
+ brasl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-cgfrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-cgfrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-cgfrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-cgfrl-02.s Tue May 14 04:49:11 2013
@@ -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: cgfrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: cgfrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: cgfrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: cgfrl %r0, 0x100000000
+
+ cgfrl %r0, -0x1000000002
+ cgfrl %r0, -1
+ cgfrl %r0, 1
+ cgfrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-cghrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-cghrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-cghrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-cghrl-02.s Tue May 14 04:49:11 2013
@@ -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: cghrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: cghrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: cghrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: cghrl %r0, 0x100000000
+
+ cghrl %r0, -0x1000000002
+ cghrl %r0, -1
+ cghrl %r0, 1
+ cghrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-cgrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-cgrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-cgrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-cgrl-02.s Tue May 14 04:49:11 2013
@@ -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: cgrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: cgrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: cgrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: cgrl %r0, 0x100000000
+
+ cgrl %r0, -0x1000000002
+ cgrl %r0, -1
+ cgrl %r0, 1
+ cgrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-chrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-chrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-chrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-chrl-02.s Tue May 14 04:49:11 2013
@@ -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: chrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: chrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: chrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: chrl %r0, 0x100000000
+
+ chrl %r0, -0x1000000002
+ chrl %r0, -1
+ chrl %r0, 1
+ chrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-clgfrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-clgfrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-clgfrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-clgfrl-02.s Tue May 14 04:49:11 2013
@@ -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: clgfrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: clgfrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: clgfrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: clgfrl %r0, 0x100000000
+
+ clgfrl %r0, -0x1000000002
+ clgfrl %r0, -1
+ clgfrl %r0, 1
+ clgfrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-clghrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-clghrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-clghrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-clghrl-02.s Tue May 14 04:49:11 2013
@@ -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
Added: llvm/trunk/test/MC/SystemZ/insn-clgrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-clgrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-clgrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-clgrl-02.s Tue May 14 04:49:11 2013
@@ -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: clgrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: clgrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: clgrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: clgrl %r0, 0x100000000
+
+ clgrl %r0, -0x1000000002
+ clgrl %r0, -1
+ clgrl %r0, 1
+ clgrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-clhrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-clhrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-clhrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-clhrl-02.s Tue May 14 04:49:11 2013
@@ -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: clhrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: clhrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: clhrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: clhrl %r0, 0x100000000
+
+ clhrl %r0, -0x1000000002
+ clhrl %r0, -1
+ clhrl %r0, 1
+ clhrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-clrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-clrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-clrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-clrl-02.s Tue May 14 04:49:11 2013
@@ -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: clrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: clrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: clrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: clrl %r0, 0x100000000
+
+ clrl %r0, -0x1000000002
+ clrl %r0, -1
+ clrl %r0, 1
+ clrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-crl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-crl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-crl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-crl-02.s Tue May 14 04:49:11 2013
@@ -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: crl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: crl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: crl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: crl %r0, 0x100000000
+
+ crl %r0, -0x1000000002
+ crl %r0, -1
+ crl %r0, 1
+ crl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-larl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-larl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-larl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-larl-02.s Tue May 14 04:49:11 2013
@@ -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: larl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: larl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: larl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: larl %r0, 0x100000000
+
+ larl %r0, -0x1000000002
+ larl %r0, -1
+ larl %r0, 1
+ larl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-lgfrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-lgfrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-lgfrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-lgfrl-02.s Tue May 14 04:49:11 2013
@@ -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: lgfrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: lgfrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: lgfrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: lgfrl %r0, 0x100000000
+
+ lgfrl %r0, -0x1000000002
+ lgfrl %r0, -1
+ lgfrl %r0, 1
+ lgfrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-lghrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-lghrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-lghrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-lghrl-02.s Tue May 14 04:49:11 2013
@@ -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: lghrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: lghrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: lghrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: lghrl %r0, 0x100000000
+
+ lghrl %r0, -0x1000000002
+ lghrl %r0, -1
+ lghrl %r0, 1
+ lghrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-lgrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-lgrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-lgrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-lgrl-02.s Tue May 14 04:49:11 2013
@@ -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: lgrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: lgrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: lgrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: lgrl %r0, 0x100000000
+
+ lgrl %r0, -0x1000000002
+ lgrl %r0, -1
+ lgrl %r0, 1
+ lgrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-lhrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-lhrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-lhrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-lhrl-02.s Tue May 14 04:49:11 2013
@@ -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: lhrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: lhrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: lhrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: lhrl %r0, 0x100000000
+
+ lhrl %r0, -0x1000000002
+ lhrl %r0, -1
+ lhrl %r0, 1
+ lhrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-llgfrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-llgfrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-llgfrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-llgfrl-02.s Tue May 14 04:49:11 2013
@@ -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: llgfrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: llgfrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: llgfrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: llgfrl %r0, 0x100000000
+
+ llgfrl %r0, -0x1000000002
+ llgfrl %r0, -1
+ llgfrl %r0, 1
+ llgfrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-llghrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-llghrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-llghrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-llghrl-02.s Tue May 14 04:49:11 2013
@@ -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: llghrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: llghrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: llghrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: llghrl %r0, 0x100000000
+
+ llghrl %r0, -0x1000000002
+ llghrl %r0, -1
+ llghrl %r0, 1
+ llghrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-llhrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-llhrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-llhrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-llhrl-02.s Tue May 14 04:49:11 2013
@@ -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: llhrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: llhrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: llhrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: llhrl %r0, 0x100000000
+
+ llhrl %r0, -0x1000000002
+ llhrl %r0, -1
+ llhrl %r0, 1
+ llhrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-lrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-lrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-lrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-lrl-02.s Tue May 14 04:49:11 2013
@@ -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: lrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: lrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: lrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: lrl %r0, 0x100000000
+
+ lrl %r0, -0x1000000002
+ lrl %r0, -1
+ lrl %r0, 1
+ lrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-stgrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-stgrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-stgrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-stgrl-02.s Tue May 14 04:49:11 2013
@@ -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: stgrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: stgrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: stgrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: stgrl %r0, 0x100000000
+
+ stgrl %r0, -0x1000000002
+ stgrl %r0, -1
+ stgrl %r0, 1
+ stgrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-sthrl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-sthrl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-sthrl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-sthrl-02.s Tue May 14 04:49:11 2013
@@ -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: sthrl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: sthrl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: sthrl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: sthrl %r0, 0x100000000
+
+ sthrl %r0, -0x1000000002
+ sthrl %r0, -1
+ sthrl %r0, 1
+ sthrl %r0, 0x100000000
Added: llvm/trunk/test/MC/SystemZ/insn-strl-02.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/insn-strl-02.s?rev=181774&view=auto
==============================================================================
--- llvm/trunk/test/MC/SystemZ/insn-strl-02.s (added)
+++ llvm/trunk/test/MC/SystemZ/insn-strl-02.s Tue May 14 04:49:11 2013
@@ -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: strl %r0, -0x1000000002
+#CHECK: error: offset out of range
+#CHECK: strl %r0, -1
+#CHECK: error: offset out of range
+#CHECK: strl %r0, 1
+#CHECK: error: offset out of range
+#CHECK: strl %r0, 0x100000000
+
+ strl %r0, -0x1000000002
+ strl %r0, -1
+ strl %r0, 1
+ strl %r0, 0x100000000
More information about the llvm-commits
mailing list