[ARM] Fix the outdated comment for output_move_double

Submitted by Jie Zhang on Dec. 21, 2010, 9:33 a.m.

Details

Message ID 4D107478.5020604@codesourcery.com
State New
Headers show

Commit Message

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,

Comments

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 hide | download patch | download mbox


	* 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)
 {