Searched refs:op (Results 1 - 25 of 75) sorted by relevance

123

/gem5/src/mem/slicc/ast/
H A DOperatorExprAST.py32 def __init__(self, slicc, left, op, right):
36 self.op = op
40 return "[InfixExpr: %r %s %r]" % (self.left, self.op, self.right)
50 if self.op in ("==", "!=", ">=", "<=", ">", "<"):
56 self.op, ltype, rtype)
61 if self.op in ("&&", "||"):
64 elif self.op in ("<<", ">>"):
67 elif self.op in ("+", "-", "*", "/"):
77 self.error("No operator matched with {0}!" .format(self.op))
[all...]
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxval.h152 #define DECL_BIN_OP_T(op,tp) \
153 friend const sc_fxval operator op ( const sc_fxval&, tp ); \
154 friend const sc_fxval operator op ( tp, const sc_fxval& );
157 #define DECL_BIN_OP_OTHER(op) \
158 DECL_BIN_OP_T(op,int64) \
159 DECL_BIN_OP_T(op,uint64) \
160 DECL_BIN_OP_T(op,const sc_int_base&) \
161 DECL_BIN_OP_T(op,const sc_uint_base&) \
162 DECL_BIN_OP_T(op,const sc_signed&) \
163 DECL_BIN_OP_T(op,cons
[all...]
H A Dsc_fixed.h124 #define DECL_ASN_OP_T(op,tp) \
125 sc_fixed& operator op ( tp );
128 #define DECL_ASN_OP_OTHER(op) \
129 DECL_ASN_OP_T(op,int64) \
130 DECL_ASN_OP_T(op,uint64) \
131 DECL_ASN_OP_T(op,const sc_int_base&) \
132 DECL_ASN_OP_T(op,const sc_uint_base&) \
133 DECL_ASN_OP_T(op,const sc_signed&) \
134 DECL_ASN_OP_T(op,const sc_unsigned&)
136 #define DECL_ASN_OP_OTHER(op)
[all...]
H A Dsc_ufixed.h124 #define DECL_ASN_OP_T(op,tp) \
125 sc_ufixed& operator op ( tp );
128 #define DECL_ASN_OP_OTHER(op) \
129 DECL_ASN_OP_T(op,int64) \
130 DECL_ASN_OP_T(op,uint64) \
131 DECL_ASN_OP_T(op,const sc_int_base&) \
132 DECL_ASN_OP_T(op,const sc_uint_base&) \
133 DECL_ASN_OP_T(op,const sc_signed&) \
134 DECL_ASN_OP_T(op,const sc_unsigned&)
136 #define DECL_ASN_OP_OTHER(op)
[all...]
H A Dsc_fxnum.h118 #define DECL_ASN_OP_T(op,tp) \
119 sc_fxnum_bitref& operator op ( tp );
121 #define DECL_ASN_OP(op) \
122 DECL_ASN_OP_T(op,const sc_fxnum_bitref&) \
123 DECL_ASN_OP_T(op,const sc_fxnum_fast_bitref&) \
124 DECL_ASN_OP_T(op,const sc_bit&) \
125 DECL_ASN_OP_T(op,bool)
189 #define DECL_ASN_OP_T(op,tp) \
190 sc_fxnum_fast_bitref& operator op ( tp );
192 #define DECL_ASN_OP(op) \
[all...]
H A Dsc_fix.h238 #define DECL_ASN_OP_T(op,tp) \
239 sc_fix& operator op ( tp );
242 #define DECL_ASN_OP_OTHER(op) \
243 DECL_ASN_OP_T(op,int64) \
244 DECL_ASN_OP_T(op,uint64) \
245 DECL_ASN_OP_T(op,const sc_int_base&) \
246 DECL_ASN_OP_T(op,const sc_uint_base&) \
247 DECL_ASN_OP_T(op,const sc_signed&) \
248 DECL_ASN_OP_T(op,const sc_unsigned&)
250 #define DECL_ASN_OP_OTHER(op)
[all...]
H A Dsc_ufix.h238 #define DECL_ASN_OP_T(op,tp) \
239 sc_ufix& operator op ( tp );
242 #define DECL_ASN_OP_OTHER(op) \
243 DECL_ASN_OP_T(op,int64) \
244 DECL_ASN_OP_T(op,uint64) \
245 DECL_ASN_OP_T(op,const sc_int_base&) \
246 DECL_ASN_OP_T(op,const sc_uint_base&) \
247 DECL_ASN_OP_T(op,const sc_signed&) \
248 DECL_ASN_OP_T(op,const sc_unsigned&)
250 #define DECL_ASN_OP_OTHER(op)
[all...]
/gem5/src/systemc/ext/dt/fx/
H A Dsc_fxval.hh131 #define DECL_BIN_OP_T(op,tp) \
132 friend const sc_fxval operator op (const sc_fxval &, tp); \
133 friend const sc_fxval operator op (tp, const sc_fxval &);
135 #define DECL_BIN_OP_OTHER(op) \
136 DECL_BIN_OP_T(op, int64) \
137 DECL_BIN_OP_T(op, uint64) \
138 DECL_BIN_OP_T(op, const sc_int_base &) \
139 DECL_BIN_OP_T(op, const sc_uint_base &) \
140 DECL_BIN_OP_T(op, const sc_signed &) \
141 DECL_BIN_OP_T(op, cons
[all...]
H A Dsc_fixed.hh116 #define DECL_ASN_OP_T(op, tp) sc_fixed &operator op (tp);
118 #define DECL_ASN_OP_OTHER(op) \
119 DECL_ASN_OP_T(op, int64) \
120 DECL_ASN_OP_T(op, uint64) \
121 DECL_ASN_OP_T(op, const sc_int_base&) \
122 DECL_ASN_OP_T(op, const sc_uint_base&) \
123 DECL_ASN_OP_T(op, const sc_signed&) \
124 DECL_ASN_OP_T(op, const sc_unsigned&)
126 #define DECL_ASN_OP(op) \
[all...]
H A Dsc_ufixed.hh116 #define DECL_ASN_OP_T(op,tp) sc_ufixed &operator op (tp);
118 #define DECL_ASN_OP_OTHER(op) \
119 DECL_ASN_OP_T(op, int64) \
120 DECL_ASN_OP_T(op, uint64) \
121 DECL_ASN_OP_T(op, const sc_int_base &) \
122 DECL_ASN_OP_T(op, const sc_uint_base &) \
123 DECL_ASN_OP_T(op, const sc_signed &) \
124 DECL_ASN_OP_T(op, const sc_unsigned &)
126 #define DECL_ASN_OP(op) \
[all...]
H A Dsc_fxnum.hh113 #define DECL_ASN_OP_T(op, tp) \
114 sc_fxnum_bitref &operator op (tp);
116 #define DECL_ASN_OP(op) \
117 DECL_ASN_OP_T(op, const sc_fxnum_bitref &) \
118 DECL_ASN_OP_T(op, const sc_fxnum_fast_bitref &) \
119 DECL_ASN_OP_T(op, const sc_bit &) \
120 DECL_ASN_OP_T(op, bool)
171 #define DECL_ASN_OP_T(op, tp) sc_fxnum_fast_bitref &operator op (tp);
173 #define DECL_ASN_OP(op) \
[all...]
H A Dsc_fix.hh178 #define DECL_ASN_OP_T(op, tp) sc_fix &operator op (tp);
180 #define DECL_ASN_OP_OTHER(op) \
181 DECL_ASN_OP_T(op, int64) \
182 DECL_ASN_OP_T(op, uint64) \
183 DECL_ASN_OP_T(op, const sc_int_base &) \
184 DECL_ASN_OP_T(op, const sc_uint_base &) \
185 DECL_ASN_OP_T(op, const sc_signed &) \
186 DECL_ASN_OP_T(op, const sc_unsigned &)
188 #define DECL_ASN_OP(op) \
[all...]
H A Dsc_ufix.hh178 #define DECL_ASN_OP_T(op,tp) sc_ufix &operator op (tp);
180 #define DECL_ASN_OP_OTHER(op) \
181 DECL_ASN_OP_T(op, int64) \
182 DECL_ASN_OP_T(op, uint64) \
183 DECL_ASN_OP_T(op, const sc_int_base &) \
184 DECL_ASN_OP_T(op, const sc_uint_base &) \
185 DECL_ASN_OP_T(op, const sc_signed &) \
186 DECL_ASN_OP_T(op, const sc_unsigned &)
188 #define DECL_ASN_OP(op) \
[all...]
/gem5/src/sim/
H A Dmathexpr.hh81 Operator op; member in struct:MathExpr::OpSearch
92 Node() : op(nInvalid), l(0), r(0), value(0) {}
95 switch (op) {
103 return std::string(1, opStr[op]);
107 Operator op; member in class:MathExpr::Node
H A Dmathexpr.cc104 n->op = ops[opt].op;
124 n->op = sValue;
142 n->op = sVariable;
155 else if (n->op == sValue)
157 else if (n->op == sVariable)
161 if (opt.op == n->op)
/gem5/src/arch/arm/insts/
H A Dfplib.hh76 T fplibAbs(T op);
97 T2 fplibConvert(T1 op, FPRounding rounding, FPSCR &fpscr);
103 T fplibExpA(T op);
127 T fplibNeg(T op);
130 T fplibRSqrtEstimate(T op, FPSCR &fpscr);
136 T fplibRecipEstimate(T op, FPSCR &fpscr);
142 T fplibRecpX(T op, FPSCR &fpscr);
145 T fplibRoundInt(T op, FPRounding rounding, bool exact, FPSCR &fpscr);
151 T fplibSqrt(T op, FPSCR &fpscr);
166 T2 fplibFPToFixed(T1 op, in
[all...]
/gem5/ext/systemc/src/sysc/datatypes/bit/
H A Dsc_logic.h203 #define DEFN_ASN_OP_T(op,tp) \
204 sc_logic& operator op ( tp v ) \
205 { *this op sc_logic( v ); return *this; }
207 #define DEFN_ASN_OP(op) \
208 DEFN_ASN_OP_T(op, sc_logic_value_t) \
209 DEFN_ASN_OP_T(op, bool) \
210 DEFN_ASN_OP_T(op, char) \
211 DEFN_ASN_OP_T(op, int ) \
212 DEFN_ASN_OP_T(op, const sc_bit& )
321 #define DEFN_BIN_OP_T(ret,op,t
[all...]
/gem5/src/systemc/ext/dt/bit/
H A Dsc_logic.hh166 #define DEFN_ASN_OP_T(op,tp) \
168 operator op (tp v) \
170 *this op sc_logic(v); \
174 #define DEFN_ASN_OP(op) \
175 DEFN_ASN_OP_T(op, sc_logic_value_t) \
176 DEFN_ASN_OP_T(op, bool) \
177 DEFN_ASN_OP_T(op, char) \
178 DEFN_ASN_OP_T(op, int) \
179 DEFN_ASN_OP_T(op, const sc_bit &)
308 #define DEFN_BIN_OP_T(ret,op,t
[all...]
/gem5/src/cpu/
H A DTimingExpr.py140 op = Param.TimingExprOp("operator") variable in class:TimingExprUn
143 def set_params(self, op, arg):
144 self.op = op
153 op = Param.TimingExprOp("operator") variable in class:TimingExprBin
157 def set_params(self, op, left, right):
158 self.op = op
H A Dtiming_expr.hh170 Enums::TimingExprOp op; member in class:TimingExprUn
175 op(params->op),
185 Enums::TimingExprOp op; member in class:TimingExprBin
191 op(params->op),
/gem5/ext/pybind11/include/pybind11/
H A Doperators.h58 using op = op_impl<id, ot, Base, L_type, R_type>;
59 cl.def(op::name(), &op::execute, is_operator(), extra...);
63 &op::execute, is_operator(), extra...);
70 using op = op_impl<id, ot, Base, L_type, R_type>;
71 cl.def(op::name(), &op::execute_cast, is_operator(), extra...);
75 &op::execute, is_operator(), extra...);
80 #define PYBIND11_BINARY_OPERATOR(id, rid, op, expr) \
91 inline op_<op_##id, op_l, self_t, self_t> op(cons
[all...]
/gem5/ext/ply/example/BASIC/
H A Dbasinterp.py203 op = instr[0]
206 if op == 'END' or op == 'STOP':
210 elif op == 'GOTO':
216 elif op == 'PRINT':
235 elif op == 'LET':
241 elif op == 'READ':
250 elif op == 'IF':
257 elif op == 'FOR':
286 elif op
[all...]
/gem5/src/arch/hsail/
H A Doperand.cc220 const BrigOperandRegister *op = (BrigOperandRegister*)baseOp; local
223 (BrigRegisterKind)op->regKind);
235 const BrigOperandOperandList *op = local
237 const BrigData *data_p = (BrigData*)obj->getData(op->elements);
277 const BrigOperandAddress *op = (BrigOperandAddress*)baseOp; local
279 if (!op->reg) {
282 if (op->symbol) {
284 obj->getCodeSectionEntry(op->symbol);
313 AddrOperandBase::parseAddr(const BrigOperandAddress *op, const BrigObject *obj) argument
315 assert(op
446 const BrigOperandCodeRef *op = local
[all...]
/gem5/src/systemc/tests/systemc/examples/trie/
H A Dtrie.cpp10 #define LOOKUP 2 // really op(1) == 1 and op(0) - don't care
54 sc_uint<2> op; local
61 op = DIN_op.read();
67 if( op == 0){
71 } else if(op == 1){
75 } else if( op[1] == 1){
243 sc_signal<sc_uint<2> > op; local
252 op, data,
270 op
[all...]
/gem5/src/arch/riscv/insts/
H A Damo.hh120 * A generic atomic op class
128 : a(_a), op(_op) { }
130 void execute(T *b) { op(b, a); }
133 std::function<void(T*,T)> op; member in class:RiscvISA::AtomicGenericOp

Completed in 48 milliseconds

123