diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-09-03 12:52:01 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2009-09-03 12:52:01 +0200 |
commit | 821ebb33e4e3b082b5d1d92b35fa3a9525dc43ce (patch) | |
tree | 1b810f3a6554282e9c61d0c416a0bf2eeed17d2b /target-microblaze/translate.c | |
parent | ee7dbcf8344d826263ccedf57323c4d198a2113f (diff) |
microblaze: Trap on divizions by zero.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-microblaze/translate.c')
-rw-r--r-- | target-microblaze/translate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index acf3f8db5d..4fbe86a9a9 100644 --- a/target-microblaze/translate.c +++ b/target-microblaze/translate.c @@ -616,7 +616,6 @@ static void dec_div(DisasContext *dc) t_gen_raise_exception(dc, EXCP_HW_EXCP); } - /* FIXME: support div by zero exceptions. */ if (u) gen_helper_divu(cpu_R[dc->rd], *(dec_alu_op_b(dc)), cpu_R[dc->ra]); else |