Hi, all,

In the implementation of nds32_can_use_bclr_p(), nds32_can_use_bset_p(),
and nds32_can_use_btgl_p(), we better use HOST_WIDE_INT type and GET_MODE_MASK()
so that the mask would be good for the bit-operation checking.


Committed as Rev.259647: https://gcc.gnu.org/r259647

gcc/
        * config/nds32/nds32-predicates.c (nds32_can_use_bclr_p): Mask with
        GET_MODE_MASK before any checking.
        (nds32_can_use_bset_p): Likewise.
        (nds32_can_use_btgl_p): Likewise.


Best regards,
jasonwucj

Reply via email to