Add v850e version of breakpoint instruction.

This commit is contained in:
Andrew Cagney 1997-09-16 02:15:55 +00:00
parent 3484de0091
commit 721478d51b
4 changed files with 34 additions and 5 deletions

View file

@ -1,3 +1,12 @@
Tue Sep 16 10:20:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
start-sanitize-v850e
* v850-dc: Add rule to diferentiate between breakpoint and divh.
* v850.igen (break): New instruction, breakpoint simulator.
end-sanitize-v850e
* v850.igen (breakpoint): Enable. Change to a 32bit instruction.
start-sanitize-v850e
Mon Sep 15 18:44:05 1997 Jim Wilson <wilson@cygnus.com>

View file

@ -108,11 +108,13 @@ clean-igen:
../igen/igen:
cd ../igen && $(MAKE)
IGEN_TRACE= # -G trace-rule-selection -G trace-rule-rejection -G trace-entries
IGEN_INSN=$(srcdir)/v850.igen
IGEN_DC=$(srcdir)/v850-dc
tmp-igen: $(IGEN_INSN) $(IGEN_DC) ../igen/igen
cd ../igen && $(MAKE)
../igen/igen \
$(IGEN_TRACE) \
-G gen-direct-access \
-i $(IGEN_INSN) \
-o $(IGEN_DC) \

View file

@ -30,3 +30,10 @@
# start-sanitize-v850eq
switch,combine : 4 : 0 : : : : 0 : III,IV,XIV : v850eq
# end-sanitize-v850eq
# start-sanitize-v850e
# for opcode 66
switch,combine : 4 : 0 : : : : 0 : I :
# end-sanitize-v850e

View file

@ -1214,11 +1214,22 @@ rrrrr,110101,RRRRR + iiiiiiiiiiiiiiii:VI:::xori
// end-sanitize-v850e
// Special - breakpoint
// 1111111111111111:Z:::breakpoint
// {
// COMPAT_2 (OP_FFFF ());
// }
// Special - breakpoint - illegal
// Hopefully, in the future, this instruction will go away
1111111111111111 + 1111111111111111:Z:::breakpoint
*v850
{
sim_engine_halt (SD, CPU, NULL, cia, sim_stopped, SIGTRAP);
}
// start-sanitize-v850e
// First field could be any nonzero value.
11111,000010,00000:I:::break
{
sim_engine_halt (SD, CPU, NULL, cia, sim_stopped, SIGTRAP);
}
// end-sanitize-v850e
// start-sanitize-v850eq