mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Fix qemu SIGFPE caused by division-by-zero due to underflow.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2673 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a85427b147
commit
80c27194a7
3 changed files with 29 additions and 14 deletions
|
@ -82,6 +82,9 @@ void do_drotrv (void);
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if HOST_LONG_BITS < 64
|
||||
void do_div (void);
|
||||
#endif
|
||||
#if TARGET_LONG_BITS > HOST_LONG_BITS
|
||||
void do_mult (void);
|
||||
void do_multu (void);
|
||||
|
@ -89,10 +92,12 @@ void do_madd (void);
|
|||
void do_maddu (void);
|
||||
void do_msub (void);
|
||||
void do_msubu (void);
|
||||
void do_ddiv (void);
|
||||
void do_ddivu (void);
|
||||
#endif
|
||||
#ifdef TARGET_MIPS64
|
||||
void do_ddiv (void);
|
||||
#if TARGET_LONG_BITS > HOST_LONG_BITS
|
||||
void do_ddivu (void);
|
||||
#endif
|
||||
void do_dmult (void);
|
||||
void do_dmultu (void);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue