aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-09-17 09:02:37 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2013-09-17 09:02:37 +0000
commite3f9e852751e5b1969e2bc66ac3329e5159f7abf (patch)
tree71ddf0983e11ef5775305103ce613b677c8d1be0 /gas
parent57b0d98e591b1fcb1ff008e98e042bb9183b595b (diff)
downloadfsf-binutils-gdb-e3f9e852751e5b1969e2bc66ac3329e5159f7abf.zip
fsf-binutils-gdb-e3f9e852751e5b1969e2bc66ac3329e5159f7abf.tar.gz
fsf-binutils-gdb-e3f9e852751e5b1969e2bc66ac3329e5159f7abf.tar.bz2
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 f2d5d56..d5dc0fe 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 9095922..aaefe20 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 b87d286..887cb81 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)