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 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997, 2009 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
|
||||
@ -25,4 +25,6 @@ __fmaf (float x, float y, float z)
|
||||
{
|
||||
return (x * y) + z;
|
||||
}
|
||||
#ifndef __fmaf
|
||||
weak_alias (__fmaf, fmaf)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user