Re: [avr] Use unsigned int rather than double_int for insert_bits

2013-11-03 Thread Denis Chertykov
2013/11/3 Richard Sandiford : > The __builtin_avr_insert_bits code uses a double_int to handle the mask, > but AIUI the mask has exactly 32 bits. Is that right? If so, would it be > OK to use "unsigned int" instead? I realise this might seem like pointless > churn, but it would help out with the

[avr] Use unsigned int rather than double_int for insert_bits

2013-11-03 Thread Richard Sandiford
The __builtin_avr_insert_bits code uses a double_int to handle the mask, but AIUI the mask has exactly 32 bits. Is that right? If so, would it be OK to use "unsigned int" instead? I realise this might seem like pointless churn, but it would help out with the wide_int conversion. Doing this also