Searched refs:exponent (Results 1 - 11 of 11) sorted by relevance

/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_ieee.h88 unsigned exponent:11; member in struct:sc_dt::ieee_double::__anon2
94 unsigned exponent:11;
138 int exponent() const;
139 void exponent( int );
224 scfx_ieee_double::exponent() const function in class:sc_dt::scfx_ieee_double
226 return m_id.s.exponent - SCFX_IEEE_DOUBLE_BIAS;
231 scfx_ieee_double::exponent( int a ) function in class:sc_dt::scfx_ieee_double
233 m_id.s.exponent = (SCFX_IEEE_DOUBLE_BIAS + a)
270 return ( exponent() == SCFX_IEEE_DOUBLE_E_MIN - 1 &&
278 return ( exponent()
433 unsigned exponent:8; member in struct:sc_dt::ieee_float::__anon3
556 scfx_ieee_float::exponent() const function in class:sc_dt::scfx_ieee_float
563 scfx_ieee_float::exponent( int a ) function in class:sc_dt::scfx_ieee_float
[all...]
H A Dsc_fxval.cpp300 // print exponent
386 msb = id2.exponent() + 1;
395 lsb = id2.exponent() - 52;
634 int j = i - id.exponent();
780 // [ exponent ]
782 int exponent = 0; local
788 exponent = atoi( end + 1 );
873 double exp = ( exponent != 0 ) ? pow( (double) base, (double) exponent )
H A Dscfx_rep.cpp224 normalize( id.exponent() + 1 - SCFX_IEEE_DOUBLE_M_SIZE );
230 normalize( id.exponent() - SCFX_IEEE_DOUBLE_M_SIZE );
545 // [ exponent ]
547 int exponent = 0; local
553 exponent = atoi( end + 1 );
588 int bit_offset = exponent % bits_in_word;
589 int word_offset = exponent / bits_in_word;
621 exponent *= 3;
625 int bit_offset = exponent % bits_in_word;
626 int word_offset = exponent / bits_in_wor
[all...]
H A Dsc_fxnum.cpp800 int j = i - id.exponent();
876 int n = l - id.exponent();
/gem5/src/systemc/ext/dt/fx/
H A Dscfx_ieee.hh85 unsigned exponent:11; member in struct:sc_dt::ieee_double::__anon51
91 unsigned exponent:11;
130 int exponent() const;
131 void exponent(int);
204 scfx_ieee_double::exponent() const function in class:sc_dt::scfx_ieee_double
206 return m_id.s.exponent - SCFX_IEEE_DOUBLE_BIAS;
210 scfx_ieee_double::exponent(int a) function in class:sc_dt::scfx_ieee_double
212 m_id.s.exponent = (SCFX_IEEE_DOUBLE_BIAS + a)
243 return (exponent() == SCFX_IEEE_DOUBLE_E_MIN - 1 &&
250 return (exponent()
381 unsigned exponent:8; member in struct:sc_dt::ieee_float::__anon52
490 scfx_ieee_float::exponent() const function in class:sc_dt::scfx_ieee_float
496 scfx_ieee_float::exponent(int a) function in class:sc_dt::scfx_ieee_float
[all...]
H A Dsc_fxval.hh1833 int exponent; local
1834 double mantissa_dbl = frexp(m_val, &exponent);
1838 exponent -= 53;
1840 if (!(-64 < exponent && exponent < 64)) {
1844 mantissa = exponent >= 0 ? mantissa << exponent : mantissa >> -exponent;
H A Dsc_fxnum.hh3918 int exponent; local
3919 double mantissa_dbl = frexp(m_val, &exponent);
3923 exponent -= 53;
3925 if (!(-64 < exponent && exponent < 64)) {
3929 mantissa = exponent >= 0 ? mantissa << exponent : mantissa >> -exponent;
/gem5/src/arch/arm/insts/
H A Dvfp.cc415 uint32_t exponent = bits(opBits, sBitPos-1, mWidth); local
420 if (exponent == mask(eWidth)) {
429 exponent = 0;
433 exponent = 0x1f;
436 exponent = 0x1f;
441 exponent = 0x1F;
449 } else if (exponent == 0 && oldMantissa == 0) {
456 if (exponent == 0) {
478 exponent = 1;
488 if (exponent <
602 uint32_t exponent = bits(op, 14, 10); local
[all...]
/gem5/src/systemc/dt/fx/
H A Dsc_fxval.cc280 // print exponent
354 msb = id2.exponent() + 1;
364 lsb = id2.exponent() - 52;
592 int j = i - id.exponent();
731 // [ exponent ]
732 int exponent = 0; local
736 exponent = std::atoi(end + 1);
805 (exponent != 0) ? std::pow((double) base, (double) exponent) : 1;
H A Dscfx_rep.cc210 normalize(id.exponent() + 1 - SCFX_IEEE_DOUBLE_M_SIZE);
214 normalize(id.exponent() - SCFX_IEEE_DOUBLE_M_SIZE);
499 // [ exponent ]
500 int exponent = 0; local
505 exponent = std::atoi(end + 1);
535 int bit_offset = exponent % bits_in_word;
536 int word_offset = exponent / bits_in_word;
568 exponent *= 3;
572 int bit_offset = exponent % bits_in_word;
573 int word_offset = exponent / bits_in_wor
[all...]
H A Dsc_fxnum.cc729 int j = i - id.exponent();
798 int n = l - id.exponent();

Completed in 47 milliseconds