aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>2011-12-07 16:44:55 +0000
committerMatthew Gretton-Dann <matthew.gretton-dann@arm.com>2011-12-07 16:44:55 +0000
commit1b11b49fe420e2d2699f1763ab51aa7a9f26d63a (patch)
treee878e9c39e2523d3d0022a0148ce1b0621a0405b /gas/config
parentd482a87555a3e977b215916bca4d1f6117c18e87 (diff)
downloadgdb-1b11b49fe420e2d2699f1763ab51aa7a9f26d63a.zip
gdb-1b11b49fe420e2d2699f1763ab51aa7a9f26d63a.tar.gz
gdb-1b11b49fe420e2d2699f1763ab51aa7a9f26d63a.tar.bz2
* gas/config/tc-arm.c (parse_neon_mov): Update which_operand
correctly.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index e521689..52a9030 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -5931,7 +5931,7 @@ parse_neon_mov (char **str, int *which_operand)
inst.operands[i].reg = val;
inst.operands[i].isreg = 1;
- inst.operands[i++].present = 1;
+ inst.operands[i].present = 1;
}
}
else if (parse_qfloat_immediate (&ptr, &inst.operands[i].imm) == SUCCESS)
@@ -6021,7 +6021,7 @@ parse_neon_mov (char **str, int *which_operand)
inst.operands[i].isvec = 1;
inst.operands[i].issingle = 1;
inst.operands[i].vectype = optype;
- inst.operands[i++].present = 1;
+ inst.operands[i].present = 1;
}
}
else