summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-08-28 10:25:36 +0000
committerNick Clifton <nickc@redhat.com>2013-08-28 10:25:36 +0000
commitc861c7f78168567b04927ab91e02b0609ec009d6 (patch)
treed7adf6181798c17693da3ea2d8dd829b1d81793f /gas
parenta275c10ae1ad15d689066599b6f8f2a8833a6071 (diff)
downloadbinutils-redhat-c861c7f78168567b04927ab91e02b0609ec009d6.tar.gz
* aarch64-opc.c (aarch64_logical_immediate_p): Return FALSE if the
immediate is not suitable for the 32-bit ABI. * gas/aarch64/illegal.s: Add illegal constant for logical operation. * gas/aarch64/illegal.l: Add expected error message.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/aarch64/illegal.l3
-rw-r--r--gas/testsuite/gas/aarch64/illegal.s3
3 files changed, 11 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index eb39f6b290..dd0fe7256e 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2013-08-28 Nick Clifton <nickc@redhat.com>
+
+ * gas/aarch64/illegal.s: Add illegal constant for logical
+ operation.
+ * gas/aarch64/illegal.l: Add expected error message.
+
2013-08-23 Maciej W. Rozycki <macro@codesourcery.com>
* gas/testsuite/gas/mips/micromips-insn32.d: Adjust for delay
diff --git a/gas/testsuite/gas/aarch64/illegal.l b/gas/testsuite/gas/aarch64/illegal.l
index d7740b9e26..e36b8fefb0 100644
--- a/gas/testsuite/gas/aarch64/illegal.l
+++ b/gas/testsuite/gas/aarch64/illegal.l
@@ -551,4 +551,5 @@
[^:]*:543: Error: .*`fmov s0,#0x11'
[^:]*:544: Error: .*`fmov s0,#0xC0280000C1400000'
[^:]*:545: Error: .*`fmov d0,#0xC02f800000000000'
-[^:]*:550: Error: .*
+[^:]*:550: Error: .*`ands w0,w24,#0xffeefffffffffffd'
+[^:]*:553: Error: .*
diff --git a/gas/testsuite/gas/aarch64/illegal.s b/gas/testsuite/gas/aarch64/illegal.s
index d2bc08a9d1..a46946e892 100644
--- a/gas/testsuite/gas/aarch64/illegal.s
+++ b/gas/testsuite/gas/aarch64/illegal.s
@@ -547,4 +547,7 @@
// No 16-byte relocation
ldr q0, =one_label
+ ands w0, w24, #0xffeefffffffffffd
+
one_label:
+