Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/picolibc-3.7.0-3.6.0/newlib/libc/machine/visium/
Dmemcpy.c38 #define MOVE_32_OBJECTS(in,out) \ argument
41 m0 = in [0]; \
42 m1 = in [1]; \
43 m2 = in [2]; \
44 m3 = in [3]; \
50 m0 = in [4]; \
51 m1 = in [5]; \
52 m2 = in [6]; \
53 m3 = in [7]; \
59 m0 = in [8]; \
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/ces/
Dutf-8.c46 register ucs4_t in, in convert_from_ucs() argument
54 if ((in >= 0x0000D800 && in <= 0x0000DFFF) in convert_from_ucs()
55 || in > 0x7FFFFFFF || in == 0x0000FFFF || in == 0x0000FFFE) in convert_from_ucs()
58 if (in < 0x80) in convert_from_ucs()
60 else if (in < 0x800) in convert_from_ucs()
62 else if (in < 0x10000) in convert_from_ucs()
64 else if (in < 0x200000) in convert_from_ucs()
66 else if (in < 0x4000000) in convert_from_ucs()
79 *cp = (unsigned char)in; in convert_from_ucs()
83 *cp++ = (unsigned char)((in >> 6) | 0x000000C0); in convert_from_ucs()
[all …]
Dutf-16.c89 register ucs4_t in, in utf_16_convert_from_ucs() argument
97 if (in > 0x0010FFFF || (in >= 0x0000D800 && in <= 0x0000DFFF) in utf_16_convert_from_ucs()
98 || in == 0x0000FFFF || in == 0x0000FFFE) in utf_16_convert_from_ucs()
105 if (in > 0x0000FFFF) in utf_16_convert_from_ucs()
119 if (in < 0x00010000) in utf_16_convert_from_ucs()
124 *cp = ICONV_HTOLES ((ucs2_t)in); in utf_16_convert_from_ucs()
127 *cp = ICONV_HTOBES ((ucs2_t)in); in utf_16_convert_from_ucs()
130 *cp = (ucs2_t)in; in utf_16_convert_from_ucs()
139 in -= 0x00010000; in utf_16_convert_from_ucs()
140 w1 = ((ucs2_t)((in >> 10)) & 0x03FF) | 0xD800; in utf_16_convert_from_ucs()
[all …]
Ducs-4.c81 ucs4_t in, in ucs_4_convert_from_ucs() argument
85 if ((in >= 0x0000D800 && in <= 0x0000DFFF) /* Surrogate character */ in ucs_4_convert_from_ucs()
86 || in > 0x7FFFFFFF || in == 0x0000FFFF || in == 0x0000FFFE) in ucs_4_convert_from_ucs()
95 uc = ICONV_HTOBEL (in); in ucs_4_convert_from_ucs()
97 uc = ICONV_HTOLEL (in); in ucs_4_convert_from_ucs()
/picolibc-3.7.0-3.6.0/newlib/libm/test/
Ddcvt.c117 renormalize (cvt_info_type *in) in renormalize() argument
122 while (in->value >= 1.0) in renormalize()
124 in->value = in->value * 0.1; in renormalize()
125 in->exp++; in renormalize()
131 if (in->exp >= 0) in renormalize()
133 in->abs_exp_sign = '+'; in renormalize()
134 in->abs_exp = in->exp; in renormalize()
138 in->abs_exp_sign = '-'; in renormalize()
139 in->abs_exp = -in->exp; in renormalize()
150 cvt_info_type *in) in normalize() argument
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/
Dround.h48 vec_double2 in, in_hi, out; in _round() local
50 in = spu_promote(x, 0); in _round()
54 in_hi = spu_shuffle(in, in, splat_hi); in _round()
63 in = (vec_double2)spu_addx((vec_uint4)in, addend, in _round()
64 spu_rlqwbyte(spu_genc((vec_uint4)in, addend), 4)); in _round()
68 in_hi = spu_shuffle(in, in, splat_hi); in _round()
81 out = spu_andc(in, (vec_double2)(mask)); in _round()
Droundf.h46 vec_float4 in, out; in _roundf() local
48 in = spu_promote(x, 0); in _roundf()
52 exp = spu_sub(125, spu_and(spu_rlmask((vec_int4)in, -23), 0xFF)); in _roundf()
57 in = (vec_float4)spu_add((vec_uint4)in, addend); in _roundf()
61 exp = spu_sub(127, spu_and(spu_rlmask((vec_int4)in, -23), 0xFF)); in _roundf()
68 out = spu_andc(in, (vec_float4)(mask)); in _roundf()
Dfabsf.h51 } in; in _fabsf() local
53 in.f = value; in _fabsf()
54 in.ui = (in.ui << 1) >> 1; in _fabsf()
56 return (in.f); in _fabsf()
Dceil.h51 vec_double2 in, in_hi, out; in _ceil() local
54 in = spu_promote(x, 0); in _ceil()
67 in_hi = spu_shuffle(in, in, splat_hi); in _ceil()
83 equal0 = spu_cmpeq(spu_and((vec_uint4)in, mask), 0); in _ceil()
89 in = spu_sel(in, (vec_double2)insert, spu_andc((vec_ullong2)mask, sign)); in _ceil()
90 …out = (vec_double2)spu_addx((vec_uint4)in, addend, spu_rlqwbyte(spu_genc((vec_uint4)in, addend), 4… in _ceil()
Dfloor.h49 vec_double2 in, in_hi, out; in _floor() local
52 in = spu_promote(x, 0); in _floor()
65 in_hi = spu_shuffle(in, in, splat_hi); in _floor()
81 equal0 = spu_cmpeq(spu_and((vec_uint4)in, mask), 0); in _floor()
88 in = spu_sel(in, (vec_double2)insert, spu_andc((vec_ullong2)mask, sign)); in _floor()
89 out = (vec_double2)spu_addx((vec_uint4)in, addend, in _floor()
90 spu_rlqwbyte(spu_genc((vec_uint4)in, addend), 4)); in _floor()
Drint.h45 vec_double2 in, out, addend; in _rint() local
47 in = spu_promote(x, 0); in _rint()
54 in, sign); in _rint()
55 out = spu_sel(spu_sub(spu_add(in, addend), addend), in, sign); in _rint()
Dlrint.h45 vec_double2 in, addend; in _lrint() local
47 in = spu_promote(x, 0); in _lrint()
52 in, VEC_SPLAT_U64(0x8000000000000000ULL)); in _lrint()
53 out = (vec_int4)spu_rlqwbyte(spu_add(in, addend), 4); in _lrint()
57 sign = spu_rlmaska((vec_int4)in, -31); in _lrint()
Dnearbyint.h46 vec_double2 in, out, addend; in _nearbyint() local
50 in = spu_promote(x, 0); in _nearbyint()
57 in, sign); in _nearbyint()
58 out = spu_sel(spu_sub(spu_add(in, addend), addend), in, sign); in _nearbyint()
Dfloord2.h59 static __inline vector double _floord2(vector double in) in _floord2() argument
81 in_hi = spu_shuffle(in, in, splat_hi); in _floord2()
97 equal0 = spu_cmpeq(spu_and((vec_uint4)in, mask), 0); in _floord2()
103 in = spu_sel(in, (vec_double2)insert, spu_andc((vec_ullong2)mask, sign)); in _floord2()
104 …out = (vec_double2)spu_addx((vec_uint4)in, addend, spu_rlqwbyte(spu_genc((vec_uint4)in, addend), 4… in _floord2()
Dfloorf.h87 vec_float4 in, out; in _floorf()
89 in = spu_promote(value, 0); in _floorf()
102 pos = spu_cmpgt((vec_int4)in, -1); in _floorf()
103 exp = spu_and(spu_rlmask((vec_int4)in, -23), 0xFF); in _floorf()
113 spu_cmpeq(spu_and((vec_uint4)in, mask), 0)); in _floorf()
118 out = (vec_float4)spu_add(spu_sel((vec_uint4)in, insert, mask), addend); in _floorf()
Dlroundf.h46 vec_float4 in, addend; in _lroundf() local
48 in = spu_promote(x, 0); in _lroundf()
51 addend = spu_sel(VEC_SPLAT_F32(0.5f), in, VEC_SPLAT_U32(0x80000000)); in _lroundf()
52 out = spu_convts(spu_add(in, addend), 0); in _lroundf()
Dceilf.h87 vec_float4 in, out; in _ceilf()
90 in = spu_promote(value, 0); in _ceilf()
103 pos = spu_cmpgt((vec_int4)in, -1); in _ceilf()
104 exp = spu_and(spu_rlmask((vec_int4)in, -23), 0xFF); in _ceilf()
113 addend = spu_andc(spu_and(spu_add(mask, 1), pos), spu_cmpeq(spu_and((vec_uint4)in, mask), 0)); in _ceilf()
118 out = (vec_float4)spu_add(spu_sel((vec_uint4)in, insert, mask), addend); in _ceilf()
Dtrunc.h47 vec_double2 in, in_hi, out; in _trunc() local
49 in = spu_promote(x, 0); in _trunc()
55 in_hi = spu_shuffle(in, in, splat_hi); in _trunc()
66 out = spu_andc(in, (vec_double2)(mask)); in _trunc()
Dlround.h49 vec_double2 in; in _lround() local
51 in = spu_promote(x, 0); in _lround()
56 exp = spu_and(spu_rlmask((vec_int4)in, -20), 0x7FF); in _lround()
64 mant = spu_sel(spu_rlmaskqwbyte((vec_uint4)in, -8), VEC_SPLAT_U32(0x00100000), in _lround()
78 sign = (vec_uint4)spu_rlmaska((vec_int4)in, -31); in _lround()
Dllrintf.h44 vec_float4 in; in _llrintf() local
46 in = spu_promote(x, 0); in _llrintf()
52 mant = spu_sel(spu_rlmaskqwbyte((vec_uint4)in, -11), in _llrintf()
59 exp = spu_and(spu_rlmask((vec_int4)in, -23), 0xFF); in _llrintf()
69 sign = spu_maskw(spu_extract(spu_rlmaska((vec_int4)in, -31), 0)); in _llrintf()
Dlog2f.h74 } in; in _log2f() local
82 in.f = x; in _log2f()
86 exponent = (signed)((in.ui >> 23) & 0xFF) - 127; in _log2f()
90 in.ui -= exponent << 23; in _log2f()
95 x = in.f - 1.0f; in _log2f()
Dsqrtd2.h56 static __inline vector double _sqrtd2(vector double in) in _sqrtd2() argument
71 exp = (vec_uint4)spu_and((vec_ullong2)in, spu_splats(0xFFF0000000000000ULL)); in _sqrtd2()
74 in = spu_mul(in, spu_sel(one, two_pow_52, denorm)); in _sqrtd2()
81 dx = spu_sel(in, dhalf, mask); in _sqrtd2()
120 bias_exp = spu_rlmaska(spu_sub((vec_int4)spu_and((vec_ullong2)in, mask), in _sqrtd2()
143 spu_cmpeq(in, spu_splats(0.0))); in _sqrtd2()
145 dg = spu_sel(spu_or(dg, neg), in, nochange); in _sqrtd2()
Dllroundf.h44 vec_float4 in; in _llroundf() local
46 in = spu_promote(x, 0); in _llroundf()
52 mant = spu_sel(spu_rlmaskqwbyte((vec_uint4)in, -11), in _llroundf()
59 exp = spu_and(spu_rlmask((vec_int4)in, -23), 0xFF); in _llroundf()
74 sign = spu_maskw(spu_extract(spu_rlmaska((vec_int4)in, -31), 0)); in _llroundf()
Dtruncf.h43 vec_float4 in, out; in _truncf() local
45 in = spu_promote(x, 0); in _truncf()
51 exp = spu_sub(127, spu_and(spu_rlmask((vec_int4)in, -23), 0xFF)); in _truncf()
60 out = spu_andc(in, (vec_float4)(mask)); in _truncf()
/picolibc-3.7.0-3.6.0/newlib/libm/ld/common/
Ds_scalbln.c34 int in; in scalblnl() local
36 in = (int)n; in scalblnl()
37 if (in != n) { in scalblnl()
39 in = INT_MAX; in scalblnl()
41 in = INT_MIN; in scalblnl()
43 return (scalbnl(x, in)); in scalblnl()

12345678910>>...16