* merge from internal tree
2000-04-14 Gary Thomas <gthomas@redhat.com> * v850.igen: Define 'br *' as illegal since this is the only way to provide a breakpoint on some v850 family processors.
This commit is contained in:
parent
e245aa6b05
commit
b9791fcdd6
@ -1,3 +1,8 @@
|
||||
2000-04-14 Gary Thomas <gthomas@redhat.com>
|
||||
|
||||
* v850.igen: Define 'br *' as illegal since this is the only
|
||||
way to provide a breakpoint on some v850 family processors.
|
||||
|
||||
2000-03-24 Frank Ch. Eigler <fche@redhat.com>
|
||||
|
||||
* v850.igen (ilgop): New insn pattern for four-byte breakpoints.
|
||||
|
@ -144,10 +144,16 @@ rrrrr,110110,RRRRR + iiiiiiiiiiiiiiii:VI:::andi
|
||||
ddddd,1011,ddd,cccc:III:::Bcond
|
||||
"b%s<cccc> <disp9>"
|
||||
{
|
||||
int cond = condition_met (cccc);
|
||||
if (cond)
|
||||
nia = cia + disp9;
|
||||
TRACE_BRANCH1 (cond);
|
||||
int cond;
|
||||
if ((ddddd == 0x00) && (ddd == 0x00) && (cccc == 0x05)) {
|
||||
// Special case - treat "br *" like illegal instruction
|
||||
sim_engine_halt (SD, CPU, NULL, cia, sim_stopped, SIM_SIGTRAP);
|
||||
} else {
|
||||
cond = condition_met (cccc);
|
||||
if (cond)
|
||||
nia = cia + disp9;
|
||||
TRACE_BRANCH1 (cond);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1158,6 +1164,11 @@ rrrrr,110101,RRRRR + iiiiiiiiiiiiiiii:VI:::xori
|
||||
sim_engine_halt (SD, CPU, NULL, cia, sim_stopped, SIM_SIGTRAP);
|
||||
}
|
||||
|
||||
// True illegal instruction
|
||||
00000,111111,00000 + 00000,11111,100000:X:::ilgop
|
||||
{
|
||||
sim_engine_halt (SD, CPU, NULL, cia, sim_stopped, SIM_SIGTRAP);
|
||||
}
|
||||
|
||||
|
||||
// DIVHN
|
||||
|
Loading…
Reference in New Issue
Block a user