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

/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64si/
H A Dma_fetch.S7 # Test misaligned fetch trap.
29 # Without RVC, the jalr should trap, and the handler will skip ahead.
30 # With RVC, the jalr should not trap, and "j fail" should get skipped.
96 # Not-taken branches should not trap, even without RVC.
116 # tests 2, 4, 5, and 6 should trap
131 # verify trap cause
H A Dscall.S7 # Test syscall trap.
29 # This is the expected trap code.
H A Dsbreak.S7 # Test syscall trap.
H A Ddirty.S63 # Make sure that superpage entries trap when PPN LSBs are set.
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64mi/
H A Dbreakpoint.S16 # Set up breakpoint to trap on M-mode fetches.
43 # Make sure reads don't trap.
48 # Set up breakpoint to trap on M-mode reads.
63 # Make sure writes don't trap.
68 # Set up breakpoint to trap on M-mode stores.
121 # Only even-numbered tests should trap.
H A Dillegal.S7 # Test illegal instruction trap.
60 # Make sure WFI doesn't trap when TW=0.
67 # Make sure WFI does trap when TW=1.
71 # Make sure SFENCE.VMA and sptbr don't trap when TVM=0.
79 # Make sure SFENCE.VMA and sptbr do trap when TVM=1.
86 # Make sure SRET doesn't trap when TSR=0.
98 # Make sure SRET does trap when TSR=1.
H A Dma_addr.S7 # Test misaligned ld/st trap.
/gem5/src/cpu/o3/
H A Ddyn_inst_impl.hh189 BaseO3DynInst<Impl>::trap(const Fault &fault) function in class:BaseO3DynInst
191 this->cpu->trap(fault, this->threadNumber, this->staticInst);
H A Ddyn_inst.hh252 void trap(const Fault &fault);
H A Dcommit_impl.hh483 // Also check if any of the threads has a trap pending
530 DPRINTF(Commit, "Generating trap event for [tid:%i]\n", tid);
532 EventFunctionWrapper *trap = new EventFunctionWrapper( local
539 cpu->schedule(trap, cpu->clockEdge(latency));
596 DPRINTF(Commit, "Squashing from trap, restarting at PC %s\n", pc[tid]);
776 // Generate trap squash event.
792 // Don't propagate intterupts if we are currently handling a trap or
1212 // Check if the instruction caused a fault. If so, trap.
1243 // Mark that we're in state update mode so that the trap's
1247 // Execute the trap
[all...]
H A Dcpu.hh275 * If a thread is trying to exit and its corresponding trap event
318 void trap(const Fault &fault, ThreadID tid, const StaticInstPtr &inst);
H A Dcpu.cc907 this->trap(interrupt, 0, nullptr);
912 FullO3CPU<Impl>::trap(const Fault &fault, ThreadID tid, function in class:FullO3CPU
1778 // exit trap event is processed in the future. Until then, it'll be still
1796 // exit trap event has been processed. Now, the thread is ready to exit
/gem5/src/base/
H A Dremote_gdb.hh142 bool trap(int type);
143 bool breakpoint() { return trap(SIGTRAP); }
210 void process() { gdb->trap(_type); }
H A Dremote_gdb.cc193 gdb->trap(SIGTRAP);
423 BaseRemoteGDB::trap(int type) function in class:BaseRemoteGDB
429 DPRINTF(GDBMisc, "trap: PC=%s\n", tc->pcState());
435 * a breakpoint trap in kgdb_connect(), in which case we
500 warn("GDB trap event has already been scheduled!");
676 trap(SIGTRAP);
/gem5/src/arch/arm/insts/
H A Dstatic_inst.cc779 bool trap = false;
786 trap = isWfe? !sctlr.ntwe : !sctlr.ntwi;
789 trap = isWfe? hcr.twe : hcr.twi;
792 trap = isWfe? scr.twe : scr.twi;
798 return trap;
810 // target exception level (where the trap will be handled)
816 // Check if processor needs to trap at selected exception level
817 bool trap = isWFxTrapping(tc, targetEL, isWfe);
819 if (trap) {
849 // Check if processor needs to trap a
[all...]
H A Dmisc64.cc87 MiscRegOp64::trap(ThreadContext *tc, MiscRegIndex misc_reg, function in class:MiscRegOp64
380 Fault fault = trap(tc, miscReg, el, imm);
H A Dmisc64.hh132 Fault trap(ThreadContext *tc, MiscRegIndex misc_reg,

Completed in 32 milliseconds