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

--- Comment #9 from Peter Bergner <bergner at gcc dot gnu.org> ---
So the problem is that the splitter for vsx_div_v2di unconditionally calls
gen_divdi3() , which assumes we have a 64-bit integer HW div insn.  If you do a
scalar 64-bit div, we notice we don't have that HW insn and expand calls the
__divdi3 library function.  Maybe in gen_divdi3() we could detect whether we
need to do that same?  I'll see if I can come up with something.

Reply via email to