summaryrefslogtreecommitdiffstats
path: root/sim/v850/v850.igen
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-09-16 02:15:55 +0000
committerAndrew Cagney <cagney@redhat.com>1997-09-16 02:15:55 +0000
commit721478d51bd4574ab5de91fb09003325c6f15b69 (patch)
tree9ca0aa3a87e9483b10d722bf7a429f20689547b6 /sim/v850/v850.igen
parent3484de0091d31d5f51ec9f3a9718820fe2892156 (diff)
downloadppe42-binutils-721478d51bd4574ab5de91fb09003325c6f15b69.tar.gz
ppe42-binutils-721478d51bd4574ab5de91fb09003325c6f15b69.zip
Add v850e version of breakpoint instruction.
Diffstat (limited to 'sim/v850/v850.igen')
-rw-r--r--sim/v850/v850.igen21
1 files changed, 16 insertions, 5 deletions
diff --git a/sim/v850/v850.igen b/sim/v850/v850.igen
index b938b0aa85..93bf0b7652 100644
--- a/sim/v850/v850.igen
+++ b/sim/v850/v850.igen
@@ -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
OpenPOWER on IntegriCloud