Searched refs:ud (Results 1 - 19 of 19) sorted by relevance

/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbexterns.h70 int unb, int und, sc_digit *ud,
76 int unb, int und, sc_digit *ud,
80 int unb, int und, sc_digit *ud,
85 int unb, int und, sc_digit *ud,
90 int unb, int und, sc_digit *ud,
94 int unb, int und, sc_digit *ud,
99 int unb, int und, sc_digit *ud,
104 int unb, int und, sc_digit *ud,
110 int unb, int und, sc_digit *ud,
116 int unb, int und, sc_digit *ud,
[all...]
H A Dsc_nbexterns.cpp68 sc_digit *ud,
78 vec_add_on(und, ud, vnd, vd);
80 vec_add_on2(und, ud, vnd, vd);
85 // vec_cmp expects that und is the number of non-zero digits in ud.
86 int new_und = vec_skip_leading_zeros(und, ud);
87 int cmp_res = vec_cmp(new_und, ud, vnd, vd);
91 vec_zero(und, ud);
96 vec_sub_on(und, ud, vnd, vd);
100 vec_sub_on2(und, ud, vnd, vd);
132 sc_digit *ud,
67 add_on_help(small_type &us, int , int und, sc_digit *ud, small_type vs, int , int vnd, const sc_digit *vd) argument
130 mul_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument
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_ULONG, DIGITS_PER_ULONG, ud,
[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,
1081 return mul_unsigned_friend(s, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1116 return mul_unsigned_friend(s, BITS_PER_ULONG, DIGITS_PER_ULONG, ud,
1190 return div_unsigned_friend(s, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1231 return div_unsigned_friend(s, 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,
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.h338 vec_reverse(int unb, int und, sc_digit *ud,
957 int unb, int und, sc_digit *ud,
963 vec_copy(und, ud, vd);
966 us = convert_signed_SM_to_2C_to_SM(us, unb, und, ud);
970 vec_copy_and_zero(und, ud, vnd, vd);
978 int unb, int und, sc_digit *ud,
983 vec_copy(und, ud, vd);
986 vec_copy_and_zero(und, ud, vnd, vd);
988 us = convert_unsigned_SM_to_2C_to_SM(us, unb, und, ud);
956 copy_digits_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument
977 copy_digits_unsigned(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument
H A Dsc_nbfriends.inc57 // und : u's number of digits, ud : u's digits array.
67 const sc_digit *ud,
72 und = vec_skip_leading_zeros(und, ud);
93 sc_digit carry = (*ud) + (*vd);
99 vec_add(und, ud, vnd, vd, d);
102 vec_add(vnd, vd, und, ud, d);
109 int cmp_res = vec_cmp(und, ud, vnd, vd);
121 d[0] = (*ud) - (*vd);
123 vec_sub(und, ud, vnd, vd, d);
131 d[0] = (*vd) - (*ud);
[all...]
H A Dsc_unsigned.h143 const sc_digit *ud,
154 const sc_digit *ud,
163 const sc_digit *ud,
172 const sc_digit *ud,
180 const sc_digit *ud,
188 const sc_digit *ud,
196 const sc_digit *ud,
206 const sc_digit *ud,
215 const sc_digit *ud,
1868 const sc_digit *ud,
[all...]
H A Dsc_signed.h138 const sc_digit *ud,
147 const sc_digit *ud,
156 const sc_digit *ud,
164 const sc_digit *ud,
172 const sc_digit *ud,
180 const sc_digit *ud,
189 const sc_digit *ud,
198 const sc_digit *ud,
2093 const sc_digit *ud,
2102 const sc_digit *ud,
[all...]
H A Dsc_nbutils.cpp1840 vec_reverse(int unb, int und, sc_digit *ud,
1845 assert((unb > 0) && (und > 0) && (ud != NULL));
1868 // d is a copy of ud.
1869 vec_copy(und, d, ud);
1872 // in ud.
1877 ud[digit_ord(j)] |= one_and_zeros(bit_ord(j)); // Set.
1879 ud[digit_ord(j)] &= ~(one_and_zeros(bit_ord(j))); // Clear.
/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, int unb, int und, sc_digit *ud,
[all...]
H A Dsc_nbutils.hh221 extern void vec_reverse(int unb, int und, sc_digit *ud, int l, int r=0);
754 int unb, int und, sc_digit *ud,
758 vec_copy(und, ud, vd);
761 us = convert_signed_SM_to_2C_to_SM(us, unb, und, ud);
763 vec_copy_and_zero(und, ud, vnd, vd);
770 int unb, int und, sc_digit *ud,
774 vec_copy(und, ud, vd);
776 vec_copy_and_zero(und, ud, vnd, vd);
778 us = convert_unsigned_SM_to_2C_to_SM(us, unb, und, ud);
753 copy_digits_signed(small_type &us, int unb, int und, sc_digit *ud, int vnb, int vnd, const sc_digit *vd) argument
769 copy_digits_unsigned(small_type &us, int unb, int und, sc_digit *ud, int , int vnd, const sc_digit *vd) argument
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,
165 small_type s, int unb, int und, const sc_digit *ud,
169 small_type s, 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,
[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,
155 small_type s, int unb, int und, const sc_digit *ud,
159 small_type s, 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,
[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
73 vec_add_on(und, ud, vnd, vd);
75 vec_add_on2(und, ud, vnd, vd);
78 // vec_cmp expects that und is the number of non-zero digits in ud.
79 int new_und = vec_skip_leading_zeros(und, ud);
80 int cmp_res = vec_cmp(new_und, ud, vnd, vd);
84 vec_zero(und, ud);
89 vec_sub_on(und, ud, vnd, vd);
92 vec_sub_on2(und, ud, vnd, vd);
121 mul_on_help_signed(small_type &us, int unb, int und, sc_digit *ud, argument
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_ULONG, DIGITS_PER_ULONG, ud,
[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,
1162 return mul_unsigned_friend(s, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1193 return mul_unsigned_friend(s, BITS_PER_ULONG, DIGITS_PER_ULONG, ud,
1261 return div_unsigned_friend(s, BITS_PER_UINT64, DIGITS_PER_UINT64, ud,
1298 return div_unsigned_friend(s, 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,
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...]
H A Dsc_nbfriends.inc57 // und : u's number of digits, ud : u's digits array.
66 ADD_HELPER(small_type us, int unb, int und, const sc_digit *ud,
69 und = vec_skip_leading_zeros(und, ud);
90 sc_digit carry = (*ud) + (*vd);
94 vec_add(und, ud, vnd, vd, d);
96 vec_add(vnd, vd, und, ud, d);
100 int cmp_res = vec_cmp(und, ud, vnd, vd);
111 d[0] = (*ud) - (*vd);
113 vec_sub(und, ud, vnd, vd, d);
117 d[0] = (*vd) - (*ud);
[all...]
H A Dsc_nbutils.cc1697 vec_reverse(int unb, int und, sc_digit *ud, int l, int r)
1700 sc_assert((unb > 0) && (und > 0) && (ud != NULL));
1723 // d is a copy of ud.
1724 vec_copy(und, d, ud);
1727 // in ud.
1730 ud[digit_ord(j)] |= one_and_zeros(bit_ord(j)); // Set.
1732 ud[digit_ord(j)] &= ~(one_and_zeros(bit_ord(j))); // Clear.
/gem5/src/systemc/tests/systemc/misc/unit/data/user_guide/ch9/std_ulogic_datatype/
H A Dstd_ulogic_datatype.cpp343 std_ulogic uu, ux, u0, u1, uz, uw, ul, uh, ud; local
365 ul = v1 & v7; uh = v1 & v8; ud = v1 & v9;
418 ul = v1 | v7; uh = v1 | v8; ud = v1 | v9;
471 ul = v1 ^ v7; uh = v1 ^ v8; ud = v1 ^ v9;

Completed in 52 milliseconds