Re: [wide-int] Add a copy helper routine

2013-10-20 Thread Richard Biener
Richard Sandiford wrote: >When the wi:: patch went in, Kenny rightly complained that there were >too many copy loops. This patch gets rid of an unnecessary loop in >wi::abs and consolidates the rest into a single function. Again, it >helps >the ::is_sign_extended patch. > >Tested on x86_64-linux

[wide-int] Add a copy helper routine

2013-10-20 Thread Richard Sandiford
When the wi:: patch went in, Kenny rightly complained that there were too many copy loops. This patch gets rid of an unnecessary loop in wi::abs and consolidates the rest into a single function. Again, it helps the ::is_sign_extended patch. Tested on x86_64-linux-gnu. OK to install? Thanks, Ri