This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] soft-fp: Fix overwritten issue for division in op-4.h
Joseph Myers <joseph@codesourcery.com> 於 2018年10月15日 週一 下午9:04寫道:
>
> On Mon, 15 Oct 2018, Joseph Myers wrote:
>
> > to be fixed. If that choice says the overlap above it not OK, a whole
> > four-word temporary should be defined using _FP_FRAC_DECL_4 for the
> > result, and then copied with _FP_FRAC_COPY_4. The commit message for any
>
> In fact, you don't need that copy from the temporary back to X, because
> the result is immediately used in a call to _FP_FRAC_SUB_4 which can
> become _FP_FRAC_SUB_4 (X, Y, _FP_DIV_MEAT_4_tmp).
>
Yes, I will use the full temporary replace with the shifted form if
overlay is not OK.