[PATCH] x86: Clean up and improve FPU inline assembly

Joseph Myers josmyers@redhat.com
Fri Sep 19 18:46:35 GMT 2025


On Fri, 19 Sep 2025, Adhemerval Zanella Netto wrote:

> On 19/09/25 11:05, Uros Bizjak wrote:
> > Clean up and improve x86 FPU inline assembly:
> > 
> >   * Remove obsolete "*&" GCC asm memory operand workaround
> > 
> >   * Use %v prefix to emit VEX prefixed insns for AVX targets
> > 
> >   * Use \t and \n\t separators consistently
> 
> I think this is not a really profitable change, it does not change
> code generation and makes the history a bit harder to follow.
> 
> > 
> > Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
> 
> For the long double implementation we may also check if the assembly
> ones are still better than the generic ones.

Generic implementations for ldbl-96 mostly don't exist where there are 
architecture-specific ones.

-- 
Joseph S. Myers
josmyers@redhat.com



More information about the Libc-alpha mailing list