URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
#include "compat-common.h"
|
#include "compat-common.h"
|
|
|
#include "fp-struct-defs.h"
|
#include "fp-struct-defs.h"
|
#include "fp-struct-check.h"
|
#include "fp-struct-check.h"
|
#include "fp-struct-test-by-value-x.h"
|
#include "fp-struct-test-by-value-x.h"
|
|
|
DEFS(f, float)
|
DEFS(f, float)
|
CHECKS(f, float)
|
CHECKS(f, float)
|
|
|
TEST(Sf1, float)
|
TEST(Sf1, float)
|
TEST(Sf2, float)
|
TEST(Sf2, float)
|
TEST(Sf3, float)
|
TEST(Sf3, float)
|
TEST(Sf4, float)
|
TEST(Sf4, float)
|
TEST(Sf5, float)
|
TEST(Sf5, float)
|
TEST(Sf6, float)
|
TEST(Sf6, float)
|
TEST(Sf7, float)
|
TEST(Sf7, float)
|
TEST(Sf8, float)
|
TEST(Sf8, float)
|
|
|
#undef T
|
#undef T
|
|
|
void
|
void
|
struct_by_value_5a_x ()
|
struct_by_value_5a_x ()
|
{
|
{
|
DEBUG_INIT
|
DEBUG_INIT
|
|
|
#define T(TYPE, MTYPE) testit##TYPE ();
|
#define T(TYPE, MTYPE) testit##TYPE ();
|
|
|
T(Sf1, float)
|
T(Sf1, float)
|
T(Sf2, float)
|
T(Sf2, float)
|
T(Sf3, float)
|
T(Sf3, float)
|
T(Sf4, float)
|
T(Sf4, float)
|
T(Sf5, float)
|
T(Sf5, float)
|
T(Sf6, float)
|
T(Sf6, float)
|
T(Sf7, float)
|
T(Sf7, float)
|
T(Sf8, float)
|
T(Sf8, float)
|
|
|
DEBUG_FINI
|
DEBUG_FINI
|
|
|
if (fails != 0)
|
if (fails != 0)
|
abort ();
|
abort ();
|
|
|
#undef T
|
#undef T
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.