This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH 1/2] soft-fp: Fix overwritten issue for division in op-4.h
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).
Joseph S. Myers