Lines Matching refs:ival
358 /* Function to check if 'bclr' instruction can be used with IVAL. */
360 nds32_can_use_bclr_p (HOST_WIDE_INT ival)
365 /* Calculate the number of 1-bit of (~ival), if there is only one 1-bit,
366 it means the original ival has only one 0-bit,
369 one_bit_count = popcount_hwi ((unsigned HOST_WIDE_INT) (~ival) & mask);
375 /* Function to check if 'bset' instruction can be used with IVAL. */
377 nds32_can_use_bset_p (HOST_WIDE_INT ival)
382 /* Caculate the number of 1-bit of ival, if there is only one 1-bit,
385 one_bit_count = popcount_hwi ((unsigned HOST_WIDE_INT) (ival) & mask);
391 /* Function to check if 'btgl' instruction can be used with IVAL. */
393 nds32_can_use_btgl_p (HOST_WIDE_INT ival)
398 /* Caculate the number of 1-bit of ival, if there is only one 1-bit,
401 one_bit_count = popcount_hwi ((unsigned HOST_WIDE_INT) (ival) & mask);
407 /* Function to check if 'bitci' instruction can be used with IVAL. */
409 nds32_can_use_bitci_p (HOST_WIDE_INT ival)
417 && (ival < 0)
418 && satisfies_constraint_Iu15 (gen_int_mode (~ival, SImode)));
609 HOST_WIDE_INT ival = const_vector_to_hwint (op);
610 return (ival < ((1 << 5) + 16)) && (ival >= (0 + 16));
616 HOST_WIDE_INT ival = const_vector_to_hwint (op);
617 return (ival < (1 << 4)) && (ival >= -(1 << 4));
623 HOST_WIDE_INT ival = const_vector_to_hwint (op);
624 return (ival < (1 << 19)) && (ival >= -(1 << 19));
630 HOST_WIDE_INT ival = const_vector_to_hwint (op);
631 return (ival != 0) && ((ival & 0xfff) == 0);