Commit e0f396bc by Marcus Shawcroft Committed by Marcus Shawcroft

[AArch64] Fix over length lines around aarch64_save_or_restore_fprs.

From-SVN: r205043
parent 2a9704d0
2013-11-19 Marcus Shawcroft <marcus.shawcroft@arm.com> 2013-11-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Fix over
length lines.
2013-11-19 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/aarch64/aarch64.md * config/aarch64/aarch64.md
(aarch64_movdi_<mode>low, *add_<shift>_si_uxtw): (aarch64_movdi_<mode>low, *add_<shift>_si_uxtw):
Adjust whitespace. Adjust whitespace.
...@@ -1800,7 +1800,8 @@ aarch64_save_or_restore_fprs (int start_offset, int increment, ...@@ -1800,7 +1800,8 @@ aarch64_save_or_restore_fprs (int start_offset, int increment,
unsigned regno; unsigned regno;
unsigned regno2; unsigned regno2;
rtx insn; rtx insn;
rtx (*gen_mem_ref)(enum machine_mode, rtx) = (frame_pointer_needed)? gen_frame_mem : gen_rtx_MEM; rtx (*gen_mem_ref)(enum machine_mode, rtx)
= (frame_pointer_needed)? gen_frame_mem : gen_rtx_MEM;
for (regno = V0_REGNUM; regno <= V31_REGNUM; regno++) for (regno = V0_REGNUM; regno <= V31_REGNUM; regno++)
...@@ -1843,16 +1844,17 @@ aarch64_save_or_restore_fprs (int start_offset, int increment, ...@@ -1843,16 +1844,17 @@ aarch64_save_or_restore_fprs (int start_offset, int increment,
( gen_load_pairdf (gen_rtx_REG (DFmode, regno), mem, ( gen_load_pairdf (gen_rtx_REG (DFmode, regno), mem,
gen_rtx_REG (DFmode, regno2), mem2)); gen_rtx_REG (DFmode, regno2), mem2));
add_reg_note (insn, REG_CFA_RESTORE, gen_rtx_REG (DFmode, regno)); add_reg_note (insn, REG_CFA_RESTORE,
add_reg_note (insn, REG_CFA_RESTORE, gen_rtx_REG (DFmode, regno2)); gen_rtx_REG (DFmode, regno));
add_reg_note (insn, REG_CFA_RESTORE,
gen_rtx_REG (DFmode, regno2));
} }
/* The first part of a frame-related parallel insn /* The first part of a frame-related parallel insn
is always assumed to be relevant to the frame is always assumed to be relevant to the frame
calculations; subsequent parts, are only calculations; subsequent parts, are only
frame-related if explicitly marked. */ frame-related if explicitly marked. */
RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0, RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0, 1)) = 1;
1)) = 1;
regno = regno2; regno = regno2;
start_offset += increment * 2; start_offset += increment * 2;
} }
...@@ -1863,7 +1865,8 @@ aarch64_save_or_restore_fprs (int start_offset, int increment, ...@@ -1863,7 +1865,8 @@ aarch64_save_or_restore_fprs (int start_offset, int increment,
else else
{ {
insn = emit_move_insn (gen_rtx_REG (DFmode, regno), mem); insn = emit_move_insn (gen_rtx_REG (DFmode, regno), mem);
add_reg_note (insn, REG_CFA_RESTORE, gen_rtx_REG (DImode, regno)); add_reg_note (insn, REG_CFA_RESTORE,
gen_rtx_REG (DImode, regno));
} }
start_offset += increment; start_offset += increment;
} }
......
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