Home
last modified time | relevance | path

Searched refs:newpc (Results 1 – 13 of 13) sorted by relevance

/netbsd/src/external/gpl3/gdb/dist/sim/cris/
Dcris-sim.h112 #define crisv32f_branch_taken(cpu, oldpc, newpc, taken) \ argument
120 #define crisv32f_branch_taken(cpu, oldpc, newpc, taken) argument
123 #define crisv10f_branch_taken(cpu, oldpc, newpc, taken) argument
/netbsd/src/sys/arch/alpha/alpha/
Ddb_interface.c546 db_addr_t newpc; in db_branch_taken() local
554 newpc = db_register_value(regs, insn.jump_format.rb) & ~3; in db_branch_taken()
578 newpc = (pc + 4) + (signed_immediate << 2); in db_branch_taken()
583 newpc = pc; /* XXX */ in db_branch_taken()
586 return (newpc); in db_branch_taken()
/netbsd/src/external/gpl3/gdb/dist/sim/microblaze/
Dinterp.c130 unsigned_4 oldpc, newpc; in sim_engine_run() local
218 newpc = PC; in sim_engine_run()
277 PC = newpc; in sim_engine_run()
/netbsd/src/external/gpl3/gdb/dist/sim/bfin/
Ddv-bfin_cec.c686 bu32 oldpc, newpc; in cec_return() local
752 newpc = cec_read_ret_reg (cpu, ivg); in cec_return()
755 snen = (newpc & 1); in cec_return()
757 SET_PCREG (newpc & ~1); in cec_return()
Dbfin-sim.c1779 bu32 newpc = RETSREG; in decode_ProgCtrl_0() local
1782 IFETCH_CHECK (newpc); in decode_ProgCtrl_0()
1785 BFIN_TRACE_BRANCH (cpu, pc, newpc, -1, "RTS"); in decode_ProgCtrl_0()
1786 SET_PCREG (newpc); in decode_ProgCtrl_0()
1802 bu32 newpc = RETXREG; in decode_ProgCtrl_0() local
1806 IFETCH_CHECK (newpc); in decode_ProgCtrl_0()
1814 bu32 newpc = RETNREG; in decode_ProgCtrl_0() local
1818 IFETCH_CHECK (newpc); in decode_ProgCtrl_0()
1899 bu32 newpc = PREG (poprnd); in decode_ProgCtrl_0() local
1902 IFETCH_CHECK (newpc); in decode_ProgCtrl_0()
[all …]
Dbfin-sim.h381 #define BFIN_TRACE_BRANCH(cpu, oldpc, newpc, hwloop, fmt, ...) \ argument
383 TRACE_BRANCH (cpu, fmt " to %#x", ## __VA_ARGS__, newpc); \
385 bfin_trace_queue (cpu, oldpc, newpc, hwloop); \
Dmachs.c1914 bfin_pc_set (SIM_CPU *cpu, sim_cia newpc) in bfin_pc_set() argument
1916 SET_PCREG (newpc); in bfin_pc_set()
/netbsd/src/external/mit/lua/dist/src/
Dldebug.c851 static int changedline (const Proto *p, int oldpc, int newpc) { in changedline() argument
854 if (newpc - oldpc < MAXIWTHABS / 2) { /* not too far apart? */ in changedline()
862 if (pc == newpc) in changedline()
868 return (luaG_getfuncline(p, oldpc) != luaG_getfuncline(p, newpc)); in changedline()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dcris-tdep.c2776 unsigned long newpc; in none_reg_mode_jump_op() local
2792 newpc = in none_reg_mode_jump_op()
2800 newpc = read_memory_unsigned_integer (address, in none_reg_mode_jump_op()
2809 inst_env->reg[REG_PC] = newpc; in none_reg_mode_jump_op()
/netbsd/src/external/gpl3/binutils/dist/cpu/
Dcris.cpu3064 ((SI newpc) (SI oldpc) (SI offs))
3067 (set newpc (add SI oldpc offs))
3068 (set pc newpc)
3069 (setf-arit SI add oldpc offs newpc cbit))
3115 ((SI newpc) (SI oldpc) (HI offs))
3123 (set newpc (add SI oldpc offs))
3124 (set pc newpc)
3125 (setf-arit SI add oldpc (ext SI offs) newpc cbit))
4382 ((SI newpc) (SI oldpc) (SI offs))
4385 (set newpc (add SI oldpc offs))
[all …]
Dm32c.cpu7910 (sequence ((SI newpc))
7914 (set newpc (mem16 HI (reg h-sp)))
7916 (set newpc (or newpc (sll (mem16 QI (reg h-sp)) (const 16))))
7918 (set pc newpc)))
7928 (sequence ((SI newpc))
7932 (set newpc (mem32 SI (reg h-sp)))
7934 (set pc newpc)))
/netbsd/src/external/gpl3/gdb/dist/cpu/
Dcris.cpu3064 ((SI newpc) (SI oldpc) (SI offs))
3067 (set newpc (add SI oldpc offs))
3068 (set pc newpc)
3069 (setf-arit SI add oldpc offs newpc cbit))
3115 ((SI newpc) (SI oldpc) (HI offs))
3123 (set newpc (add SI oldpc offs))
3124 (set pc newpc)
3125 (setf-arit SI add oldpc (ext SI offs) newpc cbit))
4382 ((SI newpc) (SI oldpc) (SI offs))
4385 (set newpc (add SI oldpc offs))
[all …]
Dm32c.cpu7910 (sequence ((SI newpc))
7914 (set newpc (mem16 HI (reg h-sp)))
7916 (set newpc (or newpc (sll (mem16 QI (reg h-sp)) (const 16))))
7918 (set pc newpc)))
7928 (sequence ((SI newpc))
7932 (set newpc (mem32 SI (reg h-sp)))
7934 (set pc newpc)))