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

/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbcommon.inc52 sc_value_base(), sgn(), nbits(), ndigits(), digit()
67 digit = new sc_digit[ndigits];
75 sc_value_base(v), sgn(v.sgn), nbits(v.nbits), ndigits(v.ndigits), digit()
78 digit = new sc_digit[ndigits];
81 vec_copy(ndigits, digit, v.digit);
87 sc_value_base(v), sgn(v.sgn), nbits(num_bits(v.nbits)), ndigits(), digit()
96 digit = new sc_digit[ndigits];
99 copy_digits(v.nbits, v.ndigits, v.digit);
104 sc_value_base(), sgn(), nbits(), ndigits(), digit()
[all...]
H A Dsc_unsigned.cpp187 int src_i; // Index to next word to get from digit.
213 (digit[0] << left_shift) ) & DIGIT_MASK;
223 dst_p[dst_i] = digit[src_i];
227 dst_p[dst_i] = digit[src_i] & mask;
238 right_word = digit[0];
243 left_word = digit[src_i];
248 left_word = (src_i < ndigits) ? digit[src_i] : 0;
265 right_word = ((digit[0] ^ DIGIT_MASK) + 1) & mask;
279 right_word = (digit[src_i] ^ DIGIT_MASK) + carry;
286 (digit[src_
[all...]
H A Dsc_signed.cpp179 int src_i; // Index to next word to get from digit.
204 (digit[0] << left_shift) ) & DIGIT_MASK;
214 dst_p[dst_i] = digit[src_i];
218 dst_p[dst_i] = digit[src_i] & mask;
229 right_word = digit[0];
234 left_word = digit[src_i];
239 left_word = (src_i < ndigits) ? digit[src_i] : 0;
257 right_word = ((digit[0] ^ DIGIT_MASK) + 1) & mask;
271 right_word = (digit[src_i] ^ DIGIT_MASK) + carry;
278 (digit[src_
[all...]
H A Dsc_signed_subref.inc272 int j = 0; // Current digit in d.
H A Dsc_unsigned_subref.inc272 int j = 0; // Current digit in d.
H A Dsc_signed.h1160 delete [] digit;
1167 { return digit; }
2166 sc_digit digit[DIV_CEIL(SC_MAX_NBITS)]; // Shortened as d. member in class:sc_dt::sc_signed
2168 sc_digit *digit; // Shortened as d. member in class:sc_dt::sc_signed
2195 { copy_digits_signed(sgn, nbits, ndigits, digit, nb, nd, d); }
2198 { sgn = make_zero(ndigits, digit); }
2203 { sgn = convert_signed_2C_to_SM(nbits, ndigits, digit); }
2206 { sgn = convert_signed_SM_to_2C_to_SM(sgn, nbits, ndigits, digit); }
2209 { convert_signed_SM_to_2C(sgn, ndigits, digit); }
2354 digit
[all...]
H A Dsc_unsigned.h1063 delete [] digit;
1069 sc_digit* get_raw() const { return digit; }
1955 sc_digit digit[DIV_CEIL(SC_MAX_NBITS)]; // Shortened as d. member in class:sc_dt::sc_unsigned
1957 sc_digit *digit; // Shortened as d. member in class:sc_dt::sc_unsigned
1984 { copy_digits_unsigned(sgn, nbits, ndigits, digit, nb, nd, d); }
1987 { sgn = make_zero(ndigits, digit); }
1992 { sgn = convert_unsigned_2C_to_SM(nbits, ndigits, digit); }
1995 { sgn = convert_unsigned_SM_to_2C_to_SM(sgn, nbits, ndigits, digit); }
1998 { convert_unsigned_SM_to_2C(sgn, ndigits, digit); }
2164 digit
[all...]
/gem5/src/systemc/dt/int/
H A Dsc_unsigned.cc208 int src_i; // Index to next word to get from digit.
226 (digit[0] << left_shift)) & DIGIT_MASK;
231 dst_p[dst_i] = digit[src_i];
235 dst_p[dst_i] = digit[src_i] & mask;
242 right_word = digit[0];
246 left_word = digit[src_i];
251 left_word = (src_i < ndigits) ? digit[src_i] : 0;
264 right_word = ((digit[0] ^ DIGIT_MASK) + 1) & mask;
274 right_word = (digit[src_i] ^ DIGIT_MASK) + carry;
281 (digit[src_
[all...]
H A Dsc_signed.cc194 int src_i; // Index to next word to get from digit.
211 (digit[0] << left_shift)) & DIGIT_MASK;
216 dst_p[dst_i] = digit[src_i];
220 dst_p[dst_i] = digit[src_i] & mask;
227 right_word = digit[0];
231 left_word = digit[src_i];
236 left_word = (src_i < ndigits) ? digit[src_i] : 0;
249 right_word = ((digit[0] ^ DIGIT_MASK) + 1) & mask;
258 right_word = (digit[src_i] ^ DIGIT_MASK) + carry;
265 (digit[src_
[all...]
H A Dsc_nbcommon.inc52 sc_value_base(), sgn(), nbits(), ndigits(), digit()
65 digit = new sc_digit[ndigits];
73 sc_value_base(v), sgn(v.sgn), nbits(v.nbits), ndigits(v.ndigits), digit()
76 digit = new sc_digit[ndigits];
79 vec_copy(ndigits, digit, v.digit);
85 sc_value_base(v), sgn(v.sgn), nbits(num_bits(v.nbits)), ndigits(), digit()
94 digit = new sc_digit[ndigits];
97 copy_digits(v.nbits, v.ndigits, v.digit);
102 sc_value_base(), sgn(), nbits(), ndigits(), digit()
[all...]
H A Dsc_signed_subref.inc275 int j = 0; // Current digit in d.
H A Dsc_unsigned_subref.inc269 int j = 0; // Current digit in d.
/gem5/system/alpha/console/
H A Dprintf.c73 ushort digit; local
111 digit = (ushort)(uvalue % radix);
114 digit = (ushort)(uvalue & 0xf);
117 buffer[bufferindex] = digit + ((digit <= 9) ? '0' : ('A' - 10));
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dscfx_utils.h512 int digit = exp / scale; local
514 if( digit != 0 || ! first )
516 s += static_cast<char>( digit + '0' );
/gem5/src/systemc/ext/dt/fx/
H A Dscfx_utils.hh476 int digit = exp / scale; local
478 if (digit != 0 || !first) {
479 s += static_cast<char>(digit + '0');
/gem5/ext/systemc/src/sysc/datatypes/misc/
H A Dsc_concatref.h246 result_p->digit = (sc_digit*)sc_core::sc_temp_heap.allocate(
250 memset( result_p->digit, 0, sizeof(sc_digit)*result_p->ndigits );
252 result_p->digit[result_p->ndigits-1] = 0;
254 right_non_zero = m_right_p->concat_get_data( result_p->digit, 0 );
255 left_non_zero = m_left_p->concat_get_data(result_p->digit, m_len_r);
/gem5/src/systemc/ext/dt/misc/
H A Dsc_concatref.hh257 result_p->digit = (sc_digit *)sc_core::sc_temp_heap.allocate(
259 result_p->digit[result_p->ndigits - 1] = 0;
260 right_non_zero = m_right_p->concat_get_data(result_p->digit, 0);
261 left_non_zero = m_left_p->concat_get_data(result_p->digit, m_len_r);
/gem5/src/systemc/ext/dt/int/
H A Dsc_signed.hh1058 delete [] digit;
1063 sc_digit* get_raw() const { return digit; }
2291 sc_digit digit[DIV_CEIL(SC_MAX_NBITS)]; // Shortened as d. member in class:sc_dt::sc_signed
2293 sc_digit *digit; // Shortened as d. member in class:sc_dt::sc_signed
2320 copy_digits_signed(sgn, nbits, ndigits, digit, nb, nd, d);
2323 void makezero() { sgn = make_zero(ndigits, digit); }
2330 sgn = convert_signed_2C_to_SM(nbits, ndigits, digit);
2336 sgn = convert_signed_SM_to_2C_to_SM(sgn, nbits, ndigits, digit);
2342 convert_signed_SM_to_2C(sgn, ndigits, digit);
2480 digit
[all...]
H A Dsc_unsigned.hh969 delete [] digit;
974 sc_digit *get_raw() const { return digit; }
1971 sc_digit digit[DIV_CEIL(SC_MAX_NBITS)]; // Shortened as d. member in class:sc_dt::sc_unsigned
1973 sc_digit *digit; // Shortened as d. member in class:sc_dt::sc_unsigned
2000 copy_digits_unsigned(sgn, nbits, ndigits, digit, nb, nd, d);
2003 void makezero() { sgn = make_zero(ndigits, digit); }
2010 sgn = convert_unsigned_2C_to_SM(nbits, ndigits, digit);
2016 sgn = convert_unsigned_SM_to_2C_to_SM(sgn, nbits, ndigits, digit);
2019 void convert_SM_to_2C() { convert_unsigned_SM_to_2C(sgn, ndigits, digit); }
2173 digit
[all...]

Completed in 77 milliseconds