URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 313 |
Rev 384 |
/* Test AAPCS layout (VFP variant) */
|
/* Test AAPCS layout (VFP variant) */
|
|
|
/* { dg-do run { target arm*-*-eabi* } } */
|
/* { dg-do run { target arm*-*-eabi* } } */
|
/* { dg-require-effective-target arm_hard_vfp_ok } */
|
/* { dg-require-effective-target arm_hard_vfp_ok } */
|
/* { dg-require-effective-target arm32 } */
|
/* { dg-require-effective-target arm32 } */
|
/* { dg-options "-O -mfpu=vfp -mfloat-abi=hard" } */
|
/* { dg-options "-O -mfpu=vfp -mfloat-abi=hard" } */
|
|
|
#ifndef IN_FRAMEWORK
|
#ifndef IN_FRAMEWORK
|
#define VFP
|
#define VFP
|
#define TESTFILE "vfp4.c"
|
#define TESTFILE "vfp4.c"
|
|
|
__complex__ float x = 1.0f + 2.0fi;
|
__complex__ float x = 1.0f + 2.0fi;
|
#include "abitest.h"
|
#include "abitest.h"
|
#else
|
#else
|
ARG(float, 1.0f, S0)
|
ARG(float, 1.0f, S0)
|
ARG(__complex__ float, x, S1)
|
ARG(__complex__ float, x, S1)
|
ARG(float, 2.0f, S3)
|
ARG(float, 2.0f, S3)
|
ARG(double, 5.0, D2)
|
ARG(double, 5.0, D2)
|
LAST_ARG(int, 3, R0)
|
LAST_ARG(int, 3, R0)
|
#endif
|
#endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.