Searched refs:fp80 (Results 1 - 8 of 8) sorted by relevance

/gem5/ext/fputils/include/fputils/
H A Dfp80.h44 * @defgroup fp80 80-bit Floats
72 * @param fp80 value to analyze.
75 int fp80_isspecial(fp80_t fp80);
79 * @param fp80 value to analyze.
82 int fp80_isqnan(fp80_t fp80);
86 * @param fp80 value to analyze.
89 int fp80_isqnani(fp80_t fp80);
93 * @param fp80 value to analyze.
96 int fp80_issnan(fp80_t fp80);
113 * @param fp80 valu
[all...]
/gem5/ext/fputils/
H A Dfp80.c30 #include <fputils/fp80.h>
48 fp80_sgn(fp80_t fp80) argument
50 return (fp80.repr.se & FP80_SIGN_BIT) ? -1 : 1;
54 fp80_isspecial(fp80_t fp80) argument
56 const int exp = FP80_EXP(fp80);
62 fp80_isinf(fp80_t fp80) argument
64 const uint64_t frac = FP80_FRAC(fp80);
66 return fp80_isspecial(fp80) && frac == 0 ? fp80_sgn(fp80) : 0;
71 fp80_isqnan(fp80_t fp80) argument
79 fp80_isqnani(fp80_t fp80) argument
87 fp80_issnan(fp80_t fp80) argument
95 fp80_isfinite(fp80_t fp80) argument
101 fp80_isnan(fp80_t fp80) argument
107 fp80_iszero(fp80_t fp80) argument
113 fp80_isnormal(fp80_t fp80) argument
120 fp80_issubnormal(fp80_t fp80) argument
126 fp80_classify(fp80_t fp80) argument
143 fp80_cvtd(fp80_t fp80) argument
149 fp80_cvtfp64(fp80_t fp80) argument
205 const fp80_t fp80 = BUILD_FP80(fp64.bits & FP64_SIGN_BIT, local
210 const fp80_t fp80 = BUILD_FP80(fp64.bits & FP64_SIGN_BIT, 0, 0); local
221 const fp80_t fp80 = BUILD_FP80(fp64.bits & FP64_SIGN_BIT, local
228 fp80_debug_dump(FILE *fout, fp80_t fp80) argument
[all...]
H A DMakefile.am10 include/fputils/fp80.h \
15 include/fputils/fp80.h \
20 fp80.c
H A Dfpbits.h100 #define FP80_FRAC(fp80) \
101 (fp80.repr.fi & FP80_FRAC_MASK)
103 #define FP80_EXP(fp80) \
104 (fp80.repr.se & FP80_EXP_MASK)
109 #define FP64_EXP(fp80) \
/gem5/ext/fputils/tests/
H A Dfp80_cvtd.c30 #include <fputils/fp80.h>
76 test_fp80_cvtd_inf("fp80->double +inf", fp80_pinf, 1);
77 test_fp80_cvtd_inf("fp80->double -inf", fp80_ninf, -1);
78 test_fp80_cvtd_class("fp80->double qnan", fp80_qnan, FP_NAN);
79 test_fp80_cvtd_class("fp80->double qnani", fp80_qnani, FP_NAN);
80 test_fp80_cvtd_class("fp80->double snan", fp80_snan, FP_NAN);
81 test_fp80_cvtd_class("fp80->double nan", fp80_nan, FP_NAN);
H A Dfp80_cvtf.c30 #include <fputils/fp80.h>
45 test_diag("Conversion '%e' -> fp80 -> double: %e", fin, v64);
H A Dfp80_cvfd.c30 #include <fputils/fp80.h>
42 test_diag("converting '%e' -> fp80...", fin);
54 test_diag("class(fp64): %i, expected class: %i, class(fp80): %i",
108 test_cvfd_class("double->fp80 +inf", -INFINITY);
109 test_cvfd_class("double->fp80 -inf", INFINITY);
110 test_cvfd_class("double->fp80 +nan", NAN);
111 test_cvfd_class("double->fp80 -nan", -NAN);
112 test_cvfd_class("double->fp80 +0", 0);
113 test_cvfd_class("double->fp80 PI", M_PI);
115 test_cvfd_class_exp("double->fp80 smalles
[all...]
/gem5/src/arch/x86/
H A Dutility.cc47 #include "fputils/fp80.h"
357 fp80_t fp80; local
358 memcpy(fp80.bits, _mem, 10);
360 return fp80_cvtd(fp80);
366 fp80_t fp80 = fp80_cvfd(value); local
367 memcpy(_mem, fp80.bits, 10);

Completed in 9 milliseconds