mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Add support for x86-64 fma instruction.
Use it to implement fma and fmaf, if possible.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* Compute x * y + z as ternary operation.
|
||||
Copyright (C) 1997, 2001 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 2001, 2009 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
|
||||
@ -25,7 +25,9 @@ __fma (double x, double y, double z)
|
||||
{
|
||||
return (x * y) + z;
|
||||
}
|
||||
#ifndef __fma
|
||||
weak_alias (__fma, fma)
|
||||
#endif
|
||||
|
||||
#ifdef NO_LONG_DOUBLE
|
||||
strong_alias (__fma, __fmal)
|
||||
|
Reference in New Issue
Block a user