Re: [PATCH] Improve the mode which is used for insertion

2013-04-11 Thread Robert Schiele
Hi, On Tue, Sep 4, 2012 at 12:33 AM, Andrew Pinski wrote: > Hi, > On MIPS it is better sometimes not to use the word mode (DImode) but > rather SImode. The main reason is for 32bits, the value has to be > sign extended to 64bits so using the 32bit instruction for insertion > is allows for that

[PATCH] Improve the mode which is used for insertion

2012-09-03 Thread Andrew Pinski
Hi, On MIPS it is better sometimes not to use the word mode (DImode) but rather SImode. The main reason is for 32bits, the value has to be sign extended to 64bits so using the 32bit instruction for insertion is allows for that to happen automatically. This patch implements this by adding a targ