# Makefile.am for or1ksim testsuite CPU test program: testsoftfloat, testfloat
|
# Makefile.am for or1ksim testsuite CPU test program: testsoftfloat, testfloat
|
|
|
# Copyright (C) ORSoC AB, 2010
|
# Copyright (C) ORSoC AB, 2010
|
|
|
# Contributor Julius Baxter
|
# Contributor Julius Baxter
|
|
|
# This file is part of OpenRISC 1000 Architectural Simulator.
|
# This file is part of OpenRISC 1000 Architectural Simulator.
|
|
|
# This program is free software; you can redistribute it and/or modify it
|
# This program is free software; you can redistribute it and/or modify it
|
# under the terms of the GNU General Public License as published by the Free
|
# under the terms of the GNU General Public License as published by the Free
|
# Software Foundation; either version 3 of the License, or (at your option)
|
# Software Foundation; either version 3 of the License, or (at your option)
|
# any later version.
|
# any later version.
|
|
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
# more details.
|
# more details.
|
|
|
# You should have received a copy of the GNU General Public License along
|
# You should have received a copy of the GNU General Public License along
|
# with this program. If not, see . */
|
# with this program. If not, see . */
|
|
|
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
# This code is commented throughout for use with Doxygen.
|
# This code is commented throughout for use with Doxygen.
|
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
|
|
|
|
# A test program of the OR1K Ethernet
|
# A test program of the OR1K Ethernet
|
check_PROGRAMS = testsoftfloat testfloat
|
check_PROGRAMS = testsoftfloat testfloat
|
|
|
common_testfloat_sources = milieu.h \
|
common_testfloat_sources = milieu.h \
|
or1k-gcc.h \
|
or1k-gcc.h \
|
fail.h \
|
fail.h \
|
fail.c \
|
fail.c \
|
random.h \
|
random.h \
|
random.c \
|
random.c \
|
writeHex.h \
|
writeHex.h \
|
writeHex.c \
|
writeHex.c \
|
softfloat.h \
|
softfloat.h \
|
softfloat.c \
|
softfloat.c \
|
testCases.h \
|
testCases.h \
|
testCases.c \
|
testCases.c \
|
testLoops.h \
|
testLoops.h \
|
testLoops.c
|
testLoops.c
|
|
|
testsoftfloat_SOURCES = $(common_testfloat_sources) \
|
testsoftfloat_SOURCES = $(common_testfloat_sources) \
|
slowfloat.h \
|
slowfloat.h \
|
slowfloat.c \
|
slowfloat.c \
|
testsoftfloat.c
|
testsoftfloat.c
|
|
|
testsoftfloat_CFLAGS = -O3
|
testsoftfloat_CFLAGS = -O3
|
testsoftfloat_LDFLAGS = -T$(srcdir)/../default.ld -lgcc
|
testsoftfloat_LDFLAGS = -T$(srcdir)/../default.ld -lgcc
|
|
|
testsoftfloat_LDADD = ../except/except.lo \
|
testsoftfloat_LDADD = ../except/except.lo \
|
../support/libsupport.la
|
../support/libsupport.la
|
|
|
testfloat_SOURCES = $(common_testfloat_sources) \
|
testfloat_SOURCES = $(common_testfloat_sources) \
|
systmodes.h \
|
systmodes.h \
|
systmodes.c \
|
systmodes.c \
|
systflags.h \
|
systflags.h \
|
systflags.c \
|
systflags.c \
|
systfloat.h \
|
systfloat.h \
|
systfloat.S \
|
systfloat.S \
|
testFunction.h \
|
testFunction.h \
|
testFunction.c \
|
testFunction.c \
|
testfloat.c
|
testfloat.c
|
testfloat_CFLAGS = -O2
|
testfloat_CFLAGS = -O2
|
testfloat_LDFLAGS = -T$(srcdir)/../default.ld -lgcc
|
testfloat_LDFLAGS = -T$(srcdir)/../default.ld -lgcc
|
|
|
testfloat_LDADD = ../except/except.lo \
|
testfloat_LDADD = ../except/except.lo \
|
../support/libsupport.la
|
../support/libsupport.la
|
|
|
|
|