Commit 1ce53769 by Nick Clifton

Remove redundant writeback test in previous delta.

From-SVN: r64307
parent b17fe233
......@@ -7207,11 +7207,14 @@ print_multi_reg (stream, instr, reg, mask)
fprintf (stream, "}");
/* Add a ^ character for the 26-bit ABI, but only if we were loading
the PC or not updating the stack pointer. Otherwise we generate
an UNPREDICTABLE instruction. */
the PC. Otherwise we would generate an UNPREDICTABLE instruction.
Strictly speaking the instruction would be unpredicatble only if
we were writing back the base register as well, but since we never
want to generate an LDM type 2 instruction (register bank switching)
which is what you get if the PC is not being loaded, we do not need
to check for writeback. */
if (! TARGET_APCS_32
&& (((mask & (1 << PC_REGNUM)) != 0)
|| strchr (instr, '!') == NULL))
&& ((mask & (1 << PC_REGNUM)) != 0))
fprintf (stream, "^");
fprintf (stream, "\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment