Searched refs:remainder (Results 1 - 16 of 16) sorted by relevance

/gem5/src/sim/
H A Droot.cc58 Time remainder = period - diff; local
59 if (diff < period && remainder > _spinThreshold) {
62 sleep(remainder);
/gem5/configs/topologies/
H A DMesh_westfirst.py70 cntrls_per_router, remainder = divmod(len(nodes), num_routers)
83 # Add all but the remainder nodes to the list of nodes to be uniformly
88 if node_index < (len(nodes) - remainder):
107 assert(i < remainder)
H A DMesh_XY.py69 cntrls_per_router, remainder = divmod(len(nodes), num_routers)
82 # Add all but the remainder nodes to the list of nodes to be uniformly
87 if node_index < (len(nodes) - remainder):
106 assert(i < remainder)
H A DMeshDirCorners_XY.py81 caches_per_router, remainder = divmod(len(cache_nodes), num_routers)
82 assert(remainder == 0)
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_rep.cpp967 unsigned int remainder = int_part.divide_by_ten();
968 s[i] = static_cast<char>( '0' + remainder );
972 if( remainder == 0 )
1675 scfx_rep remainder = lhs;
1677 // align msb from remainder to msb from rhs
1678 remainder.lshift( to_shift );
1680 // make sure msw( remainder ) < size - 1
1681 if( remainder.m_msw == remainder.size() - 1 )
1682 remainder
[all...]
H A Dsc_fxval.cpp231 unsigned int remainder = (unsigned int) fmod( int_part, 10.0 ); local
232 s[i] = static_cast<char>( '0' + remainder );
236 if( remainder == 0 )
/gem5/src/systemc/dt/fx/
H A Dscfx_rep.cc911 unsigned int remainder = int_part.divide_by_ten(); local
912 s[i] = static_cast<char>('0' + remainder);
915 if (remainder == 0)
1543 scfx_rep remainder = lhs;
1545 // align msb from remainder to msb from rhs
1546 remainder.lshift(to_shift);
1548 // make sure msw(remainder) < size - 1
1549 if (remainder.m_msw == remainder.size() - 1)
1550 remainder
[all...]
H A Dsc_fxval.cc218 unsigned int remainder = (unsigned int)std::fmod(int_part, 10.0); local
219 s[i] = static_cast<char>('0' + remainder);
222 if (remainder == 0)
/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_signed_subref.inc262 d[i++] = (sc_digit) floor(remainder(v, DIGIT_RADIX));
H A Dsc_unsigned_subref.inc262 d[i++] = (sc_digit) floor(remainder(v, DIGIT_RADIX));
H A Dsc_unsigned.cpp548 digit[i++] = ((sc_digit)floor(remainder(v, DIGIT_RADIX))) & DIGIT_MASK;
1244 // Cases to consider when finding the remainder r = u % v:
H A Dsc_signed.cpp569 digit[i++] = ((sc_digit)floor(remainder(v, DIGIT_RADIX))) & DIGIT_MASK;
2404 // Cases to consider when finding the remainder r = u % v:
/gem5/src/systemc/dt/int/
H A Dsc_signed_subref.inc266 d[i++] = (sc_digit) std::floor(remainder(v, DIGIT_RADIX));
H A Dsc_unsigned_subref.inc263 d[i++] = (sc_digit) std::floor(remainder(v, DIGIT_RADIX));
H A Dsc_unsigned.cc520 digit[i++] = ((sc_digit)std::floor(remainder(v, DIGIT_RADIX))) &
1310 // Cases to consider when finding the remainder r = u % v:
H A Dsc_signed.cc532 digit[i++] = ((sc_digit)std::floor(remainder(v, DIGIT_RADIX))) &
2430 // Cases to consider when finding the remainder r = u % v:

Completed in 60 milliseconds