Moved from soft-fp/sysdeps/powerpc/q_util.c