Searched refs:small_type (Results 1 - 20 of 20) sorted by relevance

/gem5/ext/systemc/src/sysc/datatypes/int/
H A Dsc_nbexterns.h69 void add_on_help(small_type &us,
71 small_type vs,
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,
105 small_type v
[all...]
H A Dsc_nbdefs.cpp83 const small_type NB_DEFAULT_BASE = SC_DEC;
H A Dsc_nbutils.h160 small_type
161 fsm_move(char c, small_type &b, small_type &s, small_type &state);
180 get_base_and_sign(const char *v, small_type &base, small_type &sign);
184 small_type
643 small_type
666 small_type
667 mul_signs(small_type u
[all...]
H A Dsc_nbexterns.cpp67 add_on_help(small_type &us, int /* unb */, int und,
69 small_type vs, int /* vnb */, int vnd,
130 mul_on_help_signed(small_type &us,
205 mul_on_help_unsigned(small_type &us,
284 div_on_help_signed(small_type &us,
354 div_on_help_unsigned(small_type &us,
428 mod_on_help_signed(small_type &us,
506 mod_on_help_unsigned(small_type &us,
589 and_on_help(small_type us,
592 small_type v
[all...]
H A Dsc_nbdefs.h118 // A small_type number is at least a char. Defining an int is probably
120 typedef int small_type; typedef in namespace:sc_dt
227 extern const small_type NB_DEFAULT_BASE ;
H A Dsc_signed.cpp1087 small_type u ## s = get_sign(u); \
1096 small_type u ## s = get_sign(u); \
1105 small_type u ## s = get_sign(u); \
1827 small_type s = mul_signs(u.sgn, v.sgn);
1843 small_type s = mul_signs(u.sgn, v.sgn);
1859 small_type s = mul_signs(u.sgn, v.sgn);
1875 small_type s = mul_signs(u.sgn, get_sign(v));
1893 small_type s = mul_signs(v.sgn, get_sign(u));
1911 small_type s = mul_signs(u.sgn, get_sign(v));
1929 small_type
[all...]
H A Dsc_nbutils.cpp116 small_type
117 fsm_move(char c, small_type &b, small_type &s, small_type &state)
177 *get_base_and_sign(const char *v, small_type &b, small_type &s)
184 const small_type STATE_START = 0;
185 const small_type STATE_FINISH = 3;
191 small_type state = STATE_START;
192 small_type nski
[all...]
H A Dsc_unsigned.h140 int compare_unsigned(small_type us,
144 small_type vs,
148 small_type if_u_signed=0,
149 small_type if_v_signed=0);
151 sc_unsigned add_unsigned_friend(small_type us,
155 small_type vs,
160 sc_unsigned sub_unsigned_friend(small_type us,
164 small_type vs,
169 sc_unsigned mul_unsigned_friend(small_type s,
177 sc_unsigned div_unsigned_friend(small_type
[all...]
H A Dsc_unsigned.cpp860 small_type u ## s = get_sign(u); \
869 small_type u ## s = get_sign(u); \
878 small_type u ## s = get_sign(u); \
1039 small_type s = mul_signs(u.sgn, v.sgn);
1055 small_type s = mul_signs(u.sgn, get_sign(v));
1073 small_type s = mul_signs(v.sgn, get_sign(u));
1091 small_type s = mul_signs(u.sgn, get_sign(v));
1108 small_type s = mul_signs(v.sgn, get_sign(u));
1141 small_type s = mul_signs(u.sgn, v.sgn);
1159 small_type
[all...]
H A Dsc_signed.h135 sc_signed add_signed_friend(small_type us,
139 small_type vs,
144 sc_signed sub_signed_friend(small_type us,
148 small_type vs,
153 sc_signed mul_signed_friend(small_type s,
161 sc_signed div_signed_friend(small_type s,
169 sc_signed mod_signed_friend(small_type us,
177 sc_signed and_signed_friend(small_type us,
181 small_type vs,
186 sc_signed or_signed_friend(small_type u
[all...]
H A Dsc_nbcommon.inc395 small_type s = sgn;
591 small_type s = sgn;
1044 small_type vs = get_sign(v);
1092 small_type vs = get_sign(v);
1570 small_type s = u.sgn;
1732 small_type s = convert_signed_2C_to_SM(nb, nd, d);
1892 small_type s = convert_signed_2C_to_SM(nb, nd, d);
2585 CLASS_TYPE::CLASS_TYPE(const CLASS_TYPE& v, small_type s) :
2597 CLASS_TYPE::CLASS_TYPE(const OTHER_CLASS_TYPE& v, small_type s) :
2616 CLASS_TYPE::CLASS_TYPE(small_type
[all...]
/gem5/src/systemc/ext/dt/int/
H A Dsc_nbexterns.hh67 small_type &us, int unb, int und, sc_digit *ud,
68 small_type vs, int vnb, int vnd, const sc_digit *vd);
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,
96 small_type v
[all...]
H A Dsc_nbutils.hh120 extern small_type fsm_move(
121 char c, small_type &b, small_type &s, small_type &state);
133 const char *v, small_type &base, small_type &sign);
136 extern small_type
464 inline small_type
488 inline small_type
489 mul_signs(small_type u
[all...]
H A Dsc_nbdefs.hh106 // A small_type number is at least a char. Defining an int is probably
108 typedef int small_type; typedef in namespace:sc_dt
202 static const small_type NB_DEFAULT_BASE = SC_DEC;
H A Dsc_unsigned.hh152 int compare_unsigned(small_type us, int unb, int und, const sc_digit *ud,
153 small_type vs, int vnb, int vnd, const sc_digit *vd,
154 small_type if_u_signed=0, small_type if_v_signed=0);
157 small_type us, int unb, int und, const sc_digit *ud,
158 small_type vs, int vnb, int vnd, const sc_digit *vd);
161 small_type us, int unb, int und, const sc_digit *ud,
162 small_type vs, int vnb, int vnd, const sc_digit *vd);
165 small_type s, int unb, int und, const sc_digit *ud,
169 small_type
[all...]
H A Dsc_signed.hh147 small_type us, int unb, int und, const sc_digit *ud,
148 small_type vs, int vnb, int vnd, const sc_digit *vd);
151 small_type us, int unb, int und, const sc_digit *ud,
152 small_type vs, int vnb, int vnd, const sc_digit *vd);
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,
168 small_type vs, int vnb, int vnd, const sc_digit *vd);
171 small_type u
[all...]
/gem5/src/systemc/dt/int/
H A Dsc_nbexterns.cc66 add_on_help(small_type &us, int /* unb */, int und, sc_digit *ud,
67 small_type vs, int /* vnb */, int vnd, const sc_digit *vd)
121 mul_on_help_signed(small_type &us, int unb, int und, sc_digit *ud,
184 mul_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud,
251 div_on_help_signed(small_type &us, int unb, int und, sc_digit *ud,
310 div_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud,
373 mod_on_help_signed(small_type &us, int unb, int und, sc_digit *ud,
439 mod_on_help_unsigned(small_type &us, int unb, int und, sc_digit *ud,
511 and_on_help(small_type us, int /* unb */, int und, sc_digit *ud,
512 small_type v
[all...]
H A Dsc_signed.cc1247 small_type u ## s = get_sign(u); \
1256 small_type u ## s = get_sign(u); \
1265 small_type u ## s = get_sign(u); \
1912 small_type s = mul_signs(u.sgn, v.sgn);
1926 small_type s = mul_signs(u.sgn, v.sgn);
1940 small_type s = mul_signs(u.sgn, v.sgn);
1954 small_type s = mul_signs(u.sgn, get_sign(v));
1970 small_type s = mul_signs(v.sgn, get_sign(u));
1986 small_type s = mul_signs(u.sgn, get_sign(v));
2002 small_type
[all...]
H A Dsc_nbutils.cc141 small_type
142 fsm_move(char c, small_type &b, small_type &s, small_type &state)
197 get_base_and_sign(const char *v, small_type &b, small_type &s)
202 const small_type STATE_START = 0;
203 const small_type STATE_FINISH = 3;
209 small_type state = STATE_START;
210 small_type nski
[all...]
H A Dsc_unsigned.cc957 small_type u ## s = get_sign(u); \
966 small_type u ## s = get_sign(u); \
975 small_type u ## s = get_sign(u); \
1124 small_type s = mul_signs(u.sgn, v.sgn);
1138 small_type s = mul_signs(u.sgn, get_sign(v));
1154 small_type s = mul_signs(v.sgn, get_sign(u));
1170 small_type s = mul_signs(u.sgn, get_sign(v));
1185 small_type s = mul_signs(v.sgn, get_sign(u));
1216 small_type s = mul_signs(u.sgn, v.sgn);
1232 small_type
[all...]

Completed in 68 milliseconds