Searched refs:us (Results 1 - 23 of 23) sorted by relevance

/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbexterns.h69 void add_on_help(small_type &us,
75 void mul_on_help_signed(small_type &us,
79 void div_on_help_signed(small_type &us,
84 void mod_on_help_signed(small_type &us,
89 void mul_on_help_unsigned(small_type &us,
93 void div_on_help_unsigned(small_type &us,
98 void mod_on_help_unsigned(small_type &us,
103 void and_on_help(small_type us,
109 void or_on_help(small_type us,
115 void xor_on_help(small_type us,
[all...]
H A Dsc_nbexterns.cpp67 add_on_help(small_type &us, int /* unb */, int und, argument
75 if (us == vs) { // case 3
90 us = SC_ZERO;
99 us = -us;
130 mul_on_help_signed(small_type &us, argument
150 us = CONVERT_SM_to_2C_to_SM(us, unb, old_und, ud);
155 COPY_DIGITS(us, unb, old_und, ud, vnb, vnd, vd);
163 COPY_DIGITS(us, un
205 mul_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument
284 div_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument
354 div_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument
428 mod_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument
506 mod_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument
589 and_on_help(small_type us, int , int und, sc_digit *ud, small_type vs, int , int vnd, const sc_digit *vd) argument
690 or_on_help(small_type us, int , int und, sc_digit *ud, small_type vs, int , int vnd, const sc_digit *vd) argument
793 xor_on_help(small_type us, int , int und, sc_digit *ud, small_type vs, int , int vnd, const sc_digit *vd) argument
[all...]
H A Dsc_signed.cpp1213 return sc_signed(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud, false);
1217 return add_signed_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1252 return sc_signed(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud, false);
1256 return add_signed_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1291 return sc_signed(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud, false);
1295 return add_signed_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1330 return sc_signed(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud, false);
1333 return add_signed_friend(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud,
1368 return sc_signed(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud, false);
1371 return add_signed_friend(us, BITS_PER_ULON
2481 small_type us = get_sign(u); local
2521 small_type us = get_sign(u); local
2596 small_type us = get_sign(u); local
2635 small_type us = get_sign(u); local
[all...]
H A Dsc_unsigned.cpp952 return sc_unsigned(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud, false);
956 return add_unsigned_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
991 return sc_unsigned(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud, false);
994 return add_unsigned_friend(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud,
1297 return mod_unsigned_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1333 return mod_unsigned_friend(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud,
1393 return and_unsigned_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1425 return and_unsigned_friend(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud,
1492 return sc_unsigned(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud, false);
1495 return or_unsigned_friend(us, BITS_PER_UINT6
2063 compare_unsigned(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd, small_type if_u_signed, small_type if_v_signed) argument
[all...]
H A Dsc_nbutils.h661 // Return us * vs:
663 // - Return SC_POS if us == vs
664 // - Return SC_NEG if us != vs.
667 mul_signs(small_type us, small_type vs) argument
669 if ((us == SC_ZERO) || (vs == SC_ZERO))
672 if (us == vs)
956 copy_digits_signed(small_type &us, argument
966 us = convert_signed_SM_to_2C_to_SM(us, unb, und, ud);
977 copy_digits_unsigned(small_type &us, argument
[all...]
H A Dsc_unsigned.h140 int compare_unsigned(small_type us,
151 sc_unsigned add_unsigned_friend(small_type us,
160 sc_unsigned sub_unsigned_friend(small_type us,
185 sc_unsigned mod_unsigned_friend(small_type us,
193 sc_unsigned and_unsigned_friend(small_type us,
203 sc_unsigned or_unsigned_friend(small_type us,
212 sc_unsigned xor_unsigned_friend(small_type us,
1865 friend int compare_unsigned(small_type us,
1876 friend sc_unsigned add_unsigned_friend(small_type us,
1885 friend sc_unsigned sub_unsigned_friend(small_type us,
[all...]
H A Dsc_signed.h135 sc_signed add_signed_friend(small_type us,
144 sc_signed sub_signed_friend(small_type us,
169 sc_signed mod_signed_friend(small_type us,
177 sc_signed and_signed_friend(small_type us,
186 sc_signed or_signed_friend(small_type us,
195 sc_signed xor_signed_friend(small_type us,
2090 friend sc_signed add_signed_friend(small_type us,
2099 friend sc_signed sub_signed_friend(small_type us,
2124 friend sc_signed mod_signed_friend(small_type us,
2132 friend sc_signed and_signed_friend(small_type us,
[all...]
/gem5/src/systemc/ext/dt/int/
H A Dsc_nbexterns.hh67 small_type &us, int unb, int und, sc_digit *ud,
71 small_type &us, int unb, int und, sc_digit *ud,
75 small_type &us, int unb, int und, sc_digit *ud,
79 small_type &us, int unb, int und, sc_digit *ud,
83 small_type &us, int unb, int und, sc_digit *ud,
87 small_type &us, int unb, int und, sc_digit *ud,
91 small_type &us, int unb, int und, sc_digit *ud,
95 small_type us, int unb, int und, sc_digit *ud,
99 small_type us, int unb, int und, sc_digit *ud,
103 small_type us, in
[all...]
H A Dsc_nbutils.hh484 // Return us * vs:
486 // - Return SC_POS if us == vs
487 // - Return SC_NEG if us != vs.
489 mul_signs(small_type us, small_type vs) argument
491 if ((us == SC_ZERO) || (vs == SC_ZERO))
494 if (us == vs)
753 copy_digits_signed(small_type &us, argument
761 us = convert_signed_SM_to_2C_to_SM(us, unb, und, ud);
769 copy_digits_unsigned(small_type &us, argument
[all...]
H A Dsc_unsigned.hh152 int compare_unsigned(small_type us, int unb, int und, const sc_digit *ud,
157 small_type us, int unb, int und, const sc_digit *ud,
161 small_type us, int unb, int und, const sc_digit *ud,
173 small_type us, int unb, int und, const sc_digit *ud,
177 small_type us, int unb, int und, const sc_digit *ud,
182 small_type us, int unb, int und, const sc_digit *ud,
186 small_type us, int unb, int und, const sc_digit *ud,
1926 small_type us, int unb, int und, const sc_digit *ud,
1931 small_type us, int unb, int und, const sc_digit *ud,
1935 small_type us, in
[all...]
H A Dsc_signed.hh147 small_type us, int unb, int und, const sc_digit *ud,
151 small_type us, int unb, int und, const sc_digit *ud,
163 small_type us, int unb, int und, const sc_digit *ud,
167 small_type us, int unb, int und, const sc_digit *ud,
171 small_type us, int unb, int und, const sc_digit *ud,
175 small_type us, int unb, int und, const sc_digit *ud,
2253 small_type us, int unb, int und, const sc_digit *ud,
2257 small_type us, int unb, int und, const sc_digit *ud,
2269 small_type us, int unb, int und, const sc_digit *ud,
2273 small_type us, in
[all...]
/gem5/src/systemc/dt/int/
H A Dsc_nbexterns.cc66 add_on_help(small_type &us, int /* unb */, int und, sc_digit *ud, argument
71 if (us == vs) { // case 3
83 us = SC_ZERO;
91 us = -us;
121 mul_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, argument
136 us = CONVERT_SM_to_2C_to_SM(us, unb, old_und, ud);
141 COPY_DIGITS(us, unb, old_und, ud, vnb, vnd, vd);
149 COPY_DIGITS(us, un
184 mul_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument
251 div_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument
310 div_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument
373 mod_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument
439 mod_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument
511 and_on_help(small_type us, int , int und, sc_digit *ud, small_type vs, int , int vnd, const sc_digit *vd) argument
587 or_on_help(small_type us, int , int und, sc_digit *ud, small_type vs, int , int vnd, const sc_digit *vd) argument
665 xor_on_help(small_type us, int , int und, sc_digit *ud, small_type vs, int , int vnd, const sc_digit *vd) argument
[all...]
H A Dsc_signed.cc1364 return sc_signed(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud, false);
1367 return add_signed_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1398 return sc_signed(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud, false);
1401 return add_signed_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1432 return sc_signed(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud, false);
1435 return add_signed_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1466 return sc_signed(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud, false);
1469 return add_signed_friend(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud,
1500 return sc_signed(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud, false);
1503 return add_signed_friend(us, BITS_PER_ULON
2501 small_type us = get_sign(u); local
2537 small_type us = get_sign(u); local
2605 small_type us = get_sign(u); local
2642 small_type us = get_sign(u); local
[all...]
H A Dsc_unsigned.cc1044 return sc_unsigned(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud, false);
1047 return add_unsigned_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1078 return sc_unsigned(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud, false);
1081 return add_unsigned_friend(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud,
1360 return mod_unsigned_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1392 return mod_unsigned_friend(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud,
1446 return and_unsigned_friend(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1474 return and_unsigned_friend(us, BITS_PER_ULONG, DIGITS_PER_ULONG, ud,
1535 return sc_unsigned(us, BITS_PER_UINT64, DIGITS_PER_UINT64, ud, false);
1538 return or_unsigned_friend(us, BITS_PER_UINT6
2109 compare_unsigned(small_type us, int unb, int und, const sc_digit *ud, small_type vs, int vnb, int vnd, const sc_digit *vd, small_type if_u_signed, small_type if_v_signed) argument
[all...]
/gem5/src/sim/
H A Dcore.cc54 double us; member in namespace:SimClock::Float
67 Tick us; member in namespace:SimClock::Int
93 Float::us = Float::s / 1.0e6; member in class:Float
99 Float::MHz = 1.0 / Float::us;
104 Int::us = Int::ms / 1000; member in class:Int
105 Int::ns = Int::us / 1000;
H A Dcore.hh64 extern double us; ///< microsecond
87 extern Tick us; ///< microsecond
H A Dsyscall_emul.hh503 uint64_t elapsed_usecs = curTick() / SimClock::Int::us;
835 * the process class through Python; this allows us to create a file
/gem5/src/dev/net/
H A Detherdump.cc98 pkthdr.microseconds = (curTick() / SimClock::Int::us) % ULL(1000000);
/gem5/src/mem/cache/tags/
H A Dbase.cc159 if (age / SimClock::Int::us < 10) { // <10us
161 } else if (age / SimClock::Int::us < 100) { // <100us
/gem5/ext/pybind11/include/pybind11/
H A Dchrono.h91 auto us = duration_cast<us_t>(subd - ss); local
92 return PyDelta_FromDSU(dd.count(), ss.count(), us.count());
174 // Or if they have passed us a time as a float we convert that
/gem5/system/alpha/console/
H A Ddbmentry.S202 test: .long 0x6000002 # jsr quiesceNs # wait 65us*3
/gem5/src/mem/
H A Dxbar.cc114 panic_if(pkt->headerDelay > SimClock::Int::us,
115 "Encountered header delay exceeding 1 us\n");
294 // the waiting ports for the layer, this allows us to call retry
/gem5/ext/systemc/src/sysc/qt/md/
H A Dksr1.s301 # Call the integer blocking routine, passing the arguments passed to us

Completed in 93 milliseconds