[PATCH] Use ColdFire V4 MVS/MVZ instructions to create constants

Bernardo Innocenti bernie@develer.com
Sat May 29 20:17:00 GMT 2004


Richard Henderson wrote:
> On Wed, May 05, 2004 at 10:05:44AM -0400, Peter Barada wrote:
> 
>>	* gcc/config/m68k/m68k.c(CONST_METHOD): Add MVZ, MVS.
>>	* gcc/config/m68k/m68k.c(const_method): Likewise.
>>	* gcc/config/m68k/m68k.c(const_int_cost): Likewise.
>>	* gcc/config/m68k/m68k.c(const_int_cost): Likewise.
>>	* gcc/config/m68k/m68k.c(output_move_const_into_data_reg): Likewise.
> 
> 
> Ok. 

I've committed this patch.  Thank you.


>>+       /* Try using MVZ/MVS with an immedaite value to load constants.   */
> 
> Typo.

... and fixed the typo.

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/



More information about the Gcc-patches mailing list