summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2013-09-17 09:02:36 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2013-09-17 09:02:36 +0000
commitf0f8e35bf1cdaa15425f1697a4181882b72473dd (patch)
tree9f3a19a63ca9b3cbb7aa7e6cd947dbe625a773d0 /gas
parentb6518ecb9dec62f54cfe83cf5c3bd64e620b00f9 (diff)
downloadbinutils-redhat-f0f8e35bf1cdaa15425f1697a4181882b72473dd.tar.gz
opcodes/
* s390-opc.txt (clih): Make the immediate unsigned. gas/testsuite/ * gas/s390/zarch-z196.s, gas/s390/zarch-z196.d: Test CLIH with 4000000000.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/s390/zarch-z196.d2
-rw-r--r--gas/testsuite/gas/s390/zarch-z196.s1
3 files changed, 8 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index f2d5d56cc2..d5dc0fe115 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-17 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
+
+ * gas/s390/zarch-z196.s, gas/s390/zarch-z196.d: Test CLIH with
+ 4000000000.
+
2013-09-16 Will Newton <will.newton@linaro.org>
* gas/arm/neon-ldst-es.d: Add VLD1.64 instructions.
diff --git a/gas/testsuite/gas/s390/zarch-z196.d b/gas/testsuite/gas/s390/zarch-z196.d
index 9095922ce7..aaefe20ada 100644
--- a/gas/testsuite/gas/s390/zarch-z196.d
+++ b/gas/testsuite/gas/s390/zarch-z196.d
@@ -22,6 +22,7 @@ Disassembly of section .text:
.*: b9 df 00 67 [ ]*clhlr %r6,%r7
.*: e3 67 85 b3 01 cf [ ]*clhf %r6,5555\(%r7,%r8\)
.*: cc 6f 00 09 eb 10 [ ]*clih %r6,650000
+.*: cc 9f ee 6b 28 00 [ ]*clih %r9,4000000000
.*: e3 67 8a 4d fe c0 [ ]*lbh %r6,-5555\(%r7,%r8\)
.*: e3 67 8a 4d fe c4 [ ]*lhh %r6,-5555\(%r7,%r8\)
.*: e3 67 8a 4d fe ca [ ]*lfh %r6,-5555\(%r7,%r8\)
@@ -257,3 +258,4 @@ Disassembly of section .text:
.*: b9 2b 00 56 [ ]*kmo %r5,%r6
.*: b9 2c 00 00 [ ]*pcc
.*: b9 2d 90 56 [ ]*kmctr %r5,%r6,%r9
+.*: 07 07 [ ]*nopr %r7
diff --git a/gas/testsuite/gas/s390/zarch-z196.s b/gas/testsuite/gas/s390/zarch-z196.s
index b87d286bf7..887cb81f8f 100644
--- a/gas/testsuite/gas/s390/zarch-z196.s
+++ b/gas/testsuite/gas/s390/zarch-z196.s
@@ -16,6 +16,7 @@ foo:
clhlr %r6,%r7
clhf %r6,5555(%r7,%r8)
clih %r6,650000
+ clih %r9,4000000000
lbh %r6,-5555(%r7,%r8)
lhh %r6,-5555(%r7,%r8)
lfh %r6,-5555(%r7,%r8)