Searched refs:cond (Results 1 - 17 of 17) sorted by relevance

/gem5/src/mem/slicc/ast/
H A DIfStatementAST.py32 def __init__(self, slicc, cond, then, else_):
35 assert cond is not None
38 self.cond = cond
43 return "[IfStatement: %r%r%r]" % (self.cond, self.then, self.else_)
47 cond_type = self.cond.generate(cond_code)
50 self.cond.error("Condition of if stmt must be bool, type was '%s'",
/gem5/src/base/
H A Dlogging.hh182 * @param cond Condition that is checked; if true -> panic
185 #define panic_if(cond, ...) \
187 if ((cond)) { \
188 panic("panic condition " # cond " occurred: %s", \
200 * @param cond Condition that is checked; if true -> fatal
203 #define fatal_if(cond, ...) \
205 if ((cond)) { \
206 fatal("fatal condition " # cond " occurred: %s", \
225 * @param cond Condition that is checked; if true -> warn
228 #define warn_if(cond,
[all...]
H A Daddr_range_map.hh240 find(const AddrRange &r, std::function<bool(const AddrRange)> cond)
245 if (cond(it->first)) {
254 if (next != end() && cond(next->first)) {
265 if (cond(i->first)) {
277 find(const AddrRange &r, std::function<bool(const AddrRange)> cond) const
279 return const_cast<AddrRangeMap *>(this)->find(r, cond);
/gem5/src/cpu/
H A DTimingExpr.py168 cond = Param.TimingExpr("condition expression") variable in class:TimingExprIf
172 def set_params(self, cond, trueExpr, falseExpr):
173 self.cond = cond
H A Dtiming_expr.hh202 TimingExpr *cond; member in class:TimingExprIf
208 cond(params->cond),
H A Dtiming_expr.cc195 uint64_t cond_value = cond->eval(context);
/gem5/src/arch/hsail/insts/
H A Dbranch.hh172 CRegOperand cond; member in class:HsailISA::CbrInstBase
181 cond.init(op_offs, obj);
255 cond.disassemble(), target.disassemble());
284 true_mask[lane] = cond.get<bool>(w, lane) & curr_mask[lane];
/gem5/src/cpu/pred/
H A Dmultiperspective_perceptron_tage.hh197 MPPTAGEBranchInfo(Addr pc, int pcshift, bool cond, TAGEBase &tage, argument
200 : MPPBranchInfo(pc, pcshift, cond),
/gem5/src/arch/arm/
H A Dtypes.hh57 /* Note that the split (cond, mask) below is not as in ARM ARM.
63 Bitfield<7, 4> cond; member in namespace:ArmISA
399 uint8_t thumb_cond = it.cond;
412 it.cond = thumb_cond;
H A Ddecoder.cc137 "IT detected, cond = %#x, mask = %#x\n",
138 itBits.cond, itBits.mask);
H A Dfaults.cc408 uint32_t cond; local
410 // If its on unconditional instruction report with a cond code of
412 cond = (condCode == COND_UC) ? COND_AL : condCode;
413 value |= cond << 20;
/gem5/util/statetrace/arch/sparc/
H A Dtracechild.cc215 uint32_t cond = (inst >> 25) & 0xf; local
219 bool ba = (cond == 0x8) &&
222 bool bn = (cond == 0x0) &&
225 bool bcc = (cond & 0x7) &&
/gem5/configs/common/cores/arm/
H A DHPI.py144 def if_expr(cond, true_expr, false_expr):
147 ret.cond = cond(env)
/gem5/ext/googletest/googletest/scripts/
H A Dpump.py684 cond = env.EvalExp(node.exp)
685 if cond:
/gem5/src/arch/arm/insts/
H A Dvfp.hh997 ConditionCode cond; member in class:ArmISA::FpRegRegRegCondOp
1004 cond(_cond)
H A Dvfp.cc131 printCondition(ss, cond);
/gem5/ext/googletest/googlemock/test/
H A Dgmock-spec-builders_test.cc1957 MOCK_METHOD6(VoidMethod, void(bool cond, int n, string s, void* p,

Completed in 53 milliseconds