mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
aarch64: Don't use K&R C
This commit is contained in:
parent
e0ba0e189a
commit
5e543752f1
@ -1,3 +1,11 @@
|
||||
2012-11-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
||||
|
||||
* sysdeps/aarch64/fpu/s_fma.c (__CONCATX): Don't use K&R.
|
||||
* sysdeps/aarch64/fpu/s_fmin.c (__CONCATX): Likewise.
|
||||
* sysdeps/aarch64/fpu/s_lrint.c (__CONCATX): Likewise.
|
||||
* sysdeps/aarch64/fpu/s_lround.c (__CONCATX): Likewise.
|
||||
* sysdeps/aarch64/fpu/s_frint.x (__CONCATX): Likewise.
|
||||
|
||||
2012-11-19 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
||||
|
||||
* sysdeps/aarch64/fpu/s_ceil.c: New file.
|
||||
|
@ -34,10 +34,7 @@
|
||||
#define __CONCATX(a,b) __CONCAT(a,b)
|
||||
|
||||
TYPE
|
||||
__CONCATX(__,FUNC) (x, y, z)
|
||||
TYPE x;
|
||||
TYPE y;
|
||||
TYPE z;
|
||||
__CONCATX(__,FUNC) (TYPE x, TYPE y, TYPE z)
|
||||
{
|
||||
TYPE result;
|
||||
asm ( "fmadd" "\t%" REGS "0, %" REGS "1, %" REGS "2, %" REGS "3"
|
||||
|
@ -38,9 +38,7 @@
|
||||
#define __CONCATX(a,b) __CONCAT(a,b)
|
||||
|
||||
TYPE
|
||||
__CONCATX(__,FUNC) (x, y)
|
||||
TYPE x;
|
||||
TYPE y;
|
||||
__CONCATX(__,FUNC) (TYPE x, TYPE y)
|
||||
{
|
||||
TYPE result;
|
||||
asm ( INSN "\t%" REGS "0, %" REGS "1, %" REGS "2"
|
||||
|
@ -38,8 +38,7 @@
|
||||
#define __CONCATX(a,b) __CONCAT(a,b)
|
||||
|
||||
TYPE
|
||||
__CONCATX(__,FUNC) (x)
|
||||
TYPE x;
|
||||
__CONCATX(__,FUNC) (TYPE x)
|
||||
{
|
||||
TYPE result;
|
||||
asm ( INSN "\t%" REGS "0, %" REGS "1" :
|
||||
|
@ -40,8 +40,7 @@
|
||||
#define __CONCATX(a,b) __CONCAT(a,b)
|
||||
|
||||
OTYPE
|
||||
__CONCATX(__,FUNC) (x)
|
||||
ITYPE x;
|
||||
__CONCATX(__,FUNC) (ITYPE x)
|
||||
{
|
||||
OTYPE result;
|
||||
ITYPE temp;
|
||||
|
@ -40,8 +40,7 @@
|
||||
#define __CONCATX(a,b) __CONCAT(a,b)
|
||||
|
||||
OTYPE
|
||||
__CONCATX(__,FUNC) (x)
|
||||
ITYPE x;
|
||||
__CONCATX(__,FUNC) (ITYPE x)
|
||||
{
|
||||
OTYPE result;
|
||||
asm ( "fcvtas" "\t%" OREGS "0, %" IREGS "1"
|
||||
|
Loading…
Reference in New Issue
Block a user