Re: [25/77] Use is_a for bitmask optimisations

2017-08-14 Thread Jeff Law
On 07/13/2017 02:47 AM, Richard Sandiford wrote: > Explicitly check for scalar_int_mode in code that maps arithmetic > to full-mode bit operations. These operations wouldn't work correctly > for vector modes, for example. In many cases this is enforced also by > checking whether an operand is CON

[25/77] Use is_a for bitmask optimisations

2017-07-13 Thread Richard Sandiford
Explicitly check for scalar_int_mode in code that maps arithmetic to full-mode bit operations. These operations wouldn't work correctly for vector modes, for example. In many cases this is enforced also by checking whether an operand is CONST_INT_P, but there were other cases where the condition