https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113604

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
x86 in include/longlong.h defines udiv_qrnnd as:

#define udiv_qrnnd(q, r, n1, n0, dv) \
  __asm__ ("div{l} %4"                                                  \
           : "=a" ((USItype) (q)),                                      \
             "=d" ((USItype) (r))                                       \
           : "0" ((USItype) (n0)),                                      \
             "1" ((USItype) (n1)),                                      \
             "rm" ((USItype) (dv)))

(gdb) p/x uv1
$2 = 0xffffffffffffffff
(gdb) p/x uv0
$3 = 0xffff800003e00001
(gdb) p/x vv1
$4 = 0xffffffffffffffff


I have no idea why we are getting a FP exception here though.

Reply via email to