Patchwork [ARM] Fix the outdated comment for output_move_double

login
register
mail settings
Submitter Jie Zhang
Date Dec. 21, 2010, 9:33 a.m.
Message ID <4D107478.5020604@codesourcery.com>
Download mbox | patch
Permalink /patch/76271/
State New
Headers show

Comments

Jie Zhang - Dec. 21, 2010, 9:33 a.m.
Hi,

I just found that the comment above output_move_double didn't match with 
the implementation of the function. Paul told me that it was an out of 
date comment. This patch updates the comment to reflect the current 
implementation of output_move_double. This patch is almost obvious. I 
will commit it in 12 hours if no one objects.


Regards,
Jie Zhang - Dec. 22, 2010, 1:42 a.m.
On 12/21/2010 05:33 PM, Jie Zhang wrote:
> Hi,
>
> I just found that the comment above output_move_double didn't match with
> the implementation of the function. Paul told me that it was an out of
> date comment. This patch updates the comment to reflect the current
> implementation of output_move_double. This patch is almost obvious. I
> will commit it in 12 hours if no one objects.
>
Committed.

Patch


	* config/arm/arm.c (output_move_double): Update the comment
	above the function to reflect the current implementation.

Index: config/arm/arm.c
===================================================================
--- config/arm/arm.c	(revision 168105)
+++ config/arm/arm.c	(working copy)
@@ -12898,9 +12898,8 @@  output_mov_double_arm_from_fpa (rtx *ope
   return "";
 }
 
-/* Output a move between double words.
-   It must be REG<-REG, REG<-CONST_DOUBLE, REG<-CONST_INT, REG<-MEM
-   or MEM<-REG and all MEMs must be offsettable addresses.  */
+/* Output a move between double words.  It must be REG<-MEM
+   or MEM<-REG.  */
 const char *
 output_move_double (rtx *operands)
 {