/gem5/src/systemc/tests/systemc/misc/sim_tests/cycle_dw8051_demo/ |
H A D | cycle_model.cpp | 1075 // exec_bus_cycle(bus_cycle_type op, int addr, int data, int* result) 1083 void cycle_model::exec_bus_cycle(bus_cycle_type op, int addr, int data, int* result) { argument 1088 if(op==OP_IDLE) { 1125 if(op==OP_MEM_WRITE) { 1137 switch (op) { 1167 switch (op) { 1192 switch (op) { 1215 switch (op) { 1245 switch(op) { 1353 // int cycle_model::fetch_operand(operand* op) 1358 fetch_operand(operand* op) argument 1457 write_back(operand* op, int v) argument [all...] |
H A D | cycle_model.h | 145 void exec_bus_cycle(bus_cycle_type op, int addr, int data, int* result); 150 int fetch_operand(operand* op);
|
/gem5/ext/dnet/ |
H A D | fw.h | 31 #define fw_pack_rule(rule, dev, op, dir, p, s, d, sp1, sp2, dp1, dp2) \ 34 (rule)->fw_op = op; (rule)->fw_dir = dir; \
|
H A D | arp.h | 75 #define arp_pack_hdr_ethip(hdr, op, sha, spa, tha, tpa) do { \ 83 pack_arp_p->ar_op = htons(op); \
|
/gem5/ext/systemc/src/sysc/datatypes/bit/ |
H A D | sc_bit.h | 176 #define DEFN_ASN_OP_T(op,tp) \ 177 sc_bit& operator op( tp b ) \ 178 { return ( *this op sc_bit( b ) ); } 179 #define DEFN_ASN_OP(op) \ 180 DEFN_ASN_OP_T(op,int) \ 181 DEFN_ASN_OP_T(op,bool) \ 182 DEFN_ASN_OP_T(op,char)
|
/gem5/src/systemc/ext/dt/bit/ |
H A D | sc_bit.hh | 162 #define DEFN_ASN_OP_T(op, tp) \ 163 sc_bit &operator op(tp b) { return (*this op sc_bit(b)); } 164 #define DEFN_ASN_OP(op) \ 165 DEFN_ASN_OP_T(op,int) \ 166 DEFN_ASN_OP_T(op,bool) \ 167 DEFN_ASN_OP_T(op,char)
|
/gem5/src/arch/arm/insts/ |
H A D | mem64.hh | 265 * A generic atomic op class 273 : a(_a), op(_op) 281 op(b, a); 285 std::function<void(T*,T)> op; member in class:ArmISA::AtomicGeneric2Op 293 : a(_a), c(_c), op(_op) 301 op(b, a, c); 306 std::function<void(T*, T, T)> op; member in class:ArmISA::AtomicGeneric3Op 315 : a(_a), c(_c), op(_op) 323 op(b, a, c); 328 std::function<void(T*, std::array<T, 2>&, std::array<T, 2>)> op; member in class:ArmISA::AtomicGenericPair3Op [all...] |
H A D | vfp.cc | 568 uint32_t rMode, bool ahp, float op) 570 uint64_t opBits = fpToBits(op); 576 uint32_t rMode, bool ahp, double op) 578 uint64_t opBits = fpToBits(op); 583 vcvtFpHFp(FPSCR &fpscr, bool defaultNan, bool ahp, uint16_t op, bool isDouble) argument 601 bool neg = bits(op, 15); 602 uint32_t exponent = bits(op, 14, 10); 603 uint64_t mantissa = bits(op, 9, 0); 645 vcvtFpHFpD(FPSCR &fpscr, bool defaultNan, bool ahp, uint16_t op) argument 650 result = vcvtFpHFp(fpscr, defaultNan, ahp, op, tru 567 vcvtFpSFpH(FPSCR &fpscr, bool flush, bool defaultNan, uint32_t rMode, bool ahp, float op) argument 575 vcvtFpDFpH(FPSCR &fpscr, bool flush, bool defaultNan, uint32_t rMode, bool ahp, double op) argument 655 vcvtFpHFpS(FPSCR &fpscr, bool defaultNan, bool ahp, uint16_t op) argument 761 fprSqrtEstimate(FPSCR &fpscr, float op) argument 804 unsignedRSqrtEstimate(uint32_t op) argument 843 fpRecipEstimate(FPSCR &fpscr, float op) argument 879 unsignedRecipEstimate(uint32_t op) argument [all...] |
H A D | fplib.cc | 2358 fplibAbs(uint16_t op) argument 2360 return op & ~(1ULL << (FP16_BITS - 1)); 2365 fplibAbs(uint32_t op) argument 2367 return op & ~(1ULL << (FP32_BITS - 1)); 2372 fplibAbs(uint64_t op) argument 2374 return op & ~(1ULL << (FP64_BITS - 1)); 2510 fp16_FPConvertNaN_32(uint32_t op) argument 2512 return fp16_pack(op >> (FP32_BITS - 1), FP16_EXP_INF, 2514 op >> (FP32_MANT_BITS - FP16_MANT_BITS)); 2518 fp16_FPConvertNaN_64(uint64_t op) argument 2526 fp32_FPConvertNaN_16(uint16_t op) argument 2534 fp32_FPConvertNaN_64(uint64_t op) argument 2542 fp64_FPConvertNaN_16(uint16_t op) argument 2550 fp64_FPConvertNaN_32(uint32_t op) argument 2613 fplibConvert(uint32_t op, FPRounding rounding, FPSCR &fpscr) argument 2662 fplibConvert(uint64_t op, FPRounding rounding, FPSCR &fpscr) argument 2711 fplibConvert(uint16_t op, FPRounding rounding, FPSCR &fpscr) argument 2749 fplibConvert(uint64_t op, FPRounding rounding, FPSCR &fpscr) argument 2788 fplibConvert(uint16_t op, FPRounding rounding, FPSCR &fpscr) argument 2826 fplibConvert(uint32_t op, FPRounding rounding, FPSCR &fpscr) argument 2924 fplibExpA(uint16_t op) argument 2966 fplibExpA(uint32_t op) argument 3040 fplibExpA(uint64_t op) argument 3477 fplibNeg(uint16_t op) argument 3484 fplibNeg(uint32_t op) argument 3491 fplibNeg(uint64_t op) argument 3517 fplibRSqrtEstimate(uint16_t op, FPSCR &fpscr) argument 3552 fplibRSqrtEstimate(uint32_t op, FPSCR &fpscr) argument 3587 fplibRSqrtEstimate(uint64_t op, FPSCR &fpscr) argument 3712 fplibRecipEstimate(uint16_t op, FPSCR &fpscr) argument 3774 fplibRecipEstimate(uint32_t op, FPSCR &fpscr) argument 3836 fplibRecipEstimate(uint64_t op, FPSCR &fpscr) argument 3988 fplibRecpX(uint16_t op, FPSCR &fpscr) argument 4015 fplibRecpX(uint32_t op, FPSCR &fpscr) argument 4042 fplibRecpX(uint64_t op, FPSCR &fpscr) argument 4069 fplibRoundInt(uint16_t op, FPRounding rounding, bool exact, FPSCR &fpscr) argument 4199 fplibRoundInt(uint64_t op, FPRounding rounding, bool exact, FPSCR &fpscr) argument 4624 fplibFPToFixed(uint16_t op, int fbits, bool u, FPRounding rounding, FPSCR &fpscr) argument 4654 fplibFPToFixed(uint16_t op, int fbits, bool u, FPRounding rounding, FPSCR &fpscr) argument 4686 fplibFPToFixed(uint32_t op, int fbits, bool u, FPRounding rounding, FPSCR &fpscr) argument 4715 fplibFPToFixed(uint64_t op, int fbits, bool u, FPRounding rounding, FPSCR &fpscr) argument 4742 fplibFPToFixed(uint16_t op, int fbits, bool u, FPRounding rounding, FPSCR &fpscr) argument 4774 fplibFPToFixed(uint32_t op, int fbits, bool u, FPRounding rounding, FPSCR &fpscr) argument 4804 fplibFPToFixed(uint64_t op, int fbits, bool u, FPRounding rounding, FPSCR &fpscr) argument 4887 fplibFixedToFP(uint64_t op, int fbits, bool u, FPRounding rounding, FPSCR &fpscr) argument 4900 fplibFixedToFP(uint64_t op, int fbits, bool u, FPRounding rounding, FPSCR &fpscr) argument 4912 fplibFixedToFP(uint64_t op, int fbits, bool u, FPRounding rounding, FPSCR &fpscr) argument [all...] |
H A D | static_inst.hh | 98 satInt(int32_t &res, int64_t op, int width) argument 101 if (op >= (LL(1) << width)) { 104 } else if (op < -(LL(1) << width)) { 108 res = op; 131 uSatInt(int32_t &res, int64_t op, int width) argument 133 if (op >= (LL(1) << width)) { 136 } else if (op < 0) { 140 res = op;
|
H A D | vfp.hh | 118 flushToZero(fpType &op) argument 121 if (std::fpclassify(op) == FP_SUBNORMAL) { 123 op = bitsToFp(fpToBits(op) & bitMask, junk); 140 vfpFlushToZero(FPSCR &fpscr, fpType &op) argument 142 if (fpscr.fz == 1 && flushToZero(op)) { 231 uint32_t rMode, bool ahp, float op); 233 uint32_t rMode, bool ahp, double op); 235 float vcvtFpHFpS(FPSCR &fpscr, bool defaultNan, bool ahp, uint16_t op); 236 double vcvtFpHFpD(FPSCR &fpscr, bool defaultNan, bool ahp, uint16_t op); [all...] |
H A D | crypto.hh | 121 void sha1Op(uint8_t *output, uint8_t *input, uint8_t *input2, SHAOp op); 122 void _sha1Op(uint32_t *X, uint32_t *Y, uint32_t *Z, SHAOp op);
|
/gem5/tests/test-progs/insttest/src/riscv/ |
H A D | rv64c.h | 38 #define CIOP(op, r, imm) asm volatile(op " %0,%1" : "+r" (r) : "i" (imm)); 39 #define CROP(op, rd, rs) asm volatile(op " %0,%1" : "+r" (rd) : "r" (rs))
|
/gem5/src/arch/x86/ |
H A D | decoder.cc | 55 emi.opcode.op = 0; 192 emi.legacy.op = true; 259 emi.legacy.op = 1; 281 emi.opcode.op = 0xC4; 308 emi.opcode.op = 0x0B; 322 emi.opcode.op = 0xC5; 339 emi.legacy.op = 1; 357 emi.opcode.op = nextByte; 388 emi.opcode.op = nextByte; 412 emi.opcode.op [all...] |
H A D | types.hh | 80 Bitfield<4> op; member in namespace:X86ISA 216 Opcode op; member in struct:X86ISA::ExtMachInst::__anon9 243 "op = {\n\t\ttype = %s,\n\t\top = %#x,\n\t\t},\n\t" 249 opcodeTypeToStr(emi.opcode.type), (uint8_t)emi.opcode.op, 266 if (emi1.opcode.op != emi2.opcode.op) 365 ((uint64_t)emi.opcode.op)) ^
|
H A D | types.cc | 49 paramOut(cp, name + ".opcode.op", (uint8_t)machInst.opcode.op); 87 paramIn(cp, name + ".opcode.op", temp8); 88 machInst.opcode.op = temp8;
|
/gem5/src/arch/arm/ |
H A D | system.hh | 345 uint32_t op, uint64_t param); 349 uint32_t op, uint32_t param);
|
H A D | system.cc | 282 uint32_t op, uint64_t param) 285 return sys->semihosting->call64(tc, op, param); 290 uint32_t op, uint32_t param) 293 return sys->semihosting->call32(tc, op, param); 281 callSemihosting64(ThreadContext *tc, uint32_t op, uint64_t param) argument 289 callSemihosting32(ThreadContext *tc, uint32_t op, uint32_t param) argument
|
H A D | semihosting.hh | 75 uint64_t call64(ThreadContext *tc, uint32_t op, uint64_t param); 77 uint32_t call32(ThreadContext *tc, uint32_t op, uint32_t param); 347 static const SemiCall *getCall(uint32_t op, bool aarch64);
|
/gem5/util/stats/ |
H A D | info.py | 211 def __init__(self, op, arg): 212 self.op = op 225 return self.op(val) 231 return self.op(val) 237 if self.op == operator.__neg__: 239 if self.op == operator.__pos__: 241 if self.op == operator.__abs__: 245 def __init__(self, op, arg0, arg1): 247 self.op [all...] |
/gem5/src/arch/mips/linux/ |
H A D | process.cc | 107 unsigned op = process->getSyscallArg(tc, index); local 111 switch (op) { 122 cerr << "sys_getsysinfo: unknown op " << op << endl; 136 unsigned op = process->getSyscallArg(tc, index); local 140 switch (op) { 153 cerr << "sys_setsysinfo: unknown op " << op << endl;
|
/gem5/src/cpu/ |
H A D | timing_expr.cc | 94 switch (op) { 130 switch (op) {
|
/gem5/src/systemc/tests/systemc/compliance_1666/test001/ |
H A D | test001.cpp | 258 void action() { op = sc_min(3, (*pp).read() + 1); }
260 sc_out<int> op; //// Out-of-order declaration DOULOS052
local 294 n.op(*sig);
|
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_string.cpp | 321 #define DEFINE_RELOP(op) \ 322 bool sc_string_old::operator op( const char* s ) const \ 324 return strcmp( rep->str, s ) op 0; \ 326 bool sc_string_old::operator op( const sc_string_old& s ) const \ 328 return strcmp( rep->str, s.rep->str ) op 0; \
|
/gem5/src/arch/hsail/ |
H A D | operand.hh | 584 void parseAddr(const Brig::BrigOperandAddress *op, const BrigObject *obj); 627 const BrigOperandAddress *op = (BrigOperandAddress*)baseOp; local 630 reg.init(op->reg, obj); 635 assert(!op->offset.hi); 641 offset = (int32_t)(op->offset.lo); 646 offset = (int64_t)(((uint64_t)(op->offset.hi) << 32) 647 | (uint64_t)(op->offset.lo));
|