Home | History | Annotate | Download | only in gcc

Lines Matching refs:tmode

1501    to either MODE or TMODE.  MODE, TMODE and UNSIGNEDP are arguments
1506 machine_mode tmode, bool unsignedp)
1508 if (GET_MODE (x) == tmode || GET_MODE (x) == mode)
1514 if (!SCALAR_INT_MODE_P (tmode))
1516 scalar_int_mode int_mode = int_mode_for_mode (tmode).require ();
1519 return gen_lowpart (tmode, x);
1522 return convert_to_mode (tmode, x, unsignedp);
1537 machine_mode mode, machine_mode tmode)
1575 target = spec_target = gen_reg_rtx (tmode);
1607 return convert_extracted_bit_field (target, mode, tmode, unsignedp);
1639 machine_mode tmode, bool reverse, bool fallback_p,
1645 if (tmode == VOIDmode)
1646 tmode = mode;
1658 return gen_reg_rtx (tmode);
1674 && VECTOR_MODE_P (tmode)
1675 && known_eq (bitsize, GET_MODE_BITSIZE (tmode))
1676 && maybe_gt (GET_MODE_SIZE (GET_MODE (op0)), GET_MODE_SIZE (tmode)))
1679 if (GET_MODE_INNER (new_mode) != GET_MODE_INNER (tmode))
1681 scalar_mode inner_mode = GET_MODE_INNER (tmode);
1684 GET_MODE_UNIT_BITSIZE (tmode), &nunits)
1685 || !related_vector_mode (tmode, inner_mode,
1693 && (convert_optab_handler (vec_extract_optab, new_mode, tmode)
1695 && multiple_p (bitnum, GET_MODE_BITSIZE (tmode), &pos))
1699 machine_mode innermode = tmode;
1715 return gen_lowpart (tmode, target);
1724 && GET_MODE_INNER (GET_MODE (op0)) != tmode)
1728 if (GET_MODE_CLASS (tmode) == MODE_FLOAT)
1730 else if (GET_MODE_CLASS (tmode) == MODE_FRACT)
1732 else if (GET_MODE_CLASS (tmode) == MODE_UFRACT)
1734 else if (GET_MODE_CLASS (tmode) == MODE_ACCUM)
1736 else if (GET_MODE_CLASS (tmode) == MODE_UACCUM)
1743 && known_eq (GET_MODE_UNIT_SIZE (new_mode), GET_MODE_SIZE (tmode))
1777 return gen_lowpart (tmode, target);
1826 if (!SCALAR_INT_MODE_P (tmode)
1827 || !mode_for_size (bitsize, GET_MODE_CLASS (tmode), 0).exists (&mode1))
1839 return convert_extracted_bit_field (sub, mode, tmode, unsignedp);
1850 return convert_extracted_bit_field (op0, mode, tmode, unsignedp);
1871 target, mode, tmode, reverse, fallback_p);
1883 rtx target, machine_mode mode, machine_mode tmode,
1984 return convert_extracted_bit_field (target, mode, tmode, unsignedp);
2007 tmode))
2012 tmode);
2022 tmode))
2027 tmode);
2038 0, 0, tmode, &bitpos);
2044 mode, tmode, reverse, false, NULL);
2057 if (!int_mode_for_mode (tmode).exists (&int_mode))
2067 if (reverse && COMPLEX_MODE_P (tmode))
2070 target = convert_extracted_bit_field (target, mode, tmode, unsignedp);
2071 target = flip_storage_order (tmode, target);
2074 target = convert_extracted_bit_field (target, mode, tmode, unsignedp);
2087 TMODE is the mode the caller would like the value to have;
2094 Otherwise, we return a REG of mode TMODE or MODE, with TMODE preferred
2103 machine_mode tmode, bool reverse, rtx *alt_rtl)
2113 mode1 = tmode;
2134 return convert_extracted_bit_field (result, mode, tmode, unsignedp);
2142 target, mode, tmode, reverse, true, alt_rtl);
2146 target, mode, tmode, reverse, true, alt_rtl);
2159 If TARGET is not used, create a pseudo-reg of mode TMODE for the value. */
2162 extract_fixed_bit_field (machine_mode tmode, rtx op0,
2183 return extract_fixed_bit_field_1 (tmode, op0, mode, bitsize, bitnum,
2192 extract_fixed_bit_field_1 (machine_mode tmode, rtx op0, scalar_int_mode mode,
2219 if (tmode != mode)
2223 /* Convert the value to the desired mode. TMODE must also be a
2226 scalar_int_mode new_mode = as_a <scalar_int_mode> (tmode);
2254 if (mode != tmode)