summaryrefslogtreecommitdiffstats
path: root/post/lib_powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'post/lib_powerpc')
-rw-r--r--post/lib_powerpc/fpu/20001122-1.c4
-rw-r--r--post/lib_powerpc/fpu/20010114-2.c4
-rw-r--r--post/lib_powerpc/fpu/20010226-1.c4
-rw-r--r--post/lib_powerpc/fpu/980619-1.c4
-rw-r--r--post/lib_powerpc/fpu/acc1.c4
-rw-r--r--post/lib_powerpc/fpu/compare-fp-1.c4
-rw-r--r--post/lib_powerpc/fpu/fpu.c4
-rw-r--r--post/lib_powerpc/fpu/mul-subnormal-single-1.c4
8 files changed, 16 insertions, 16 deletions
diff --git a/post/lib_powerpc/fpu/20001122-1.c b/post/lib_powerpc/fpu/20001122-1.c
index bef80c5f79..4af300d880 100644
--- a/post/lib_powerpc/fpu/20001122-1.c
+++ b/post/lib_powerpc/fpu/20001122-1.c
@@ -28,10 +28,10 @@
#include <post.h>
-#if CONFIG_POST & CONFIG_SYS_POST_FPU
-
GNU_FPOST_ATTR
+#if CONFIG_POST & CONFIG_SYS_POST_FPU
+
int fpu_post_test_math1 (void)
{
volatile double a, *p;
diff --git a/post/lib_powerpc/fpu/20010114-2.c b/post/lib_powerpc/fpu/20010114-2.c
index ee564e8d62..dab4d7e590 100644
--- a/post/lib_powerpc/fpu/20010114-2.c
+++ b/post/lib_powerpc/fpu/20010114-2.c
@@ -28,10 +28,10 @@
#include <post.h>
-#if CONFIG_POST & CONFIG_SYS_POST_FPU
-
GNU_FPOST_ATTR
+#if CONFIG_POST & CONFIG_SYS_POST_FPU
+
static float rintf (float x)
{
volatile float TWO23 = 8388608.0;
diff --git a/post/lib_powerpc/fpu/20010226-1.c b/post/lib_powerpc/fpu/20010226-1.c
index 099ca4a64f..c644bc97ae 100644
--- a/post/lib_powerpc/fpu/20010226-1.c
+++ b/post/lib_powerpc/fpu/20010226-1.c
@@ -28,10 +28,10 @@
#include <post.h>
-#if CONFIG_POST & CONFIG_SYS_POST_FPU
-
GNU_FPOST_ATTR
+#if CONFIG_POST & CONFIG_SYS_POST_FPU
+
int fpu_post_test_math3 (void)
{
volatile long double dfrom = 1.1;
diff --git a/post/lib_powerpc/fpu/980619-1.c b/post/lib_powerpc/fpu/980619-1.c
index 46a31aec45..0c195c1e52 100644
--- a/post/lib_powerpc/fpu/980619-1.c
+++ b/post/lib_powerpc/fpu/980619-1.c
@@ -28,10 +28,10 @@
#include <post.h>
-#if CONFIG_POST & CONFIG_SYS_POST_FPU
-
GNU_FPOST_ATTR
+#if CONFIG_POST & CONFIG_SYS_POST_FPU
+
int fpu_post_test_math4 (void)
{
volatile float reale = 1.0f;
diff --git a/post/lib_powerpc/fpu/acc1.c b/post/lib_powerpc/fpu/acc1.c
index 9fca9b3788..4dc1362fec 100644
--- a/post/lib_powerpc/fpu/acc1.c
+++ b/post/lib_powerpc/fpu/acc1.c
@@ -28,10 +28,10 @@
#include <post.h>
-#if CONFIG_POST & CONFIG_SYS_POST_FPU
-
GNU_FPOST_ATTR
+#if CONFIG_POST & CONFIG_SYS_POST_FPU
+
static double func (const double *array)
{
double d = *array;
diff --git a/post/lib_powerpc/fpu/compare-fp-1.c b/post/lib_powerpc/fpu/compare-fp-1.c
index f836b29c08..a0859f874b 100644
--- a/post/lib_powerpc/fpu/compare-fp-1.c
+++ b/post/lib_powerpc/fpu/compare-fp-1.c
@@ -30,10 +30,10 @@
#include <post.h>
-#if CONFIG_POST & CONFIG_SYS_POST_FPU
-
GNU_FPOST_ATTR
+#if CONFIG_POST & CONFIG_SYS_POST_FPU
+
static int failed;
#define TEST(c) if ((c) != ok) failed++
diff --git a/post/lib_powerpc/fpu/fpu.c b/post/lib_powerpc/fpu/fpu.c
index 3f3adea197..a4369f13ef 100644
--- a/post/lib_powerpc/fpu/fpu.c
+++ b/post/lib_powerpc/fpu/fpu.c
@@ -36,12 +36,12 @@
#include <post.h>
+GNU_FPOST_ATTR
+
#if CONFIG_POST & CONFIG_SYS_POST_FPU
#include <watchdog.h>
-GNU_FPOST_ATTR
-
extern int fpu_status (void);
extern void fpu_enable (void);
extern void fpu_disable (void);
diff --git a/post/lib_powerpc/fpu/mul-subnormal-single-1.c b/post/lib_powerpc/fpu/mul-subnormal-single-1.c
index 1f3732d924..23a3f302e8 100644
--- a/post/lib_powerpc/fpu/mul-subnormal-single-1.c
+++ b/post/lib_powerpc/fpu/mul-subnormal-single-1.c
@@ -30,10 +30,10 @@
#include <post.h>
-#if CONFIG_POST & CONFIG_SYS_POST_FPU
-
GNU_FPOST_ATTR
+#if CONFIG_POST & CONFIG_SYS_POST_FPU
+
union uf
{
unsigned int u;
OpenPOWER on IntegriCloud