Allan McRae
d4697bc93d
Update copyright notices with scripts/update-copyrights
2014-01-01 22:00:23 +10:00
Adhemerval Zanella
2e973d9919
PowerPC: multiarch __ieee754_hypot[f] for PowerPC32
2013-12-06 05:47:05 -06:00
Adhemerval Zanella
2d9470b2ae
PowerPC: multiarch logb/logbf/logbl for PowerPC32
2013-12-06 05:47:05 -06:00
Adhemerval Zanella
5212ffce0e
PowerPC: multiarch modf/modff for PowerPC32
2013-12-06 05:47:05 -06:00
Adhemerval Zanella
79dccf31bf
PowerPC: multiarch lrint/lrintf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
deb6648026
PowerPC: multiarch lround/lrounf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
264b036bea
PowerPC: multiarch copysign/copysignf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
d47db6c906
PowerPC: multiarch trunc/truncf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
ddb60b5aa9
PowerPC: multiarch round/roundf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
bedcf49b45
PowerPC: multiarch floor/floorf for PowerPC32
2013-12-06 05:47:04 -06:00
Adhemerval Zanella
35ae5b40a4
PowerPC: multiarch ceil/ceilf for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
ae1a4cd9ff
PowerPC: multiarch finite/finitef for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
64fffd65d7
PowerPC: multiarch isinf/isinff for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
8e4e7ba2d7
PowerPC: multiarch isnan/isnanf for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
ddba588e2d
PowerPC: multiarch sqrt/sqrtf for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
0f96a2f0b5
PowerPC: multiarch llround/llroundf for PowerPC32
2013-12-06 05:47:03 -06:00
Adhemerval Zanella
c9b5d79e0c
PowerPC: multiarch llrint/llrintf for PowerPC32
2013-12-06 05:47:02 -06:00
Alan Modra
6a31fe7f9c
PowerPC floating point little-endian [13 of 15]
...
http://sourceware.org/ml/libc-alpha/2013-08/msg00088.html
* sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
constants to usual value for .cst8 section, and remove redundant
high address load.
* sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
constant for 0x1p52. Load little-endian words of double from
correct stack offsets.
2013-10-04 10:35:54 +09:30
Alan Modra
7b88401f3b
PowerPC floating point little-endian [12 of 15]
...
http://sourceware.org/ml/libc-alpha/2013-08/msg00087.html
Fixes for little-endian in 32-bit assembly.
* sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
* sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
words of double from correct stack offsets.
* sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
* sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
* sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
* sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
* sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
* sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
* sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
* sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
* sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
* sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
* sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
* sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
* sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2013-10-04 10:35:43 +09:30
Joseph Myers
9c84384cc1
Remove trailing whitespace.
2013-06-05 20:44:03 +00:00
Siddhesh Poyarekar
6d9145d817
Consolidate copies of mp code in powerpc
...
Retain a single copy of the mp code in power4 instead of the two
identical copies in powerpc32 and powerpc64.
2013-03-08 11:38:41 +05:30
Siddhesh Poyarekar
ce544b5bda
Merge powerpc slowexp.c into generic code
2013-03-07 13:25:02 +05:30
Siddhesh Poyarekar
4cc149fd8e
Merge powerpc slowpow.c into generic code
2013-03-07 13:23:07 +05:30
Siddhesh Poyarekar
e6ebd4a7d5
Use an intermediate variable to sum exponents in powerpc __mul and __sqr
2013-03-07 13:18:56 +05:30
Siddhesh Poyarekar
82a9811d29
Use generic mpa.c code for everything except __mul and __sqr
2013-03-07 12:23:29 +05:30
Siddhesh Poyarekar
8d19fe64ee
Sync up ppc add_magnitudes and sub_magnitudes with default code
2013-02-28 11:13:05 +05:30
Siddhesh Poyarekar
60f5a8b534
Sync up powerpc __mp_dbl with default code
2013-02-25 12:01:45 +05:30
Siddhesh Poyarekar
8094523147
Mark __inv as static in powerpc
2013-02-21 15:05:28 +05:30
Siddhesh Poyarekar
bab8a695ee
Fix whitespace differences between generic and powerpc mpa.c
2013-02-21 14:31:42 +05:30
Siddhesh Poyarekar
4c7a4263af
Mark ZERO inputs to __mul as unlikely on powerpc
...
Syncs up with generic code.
2013-02-21 12:17:29 +05:30
Siddhesh Poyarekar
20cd7fb3ae
Copy comment about inner loop from powerpc mpa.c to the default one
2013-02-20 18:56:20 +05:30
Siddhesh Poyarekar
cb57ce6031
Remove redundant return keyword
2013-02-14 15:43:25 +05:30
Siddhesh Poyarekar
d6752ccd69
New __sqr function as a faster special case of __mul
2013-02-14 10:31:09 +05:30
Andreas Schwab
ed689c2f74
Remove use of mpa2.h
2013-01-20 02:05:53 +01:00
Siddhesh Poyarekar
1066a53440
Fix code formatting in mpa.c
...
This includes the overridden mpa.c in power4.
2013-01-14 21:53:43 +05:30
Siddhesh Poyarekar
e34ab70550
Remove unnecessary local variable mptwo
2013-01-14 21:23:47 +05:30
Siddhesh Poyarekar
950c99ca90
Update comments in mpa.c
...
Fixed comment style and clearer wording in some cases.
2013-01-09 19:07:15 +05:30
Anton Blanchard
2ccdea26f2
Fix spelling errors in sysdeps/powerpc files.
2013-01-07 11:20:53 -06:00
Siddhesh Poyarekar
fffb407f46
Remove unused __cr and __cpymn
2013-01-04 22:52:12 +05:30
Siddhesh Poyarekar
b18decba11
Fix build failure on power4 processors
...
The power4-specific mpa.c depended on some global variables that were
removed by earlier patches. Also, it did not define mpone and mptwo.
2013-01-04 22:05:49 +05:30
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Joseph Myers
f4cf5f2d8b
Add script to update copyright notices and reformat some to facilitate its use.
2013-01-01 16:29:10 +00:00
Tulio Magno Quites Machado Filho
a88b64b9bb
[PowerPC] Remove -ftree-loop-linear from Makefiles
...
In the past the "-ftree-loop-linear" switch provided a measurable
improvement in performance for certain functions. At some point it
was assigned as the responsibility of Graphite in GCC. It has been
found that even with Graphite enabled these flags no longer perform
any appreciable improvement over the baseline.
Graphite now has some open bugs which need to be fixed in order for it
to provide measurable performance improvements but it lacks active
development. As a result some compiler distributors may disable
Graphite. If Graphite is disabled then building GLIBC will fail if
the "-ftree-loop-linear" switch is used.
This patch removes the use of "-ftree-loop-linear" as unnecessary.
2012-05-18 10:15:30 -05:00
Richard Henderson
1ed0291c31
Use <> for math.h and math_private.h everywhere.
...
Entire tree edited via find | grep | sed.
2012-03-09 16:09:10 -08:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Will Schmidt
91d2a8453f
Simplify code for accessing powerpc GOT
2011-12-17 15:07:31 -05:00
Jim Meyering
ded5b9b7c7
Remove doubled words.
2011-04-22 21:34:32 -04:00
Luis Machado
41288fbb78
Cleanup old obsolete PPC_REL16 checks
2010-02-12 07:55:01 -08:00
Andreas Schwab
3f241d7584
Fix cfa offset for saved registers in PPC sqrt implementations.
2009-06-24 11:36:57 -07:00
Ulrich Drepper
9ea8bfec35
* sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Avoid using
...
cr[34] registers.
* sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf): Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
Likewise.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Avoid using cr3
register.
2008-06-13 01:18:22 +00:00