Home
last modified time | relevance | path

Searched refs:ctz (Results 1 – 25 of 26) sorted by relevance

12

/dragonfly/contrib/gcc-4.7/libgcc/
HDlibgcc2.h317 #define __ctzSI2 __NW(ctz,2)
323 #define __ctzDI2 __NDW(ctz,2)
/dragonfly/contrib/gcc-8.0/libgcc/
HDlibgcc2.h320 #define __ctzSI2 __NW(ctz,2)
326 #define __ctzDI2 __NDW(ctz,2)
/dragonfly/contrib/gcc-8.0/gcc/
HDoptabs.def167 OPTAB_NL(ctz_optab, "ctz$a2", CTZ, "ctz", '2', gen_int_libfunc)
HDwide-int.cc2059 wi::ctz (const wide_int_ref &x) in ctz() function in wi
2117 return eq_p (x, 0) ? 0 : ctz (x) + 1; in ffs()
2125 return ctz (x) + 1 == int (precision); in only_sign_bit_p()
HDinternal-fn.def224 DEF_INTERNAL_INT_FN (CTZ, ECF_CONST | ECF_NOTHROW, ctz, unary)
HDtree-ssa-ccp.c1464 int r1tz = wi::ctz (r1val | r1mask); in bit_value_binop()
1465 int r2tz = wi::ctz (r2val | r2mask); in bit_value_binop()
HDfold-const-call.c884 tmp = wi::ctz (arg); in fold_const_call_ss()
HDmatch.pd2235 /* (CST1 << A) == CST2 -> A == ctz (CST2) - ctz (CST1)
2236 (CST1 << A) != CST2 -> A != ctz (CST2) - ctz (CST1)
2241 (with { int cand = wi::ctz (wi::to_wide (@2)) - wi::ctz (wi::to_wide (@0)); }
HDdwarf2out.c13945 int ctz = ctz_hwi (i); in int_loc_descriptor() local
13952 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 5 in int_loc_descriptor()
13958 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 8 in int_loc_descriptor()
13983 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 8 in int_loc_descriptor()
13987 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 16 in int_loc_descriptor()
13993 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 32 in int_loc_descriptor()
14199 int clz, ctz; in size_of_int_loc_descriptor() local
14207 ctz = ctz_hwi (i); in size_of_int_loc_descriptor()
14208 if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 5 in size_of_int_loc_descriptor()
14212 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 8 in size_of_int_loc_descriptor()
[all …]
HDtree-vrp.c2228 n = wi::ctz (w); in extract_range_from_binary_expr_1()
2233 m = wi::ctz (w) - n; in extract_range_from_binary_expr_1()
HDbuiltins.def848 DEF_GCC_BUILTIN (BUILT_IN_CTZ, "ctz", BT_FN_INT_UINT, ATTR_CONST_NOTHROW_LEAF_LIST)
HDsimplify-rtx.c907 in_bits -= wi::ctz (wi::uhwi (nonzero, in_prec)); in exact_int_to_float_conversion_p()
1890 int_value = wi::ctz (op0); in simplify_const_unary_operation()
HDwide-int.h597 int ctz (const wide_int_ref &);
HDtree.c2655 ret1 = wi::ctz (wi::to_wide (expr)); in tree_ctz()
2658 ret1 = wi::ctz (get_nonzero_bits (expr)); in tree_ctz()
11275 return build_int_cst (TREE_TYPE (x), wi::ctz (wi::to_wide (x))); in num_ending_zeros()
HDtree-ssa-loop-niter.c927 - wi::ctz (wi::to_wide (s)), false); in number_of_iterations_ne_max()
HDrtl.def659 DEF_RTL_EXPR(CTZ, "ctz", "e", RTX_UNARY)
HDfold-const.c9079 int tz = wi::ctz (y); in mask_with_tz()
/dragonfly/contrib/gcc-4.7/gcc/
HDdwarf2out.c10361 int ctz = ctz_hwi (i); in int_loc_descriptor() local
10368 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 5 in int_loc_descriptor()
10374 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 8 in int_loc_descriptor()
10381 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 8 in int_loc_descriptor()
10387 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 16 in int_loc_descriptor()
10394 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 32 in int_loc_descriptor()
10455 int clz, ctz; in size_of_int_loc_descriptor() local
10463 ctz = ctz_hwi (i); in size_of_int_loc_descriptor()
10464 if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 5 in size_of_int_loc_descriptor()
10468 else if (clz + ctz >= HOST_BITS_PER_WIDE_INT - 8 in size_of_int_loc_descriptor()
[all …]
HDbuiltins.def642 DEF_GCC_BUILTIN (BUILT_IN_CTZ, "ctz", BT_FN_INT_UINT, ATTR_CONST_NOTHROW_LEAF_LIST)
HDrtl.def630 DEF_RTL_EXPR(CTZ, "ctz", "e", RTX_UNARY)
/dragonfly/contrib/gcc-8.0/gcc/config/i386/
HDi386.md13453 (ctz:SWI48
13487 (set (match_dup 0) (ctz:SI (match_dup 1)))])
13511 (ctz:SWI48 (match_dup 1)))]
13521 (ctz:SWI48 (match_dup 1)))
13538 (ctz:SWI48 (match_dup 1)))
13554 (ctz:SWI48 (match_dup 1)))]
13563 (define_insn_and_split "ctz<mode>2"
13565 (ctz:SWI48
13586 (ctz:SWI48 (match_dup 1)))
13604 (define_insn "*ctz<mode>2_falsedep"
[all …]
/dragonfly/contrib/gcc-4.7/gcc/doc/
HDrtl.texi2399 @findex ctz
2400 @item (ctz:@var{m} @var{x})
2405 @code{ctz(x)} is equivalent to @code{ffs(@var{x}) - 1}. The mode of
HDtm.texi10640 for @code{clz} or @code{ctz} with a zero operand.
10650 @code{ctz} at zero is assumed to be undefined.
10658 and @code{ctz} at zero do @emph{not} extend to the builtin functions
HDtm.texi.in10508 for @code{clz} or @code{ctz} with a zero operand.
10518 @code{ctz} at zero is assumed to be undefined.
10526 and @code{ctz} at zero do @emph{not} extend to the builtin functions
/dragonfly/contrib/gcc-4.7/gcc/config/i386/
HDi386.md11977 (ctz:SWI48 (match_dup 1)))])
12004 (set (match_dup 0) (ctz:SI (match_dup 1)))])
12023 (ctz:SWI48 (match_dup 1)))]
12030 (define_insn "ctz<mode>2"
12032 (ctz:SWI248 (match_operand:SWI248 1 "nonimmediate_operand" "rm")))

12