[PATCH 1/2] soft-fp: Fix overwritten issue for division in op-4.h
Zong Li
zongbox@gmail.com
Mon Oct 15 18:26:00 GMT 2018
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.
More information about the Libc-alpha
mailing list