/gem5/ext/systemc/src/sysc/qt/ |
H A D | stp.c | 12 #define STP_STKALIGN(sp, alignment) \ 13 ((void *)((((qt_word_t)(sp)) + (alignment) - 1) & ~((alignment)-1))) 17 Thread stuff: thread status (sp) and stuff to use during 22 qt_t *sp; /* QuickThreads handle. */ member in struct:stp_t 106 static void *stp_aborthelp (qt_t *sp, void *old, void *null); 107 static void *stp_yieldhelp (qt_t *sp, void *old, void *blockq); 124 QT_BLOCK (stp_starthelp, 0, 0, next->sp); 132 stp_global_main.sp = old; 147 t->sp = QT_SP (sto, STP_STKSIZE - QT_STKALIGN); 148 t->sp 173 stp_aborthelp(qt_t *sp, void *old, void *null) argument 194 stp_yieldhelp(qt_t *sp, void *old, void *blockq) argument [all...] |
/gem5/ext/systemc/src/sysc/qt/md/ |
H A D | sparc_b.s | 90 ld [%sp+ 0], %g0 92 ld [%sp+ 4],%g0 93 ld [%sp+ 8],%g0 94 ld [%sp+12],%g0 95 ld [%sp+16],%g0 96 ld [%sp+20],%g0 97 ld [%sp+24],%g0 98 ld [%sp+28],%g0 99 ld [%sp+32],%g0 100 ld [%sp [all...] |
H A D | vax.h | 33 | 0 (handler) <--- qt_t.sp 59 | 0 (handler) <--- qt_t.sp 119 #define QUICKTHREADS_VARGS_ADJUST(sp) ((char *)sp + 4)
|
H A D | hppa_b.s | 53 stwm %r3,64(%sp) ; store r3 (may be used by caller) 54 stw %rp,-20(%sp) ; save return-pointer to frame-marker 103 ldw -20(%sp),%rp ; restore return-pointer 105 ldwm -64(%sp),%r3 ; resore r3 and remove stack frame 117 ldo 64(%sp),%sp ; caller needs a stack-frame 118 stw %rp,-20(%sp) ; save return-pointer to frame-marker 141 ldw -20(%sp),%rp ; restore return-pointer 143 ldo -64(%sp),%sp ; remov [all...] |
/gem5/util/statetrace/arch/arm/ |
H A D | tracechild.cc | 164 uint32_t sp = getSP(); local 168 sprintf(obuf, "Initial stack pointer = 0x%08x\n", sp); 174 int32_t cargc = ptrace(PTRACE_PEEKDATA, pid, sp, 0); 175 sprintf(obuf, "0x%08x: Argc = 0x%08x\n", sp, cargc); 177 sp += 4; 183 cargv = ptrace(PTRACE_PEEKDATA, pid, sp, 0); 185 sp, argCount++, cargv); 190 sp += 4; 197 cenvp = ptrace(PTRACE_PEEKDATA, pid, sp, 0); 199 sp, envCoun [all...] |
/gem5/ext/nomali/lib/ |
H A D | Rules.mk | 19 sp := $(sp).x macro 20 dirstack_$(sp) := $(d) 55 d := $(dirstack_$(sp)) 56 sp := $(basename $(sp)) macro
|
/gem5/ext/nomali/tests/ |
H A D | Rules.mk | 19 sp := $(sp).x macro 20 dirstack_$(sp) := $(d) 45 d := $(dirstack_$(sp)) 46 sp := $(basename $(sp)) macro
|
/gem5/src/systemc/tests/systemc/kernel/process_control/test06/ |
H A D | test06.cpp | 27 sc_spawn_options sp; local 28 sp.set_sensitivity( &clk.pos() ); 33 , sc_gen_unique_name("thread"), &sp ); 37 sp.spawn_method(); 39 , sc_gen_unique_name("method"), &sp );
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/macros/mt/ |
H A D | test_macros_mt.h | 88 addi sp, sp, -8 variable 89 sd a0, (sp) // save pointer to the new stack 134 ld a0, (sp) // pop the new stack's pointer 135 addi sp, sp, 8 variable
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64uc/ |
H A D | rvc.S | 36 li sp, 0x1234 37 RVC_TEST_CASE (3, a0, 0x1234 + 1020, c.addi4spn a0, sp, 1020) 38 RVC_TEST_CASE (4, sp, 0x1234 + 496, c.addi16sp sp, 496) 39 RVC_TEST_CASE (5, sp, 0x1234 + 496 - 512, c.addi16sp sp, -512) 137 la sp, data 138 RVC_TEST_CASE (40, a2, 0xfffffffffedcba99, c.lwsp a0, 12(sp); addi a0, a0, 1; c.swsp a0, 12(sp); c.lwsp a2, 12(sp)) [all...] |
/gem5/util/statetrace/arch/amd64/ |
H A D | tracechild.cc | 247 uint64_t sp = getSP(); local 251 sprintf(obuf, "Initial stack pointer = 0x%016lx\n", sp); 257 uint64_t cargc = ptrace(PTRACE_PEEKDATA, pid, sp, 0); 258 sprintf(obuf, "0x%016lx: Argc = 0x%016lx\n", sp, cargc); 260 sp += 8; 266 cargv = ptrace(PTRACE_PEEKDATA, pid, sp, 0); 268 sp, argCount++, cargv); 273 sp += 8; 280 cenvp = ptrace(PTRACE_PEEKDATA, pid, sp, 0); 282 sp, envCoun [all...] |
/gem5/src/systemc/tests/systemc/communication/sc_signal/check_writer/test16/ |
H A D | test16.cpp | 55 sc_core::sc_spawn_options sp; local 56 sp.set_sensitivity(&ev[id-1]); 57 sp.spawn_method(); 58 sp.dont_initialize(); 62 sc_spawn( sc_bind(&dut::driver, this, value), nm.str().c_str(), &sp );
|
/gem5/system/alpha/h/ |
H A D | fromHudsonOsf.h | 264 mtpr sp, ptUsp; \ 265 mfpr sp, ptKsp; \ 266 0: lda sp, 0-FRM_K_SIZE(sp); \ 267 stq tmp1, FRM_Q_PS(sp); \ 268 stq tmp2, FRM_Q_PC(sp); \ 269 stq gp, FRM_Q_GP(sp); \ 270 stq a0, FRM_Q_A0(sp); \ 271 stq a1, FRM_Q_A1(sp); \ 272 stq a2, FRM_Q_A2(sp) 393 #define sp macro [all...] |
/gem5/util/statetrace/arch/sparc/ |
H A D | tracechild.cc | 376 uint64_t sp = getSP(); local 377 if (sp % 2) { 386 sprintf(obuf, "Initial stack pointer = 0x%016llx\n", sp); 392 sp += 2047; 396 uint64_t regspot = ptrace(PTRACE_PEEKDATA, pid, sp, 0); 399 sp, x+1, regspot); 401 sp += v8 ? 4 : 8; 404 uint64_t cargc = ptrace(PTRACE_PEEKDATA, pid, sp, 0); 406 sprintf(obuf, "0x%016llx: Argc = 0x%016llx\n", sp, cargc); 408 sp [all...] |
/gem5/tests/test-progs/insttest/src/riscv/ |
H A D | rv64c.cpp | 46 asm volatile("lw %0,%2(sp);" 47 "c.lwsp %1,%2(sp);" 57 asm volatile("ld %0,%2(sp);" 58 "c.ldsp %1,%2(sp);" 68 asm volatile("fld %0,%2(sp);" 69 "c.fldsp %1,%2(sp);" 78 asm volatile("addi sp,sp,-8;" 79 "c.swsp %1,8(sp);" 80 "lw %0,8(sp);" [all...] |
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_cor_qt.cpp | 126 stack_align( void* sp, int alignment, std::size_t* stack_size ) argument 130 return ( (void*)(((qt_word_t) sp + round_up_mask) & ~round_up_mask) ); 190 sc_cor_qt_yieldhelp( qt_t* sp, void* old_cor, void* ) argument 192 RCAST<sc_cor_qt*>( old_cor )->m_sp = sp;
|
/gem5/src/arch/riscv/ |
H A D | process.cc | 203 Addr sp = memState->getStackMin(); local 205 [this, &sp](IntType data) { 206 initVirtMem.write(sp, data, GuestByteOrder); 207 sp += sizeof(data); 212 DPRINTF(Stack, "Wrote argc %d to address %#x\n", argc, sp); 217 argPointer, sp); 224 envPointer, sp); 241 aux_keys[aux.type], sp); 243 DPRINTF(Stack, "Wrote aux value %x to address %#x\n", aux.val, sp);
|
/gem5/src/arch/alpha/ |
H A D | utility.cc | 55 Addr sp = tc->readIntReg(StackPointerReg); local 57 uint64_t arg = vp.read<uint64_t>(sp +
|
H A D | stacktrace.hh | 71 bool decodePrologue(Addr sp, Addr callpc, Addr func, int &size, Addr &ra);
|
/gem5/src/systemc/tests/systemc/communication/sc_signal/check_writer/test15/ |
H A D | test15.cpp | 55 sc_core::sc_spawn_options sp; local 56 sp.set_sensitivity(&ev[id-1]); 57 sp.spawn_method(); 58 sp.dont_initialize(); 62 sc_spawn( sc_bind(&dut::driver, this, value), nm.str().c_str(), &sp );
|
/gem5/system/alpha/palcode/ |
H A D | osfpal.S | 216 lda sp, 0-osfsf_c_size(sp)// allocate stack space 219 stq r16, osfsf_a0(sp) // save regs 222 stq r17, osfsf_a1(sp) // a1 225 stq r18, osfsf_a2(sp) // a2 228 stq r11, osfsf_ps(sp) // save old ps 231 stq r16, osfsf_pc(sp) // save pc 232 stq r29, osfsf_gp(sp) // save gp 253 // update ps (including current mode and ipl copies), sp, and gp 278 lda sp, ( [all...] |
/gem5/src/arch/generic/linux/ |
H A D | threadinfo.hh | 82 Addr sp; local 88 p.readBlob(addr, &sp, sizeof(Addr)); 90 return sp & ~ULL(0x3fff);
|
/gem5/src/gpu-compute/ |
H A D | hsail_code.cc | 420 StorageSpace *sp = space[segment]; local 422 if (!sp) { 427 StorageElement *se = sp->findSymbol(addr); 443 StorageSpace *sp = space[segment]; local 445 if (!sp) { 450 StorageElement *se = sp->findSymbol(brigptr);
|
/gem5/src/arch/arm/ |
H A D | stacktrace.hh | 73 bool decodePrologue(Addr sp, Addr callpc, Addr func, int &size, Addr &ra);
|
/gem5/src/arch/mips/ |
H A D | stacktrace.hh | 70 bool decodePrologue(Addr sp, Addr callpc, Addr func, int &size, Addr &ra);
|