diff options
author | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-06-28 09:10:25 +0000 |
---|---|---|
committer | Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | 2010-06-28 09:10:25 +0000 |
commit | 8e56076649ea3bc861ad1f5ddad9fd931293af10 (patch) | |
tree | 3c1a88726835e19814e772b93e1c910c97d8bbee /opcodes | |
parent | fc63f3ec4e4bae44c92ad1477c53453579dbc743 (diff) | |
download | gdb-8e56076649ea3bc861ad1f5ddad9fd931293af10.zip gdb-8e56076649ea3bc861ad1f5ddad9fd931293af10.tar.gz gdb-8e56076649ea3bc861ad1f5ddad9fd931293af10.tar.bz2 |
* gas/config/tc-arm.c (parse_neon_alignment): New function.
(parse_address_main): Fix Neon load/store alignment parsing.
* gas/testsuite/gas/arm/neon-ldst-align-bad.l: Update for Neon alignment syntax fix.
* gas/testsuite/gas/arm/neon-ldst-align-bad.s: Likewise.
* gas/testsuite/gas/arm/neon-ldst-es.d: Likewise.
* gas/testsuite/gas/arm/neon-ldst-es.s: Likewise.
* opcodes/arm-disc.c (parse_insn_neon): Fix Neon alignment syntax.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 2761067..bbeeae3 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> + + * arm-disc.c (parse_insn_neon): Fix Neon alignment syntax. + 2010-06-27 Alan Modra <amodra@gmail.com> * arc-dis.c (arc_sprintf): Delete set but unused variables. diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 174de5a..1463c65 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -2470,7 +2470,7 @@ print_insn_neon (struct disassemble_info *info, long given, bfd_boolean thumb) func (stream, "d%d-d%d", rd, rd + n - 1); func (stream, "}, [%s", arm_regnames[rn]); if (align) - func (stream, ", :%d", 32 << align); + func (stream, " :%d", 32 << align); func (stream, "]"); if (rm == 0xd) func (stream, "!"); @@ -2545,7 +2545,7 @@ print_insn_neon (struct disassemble_info *info, long given, bfd_boolean thumb) rd + i * stride, idx); func (stream, "}, [%s", arm_regnames[rn]); if (align) - func (stream, ", :%d", align); + func (stream, " :%d", align); func (stream, "]"); if (rm == 0xd) func (stream, "!"); @@ -2586,9 +2586,9 @@ print_insn_neon (struct disassemble_info *info, long given, bfd_boolean thumb) if (type == 3) align = (size > 1) ? align >> 1 : align; if (type == 2 || (type == 0 && !size)) - func (stream, ", :<bad align %d>", align); + func (stream, " :<bad align %d>", align); else - func (stream, ", :%d", align); + func (stream, " :%d", align); } func (stream, "]"); if (rm == 0xd) |