Home
last modified time | relevance | path

Searched refs:UINT128 (Results 1 – 25 of 67) sorted by relevance

123

/netbsd/src/external/gpl3/gcc/dist/libgcc/config/libbid/
Dbid_functions.h66 } UINT128; typedef
76 #define BINARY128 UINT128
313 UINT128 decfp128_value;
349 extern void bid_to_dpd128 (UINT128 * pres, UINT128 * px);
352 extern void dpd_to_bid128 (UINT128 * pres, UINT128 * px);
354 extern void bid128dd_add (UINT128 * pres, UINT64 * px,
358 extern void bid128dq_add (UINT128 * pres, UINT64 * px,
359 UINT128 * py
362 extern void bid128qd_add (UINT128 * pres, UINT128 * px,
366 extern void bid128_add (UINT128 * pres, UINT128 * px,
[all …]
Dbid128_mul.c28 bid64dq_mul (UINT64 * pres, UINT64 * px, UINT128 * py
37 bid64dq_mul (UINT64 x, UINT128 y
42 UINT128 x1;
61 bid64qd_mul (UINT64 * pres, UINT128 * px, UINT64 * py
70 bid64qd_mul (UINT128 x, UINT64 y
75 UINT128 y1;
94 bid64qq_mul (UINT64 * pres, UINT128 * px, UINT128 * py
97 UINT128 x = *px, y = *py;
103 bid64qq_mul (UINT128 x, UINT128 y
108 UINT128 z = { {0x0000000000000000ull, 0x5ffe000000000000ull}
[all …]
Dbid128_noncomp.c52 UINT128 * px _EXC_MASKS_PARAM _EXC_INFO_PARAM) {
53 UINT128 x = *px;
56 bid128_isSigned (UINT128 x _EXC_MASKS_PARAM _EXC_INFO_PARAM) {
68 UINT128 * px _EXC_MASKS_PARAM _EXC_INFO_PARAM) {
69 UINT128 x = *px;
72 bid128_isNormal (UINT128 x _EXC_MASKS_PARAM _EXC_INFO_PARAM) {
153 UINT128 * px _EXC_MASKS_PARAM _EXC_INFO_PARAM) {
154 UINT128 x = *px;
157 bid128_isSubnormal (UINT128 x _EXC_MASKS_PARAM _EXC_INFO_PARAM) {
236 UINT128 * px _EXC_MASKS_PARAM _EXC_INFO_PARAM) {
[all …]
Dbid128_to_int8.c29 BID_TO_SMALL_INT_CVT_FUNCTION (char, bid128_to_int8_rnint, UINT128, x,
33 BID_TO_SMALL_INT_CVT_FUNCTION (char, bid128_to_int8_xrnint, UINT128, x,
37 BID_TO_SMALL_INT_CVT_FUNCTION (char, bid128_to_int8_rninta, UINT128, x,
41 BID_TO_SMALL_INT_CVT_FUNCTION (char, bid128_to_int8_xrninta, UINT128, x,
45 BID_TO_SMALL_INT_CVT_FUNCTION (char, bid128_to_int8_int, UINT128, x,
49 BID_TO_SMALL_INT_CVT_FUNCTION (char, bid128_to_int8_xint, UINT128, x,
53 BID_TO_SMALL_INT_CVT_FUNCTION (char, bid128_to_int8_floor, UINT128, x,
57 BID_TO_SMALL_INT_CVT_FUNCTION (char, bid128_to_int8_ceil, UINT128, x,
61 BID_TO_SMALL_INT_CVT_FUNCTION (char, bid128_to_int8_xfloor, UINT128, x,
65 BID_TO_SMALL_INT_CVT_FUNCTION (char, bid128_to_int8_xceil, UINT128, x,
Dbid128_to_int16.c29 BID_TO_SMALL_INT_CVT_FUNCTION (short, bid128_to_int16_rnint, UINT128, x,
33 BID_TO_SMALL_INT_CVT_FUNCTION (short, bid128_to_int16_xrnint, UINT128,
37 BID_TO_SMALL_INT_CVT_FUNCTION (short, bid128_to_int16_rninta, UINT128,
41 BID_TO_SMALL_INT_CVT_FUNCTION (short, bid128_to_int16_xrninta, UINT128,
45 BID_TO_SMALL_INT_CVT_FUNCTION (short, bid128_to_int16_int, UINT128, x,
49 BID_TO_SMALL_INT_CVT_FUNCTION (short, bid128_to_int16_xint, UINT128, x,
53 BID_TO_SMALL_INT_CVT_FUNCTION (short, bid128_to_int16_floor, UINT128, x,
57 BID_TO_SMALL_INT_CVT_FUNCTION (short, bid128_to_int16_ceil, UINT128, x,
61 BID_TO_SMALL_INT_CVT_FUNCTION (short, bid128_to_int16_xfloor, UINT128,
65 BID_TO_SMALL_INT_CVT_FUNCTION (short, bid128_to_int16_xceil, UINT128, x,
Dbid128_to_uint8.c30 UINT128, x, bid128_to_uint32_rnint,
34 UINT128, x, bid128_to_uint32_xrnint,
38 UINT128, x, bid128_to_uint32_rninta,
42 UINT128, x, bid128_to_uint32_xrninta,
46 UINT128, x, bid128_to_uint32_int,
50 UINT128, x, bid128_to_uint32_xint,
54 UINT128, x, bid128_to_uint32_floor,
58 UINT128, x, bid128_to_uint32_ceil,
62 UINT128, x, bid128_to_uint32_xfloor,
66 UINT128, x, bid128_to_uint32_xceil,
Dbid128_to_uint16.c30 UINT128, x, bid128_to_uint32_rnint,
34 UINT128, x, bid128_to_uint32_xrnint,
38 UINT128, x, bid128_to_uint32_rninta,
42 bid128_to_uint16_xrninta, UINT128, x,
47 UINT128, x, bid128_to_uint32_int,
51 UINT128, x, bid128_to_uint32_xint,
55 UINT128, x, bid128_to_uint32_floor,
59 UINT128, x, bid128_to_uint32_ceil,
63 UINT128, x, bid128_to_uint32_xfloor,
67 UINT128, x, bid128_to_uint32_xceil,
Dbid128.c286 UINT128 midpoint128[] = { // the 64-bit word order is L, H
533 UINT128 ten2k128[] = { // the 64-bit word order is L, H
755 UINT128 ten2mk128[] = {
1006 UINT128 ten2mk128trunc[] = {
1046 UINT128 ten2mk128M[] = {
1056 UINT128 ten2mk128truncM[] = {
2512 UINT128 ten2m3k128[] = {
2693 UINT128 Kx128[] = {
2901 UINT128 ten2mxtrunc128[] = {
Dbid_dpd.c355 bid_to_dpd128 (UINT128 * pres, UINT128 * pba) {
356 UINT128 ba = *pba;
358 UINT128
359 bid_to_dpd128 (UINT128 ba) {
361 UINT128 res;
363 UINT128 sign;
365 UINT128 trailing;
366 UINT128 d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11;
367 UINT128 bcoeff;
368 UINT128 dcoeff;
[all …]
Dbid128_next.c33 bid128_nextup (UINT128 * pres,
34 UINT128 *
36 UINT128 x = *px;
38 UINT128
39 bid128_nextup (UINT128 x _EXC_FLAGS_PARAM _EXC_MASKS_PARAM
43 UINT128 res;
50UINT128 C1; // C1.w[1], C1.w[0] represent x_signif_hi, x_signif_lo (UINT…
238 bid128_nextdown (UINT128 * pres,
239 UINT128 *
241 UINT128 x = *px;
[all …]
Dbid_conf.h837 UINT128 arg_name={ pbid_##arg_name->w[1], pbid_##arg_name->w[0]};
839 UINT128 arg_name={ bid_##arg_name.w[1], bid_##arg_name.w[0]};
842 UINT128 arg_name=*pbid_##arg_name;
844 UINT128 arg_name= bid_##arg_name;
876 void fn_name (UINT128 * pres, \
877 UINT128 * \
885 void fn_name (UINT128 * pres, \
886 UINT128 * \
894 UINT128 * \
901 void fn_name (UINT128 * pres, \
[all …]
Dbid_from_int.c191 UINT128 x128, res128;
275 bid128_from_int32 (UINT128 * pres,
279 UINT128
282 UINT128 res;
297 bid128_from_uint32 (UINT128 * pres, unsigned int *px
301 UINT128
304 UINT128 res;
313 bid128_from_int64 (UINT128 * pres, SINT64 * px
317 UINT128
321 UINT128 res;
[all …]
Dbid128_add.c29 bid64dq_add (UINT64 * pres, UINT64 * px, UINT128 * py
38 bid64dq_add (UINT64 x, UINT128 y
43 UINT128 x1;
62 bid64qd_add (UINT64 * pres, UINT128 * px, UINT64 * py
71 bid64qd_add (UINT128 x, UINT64 y
76 UINT128 y1;
95 bid64qq_add (UINT64 * pres, UINT128 * px, UINT128 * py
98 UINT128 x = *px, y = *py;
104 bid64qq_add (UINT128 x, UINT128 y
109 UINT128 one = { {0x0000000000000001ull, 0x3040000000000000ull}
[all …]
Dbid128_minmax.c33 bid128_minnum (UINT128 * pres, UINT128 * px,
34 UINT128 * py _EXC_FLAGS_PARAM) {
35 UINT128 x = *px;
36 UINT128 y = *py;
38 UINT128
39 bid128_minnum (UINT128 x, UINT128 y _EXC_FLAGS_PARAM) {
42 UINT128 res;
45 UINT128 sig_x, sig_y;
297 bid128_minnum_mag (UINT128 * pres, UINT128 * px,
298 UINT128 * py _EXC_FLAGS_PARAM) {
[all …]
Dbid128_fma.c39 UINT128 * ptrres, _IDEC_flags * ptrfpsf) { in rounding_correction()
42 UINT128 res = *ptrres; // expected to have the correct sign and coefficient in rounding_correction()
259 UINT128 C3, in add_and_round()
266 _IDEC_flags * ptrfpsf, UINT128 * ptrres) { in add_and_round()
272 UINT128 P128, R128; in add_and_round()
288 UINT128 res = *ptrres; in add_and_round()
637 int *ptr_is_inexact_gt_midpoint, UINT128 * pres,
638 UINT128 * px, UINT128 * py,
639 UINT128 *
642 UINT128 x = *px, y = *py, z = *pz;
[all …]
Dbid_internal.h136 UINT128 Q128; \
146 UINT128 Q128; \
233 UINT128 ALBL, ALBH, QM2, QM; \
347 UINT128 ALBL, ALBH, AHBL, AHBH, QM, QM2; \
360 UINT128 ALBL, ALBH, AHBL, AHBH, QM, QM2; \
375 UINT128 ALBL; \
386 UINT128 ALBL, ALBH, QM2; \
395 UINT128 ALBL, ALBH, QM2; \
407 UINT128 ALBL, ALBH, QM2; \
419 UINT128 ALBL, ALBH, QM2; \
[all …]
Dbid64_to_uint64.c51 UINT128 C;
53 UINT128 fstar;
54 UINT128 P128;
287 UINT128 C;
289 UINT128 fstar;
290 UINT128 P128;
562 UINT128 C;
564 UINT128 P128;
747 UINT128 C;
749 UINT128 fstar;
[all …]
Dbid_binarydecimal.c285 { union {UINT128 i; BINARY128 f; } x_out; \
294 { union {UINT128 i; BINARY128 f; } x_out; \
486 { union { UINT128 i; BINARY128 f; } x_in; \
558 { UINT128 x_out; \
566 { UINT128 x_out; \
705 static const UINT128 roundbound_128[] = { {{0ull, (1ull << 63)}}, // ROUNDING_TO_NEAREST | po…
733 static const UINT128 power_five[] = { {{1ull, 0ull}},
793 static const UINT128 breakpoints_binary32[] =
1446 static const UINT128 breakpoints_binary64[] =
5359 static const UINT128 breakpoints_binary80[] =
[all …]
Dbid64_to_int64.c51 UINT128 C;
53 UINT128 fstar;
54 UINT128 P128;
284 UINT128 C;
286 UINT128 fstar;
287 UINT128 P128;
556 UINT128 C;
558 UINT128 fstar;
559 UINT128 P128;
780 UINT128 C;
[all …]
Dbid_div_macros.h38 __div_128_by_128 (UINT128 * pCQ, UINT128 * pCR, UINT128 CX, UINT128 CY) { in __div_128_by_128()
39 UINT128 CB, CB2, CB4, CB8, CQB, CA; in __div_128_by_128()
160 __div_256_by_128 (UINT128 * pCQ, UINT256 * pCA4, UINT128 CY) { in __div_256_by_128()
162 UINT128 CQ2, CQ3Y; in __div_256_by_128()
272 __div_128_by_128 (UINT128 * pCQ, UINT128 * pCR, UINT128 CX0, UINT128 CY) { in __div_128_by_128()
273 UINT128 CY36, CY51, CQ, A2, CX, CQT; in __div_128_by_128()
393 __div_256_by_128 (UINT128 * pCQ, UINT256 * pCA4, UINT128 CY) { in __div_256_by_128()
395 UINT128 CQ, A2, A2h, CQT; in __div_256_by_128()
Dbid32_to_bid128.c30 TYPE0_FUNCTION_ARGTYPE1_NORND (UINT128, bid32_to_bid128, UINT32, x) in TYPE0_FUNCTION_ARGTYPE1_NORND() argument
32 UINT128 new_coeff, res; in TYPE0_FUNCTION_ARGTYPE1_NORND()
68 UINT128 *
71 UINT128 x = *px;
75 bid128_to_bid32 (UINT128 x _RND_MODE_PARAM _EXC_FLAGS_PARAM
78 UINT128 CX, T128, TP128, Qh, Ql, Qh1, Stemp, Tmp, Tmp1, CX1;
Dbid64_to_bid128.c30 TYPE0_FUNCTION_ARGTYPE1_NORND (UINT128, bid64_to_bid128, UINT64, x) in TYPE0_FUNCTION_ARGTYPE1_NORND() argument
32 UINT128 new_coeff, res; in TYPE0_FUNCTION_ARGTYPE1_NORND()
67 UINT128 *
70 UINT128 x = *px;
74 bid128_to_bid64 (UINT128 x _RND_MODE_PARAM _EXC_FLAGS_PARAM
77 UINT128 CX, T128, TP128, Qh, Ql, Qh1, Stemp, Tmp, Tmp1, CX1;
Dbid_decimal_data.c139 UINT128 round_const_table_128[][36] = {
697 UINT128 reciprocals10_128[] = {
990 UINT128 power10_table_128[] = {
1167 UINT128 power10_index_binexp_128[] = {
/netbsd/src/external/gpl3/gdb/dist/libdecnumber/bid/
Dbid2dpd_dpd2bid.c60 UINT128 Q128; \
70 UINT128 ALBL, ALBH, AHBL, AHBH, QM, QM2; \
282 UINT128 res; in _bid_to_dpd128()
283 UINT128 sign; in _bid_to_dpd128()
285 UINT128 bcoeff; in _bid_to_dpd128()
286 UINT128 dcoeff; in _bid_to_dpd128()
287 UINT128 BH, d1018, BT2, BT1; in _bid_to_dpd128()
354 UINT128 res; in _dpd_to_bid128()
355 UINT128 sign; in _dpd_to_bid128()
357 UINT128 trailing; in _dpd_to_bid128()
[all …]
/netbsd/src/external/gpl3/gcc/dist/libdecnumber/bid/
Dbid2dpd_dpd2bid.c60 UINT128 Q128; \
70 UINT128 ALBL, ALBH, AHBL, AHBH, QM, QM2; \
284 UINT128 res; in _bid_to_dpd128()
285 UINT128 sign; in _bid_to_dpd128()
287 UINT128 bcoeff; in _bid_to_dpd128()
288 UINT128 dcoeff; in _bid_to_dpd128()
289 UINT128 BH, d1018, BT2, BT1; in _bid_to_dpd128()
370 UINT128 res; in _dpd_to_bid128()
371 UINT128 sign; in _dpd_to_bid128()
373 UINT128 trailing; in _dpd_to_bid128()
[all …]

123