public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] [AArch64] Fix over length lines around aarch64_save_or_restore_fprs
@ 2013-11-19 17:18 Marcus Shawcroft
       [not found] ` <528B96C2.50804@arm.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Marcus Shawcroft @ 2013-11-19 17:18 UTC (permalink / raw)
  To: gcc-patches

Committed.

/Marcus

2013-11-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>

	* config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Fix over
	length lines.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [AArch64] Fix over length lines around aarch64_save_or_restore_fprs
       [not found] ` <528B96C2.50804@arm.com>
@ 2013-11-20 16:52   ` Marcus Shawcroft
  0 siblings, 0 replies; 2+ messages in thread
From: Marcus Shawcroft @ 2013-11-20 16:52 UTC (permalink / raw)
  To: Kyrill Tkachov; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

On 19/11/13 16:50, Kyrill Tkachov wrote:
> On 19/11/13 16:39, Marcus Shawcroft wrote:
>> Committed.
>>
>> /Marcus
>>
>> 2013-11-19  Marcus Shawcroft  <marcus.shawcroft@arm.com>
>>
>> 	* config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Fix over
>> 	length lines.
>>
>>
> Minor nit... but ENOPATCH ;)
>
> Kyrill
>

Ooops, sorry.

Attached
/Marcus

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0003-AArch64-Fix-over-length-lines.patch --]
[-- Type: text/x-patch; name=0003-AArch64-Fix-over-length-lines.patch, Size: 1927 bytes --]

diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index cfda95e..4faa7cf 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -1796,7 +1796,8 @@ aarch64_save_or_restore_fprs (int start_offset, int increment,
   unsigned regno;
   unsigned regno2;
   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++)
@@ -1839,16 +1840,17 @@ aarch64_save_or_restore_fprs (int start_offset, int increment,
 		    ( gen_load_pairdf (gen_rtx_REG (DFmode, regno), mem,
 				       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, gen_rtx_REG (DFmode, regno2));
+		  add_reg_note (insn, REG_CFA_RESTORE,
+				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
 		     is always assumed to be relevant to the frame
 		     calculations; subsequent parts, are only
 		     frame-related if explicitly marked.  */
-	      RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0,
-					    1)) = 1;
+	      RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0, 1)) = 1;
 	      regno = regno2;
 	      start_offset += increment * 2;
 	    }
@@ -1859,7 +1861,8 @@ aarch64_save_or_restore_fprs (int start_offset, int increment,
 	      else
 		{
 		  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;
 	    }
-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-20 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-19 17:18 [PATCH] [AArch64] Fix over length lines around aarch64_save_or_restore_fprs Marcus Shawcroft
     [not found] ` <528B96C2.50804@arm.com>
2013-11-20 16:52   ` Marcus Shawcroft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).