aarch64: Don't use K&R C

This commit is contained in:
Marcus Shawcroft 2012-11-20 23:06:26 +00:00
parent e0ba0e189a
commit 5e543752f1
6 changed files with 13 additions and 13 deletions

View File

@ -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.

View 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"

View File

@ -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"

View File

@ -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" :

View File

@ -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;

View File

@ -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"