OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [test-code-or1k/] [inst-set-test/] [Makefile.am] - Blame information for rev 699

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 107 jeremybenn
# Makefile.am for or1ksim instruction set test programs:
2 90 jeremybenn
 
3
# Copyright (C) Embecosm Limited, 2010
4
 
5
# Contributor Jeremy Bennett 
6
 
7
# This file is part of OpenRISC 1000 Architectural Simulator.
8
 
9
# This program is free software; you can redistribute it and/or modify it
10
# under the terms of the GNU General Public License as published by the Free
11
# Software Foundation; either version 3 of the License, or (at your option)
12
# any later version.
13
 
14
# This program is distributed in the hope that it will be useful, but WITHOUT
15
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
17
# more details.
18
 
19
# You should have received a copy of the GNU General Public License along
20
# with this program.  If not, see .  */
21
 
22
# -----------------------------------------------------------------------------
23
# This code is commented throughout for use with Doxygen.
24
# -----------------------------------------------------------------------------
25
 
26
 
27 107 jeremybenn
# Tests of the instruction set. Broken out into separate tests, to avoid them
28
# getting too large. The original instruction set test is still here, but not
29
# built by default.
30 112 jeremybenn
EXTRA_DIST = inst-set-test.ld
31 107 jeremybenn
 
32 90 jeremybenn
if BUILD_ALL_TESTS
33 107 jeremybenn
INST_SET_TEST_OLD = inst-set-test-old
34
else
35
INST_SET_TEST_OLD =
36 90 jeremybenn
endif
37
 
38 107 jeremybenn
# Support library for use when testing the instruction set.
39
check_LTLIBRARIES           = libinst-set-test.la
40 90 jeremybenn
 
41 107 jeremybenn
libinst_set_test_la_SOURCES = inst-set-test.S
42 90 jeremybenn
 
43 107 jeremybenn
# The test programs
44 112 jeremybenn
check_PROGRAMS = is-add-test          \
45 124 jeremybenn
                 is-and-test          \
46 112 jeremybenn
                 is-div-test          \
47 115 jeremybenn
                 is-find-test         \
48 121 jeremybenn
                 is-jump-test         \
49 118 jeremybenn
                 is-lws-test          \
50 116 jeremybenn
                 is-mac-test          \
51 118 jeremybenn
                 is-mul-test          \
52 124 jeremybenn
                 is-or-test           \
53 122 jeremybenn
                 is-ror-test          \
54 124 jeremybenn
                 is-shift-test        \
55 123 jeremybenn
                 is-spr-test          \
56 124 jeremybenn
                 is-sub-test          \
57
                 is-xor-test          \
58 107 jeremybenn
                 $(INST_SET_TEST_OLD)
59
 
60
# The new instruction set tests.
61 124 jeremybenn
is_add_test_SOURCES   = inst-set-test.h \
62
                        is-add-test.S
63
is_add_test_LDFLAGS   = -T$(srcdir)/inst-set-test.ld
64
is_add_test_LDADD     = inst-set-test.lo
65 112 jeremybenn
 
66 124 jeremybenn
is_and_test_SOURCES   = inst-set-test.h \
67
                        is-and-test.S
68
is_and_test_LDFLAGS   = -T$(srcdir)/inst-set-test.ld
69
is_and_test_LDADD     = inst-set-test.lo
70 107 jeremybenn
 
71 124 jeremybenn
is_div_test_SOURCES   = inst-set-test.h \
72
                        is-div-test.S
73
is_div_test_LDFLAGS   = -T$(srcdir)/inst-set-test.ld
74
is_div_test_LDADD     = inst-set-test.lo
75 107 jeremybenn
 
76 124 jeremybenn
is_find_test_SOURCES  = inst-set-test.h \
77
                        is-find-test.S
78
is_find_test_LDFLAGS  = -T$(srcdir)/inst-set-test.ld
79
is_find_test_LDADD    = inst-set-test.lo
80 121 jeremybenn
 
81 124 jeremybenn
is_jump_test_SOURCES  = inst-set-test.h \
82
                        is-jump-test.S
83
is_jump_test_LDFLAGS  = -T$(srcdir)/inst-set-test.ld
84
is_jump_test_LDADD    = inst-set-test.lo
85 118 jeremybenn
 
86 124 jeremybenn
is_lws_test_SOURCES   = inst-set-test.h \
87
                        is-lws-test.S
88
is_lws_test_LDFLAGS   = -T$(srcdir)/inst-set-test.ld
89
is_lws_test_LDADD     = inst-set-test.lo
90 116 jeremybenn
 
91 124 jeremybenn
is_mac_test_SOURCES   = inst-set-test.h \
92
                        is-mac-test.S
93
is_mac_test_LDFLAGS   = -T$(srcdir)/inst-set-test.ld
94
is_mac_test_LDADD     = inst-set-test.lo
95 115 jeremybenn
 
96 124 jeremybenn
is_mul_test_SOURCES   = inst-set-test.h \
97
                        is-mul-test.S
98
is_mul_test_LDFLAGS   = -T$(srcdir)/inst-set-test.ld
99
is_mul_test_LDADD     = inst-set-test.lo
100 122 jeremybenn
 
101 124 jeremybenn
is_or_test_SOURCES    = inst-set-test.h \
102
                        is-or-test.S
103
is_or_test_LDFLAGS    = -T$(srcdir)/inst-set-test.ld
104
is_or_test_LDADD      = inst-set-test.lo
105 123 jeremybenn
 
106 124 jeremybenn
is_ror_test_SOURCES   = inst-set-test.h \
107
                        is-ror-test.S
108
is_ror_test_LDFLAGS   = -T$(srcdir)/inst-set-test.ld
109
is_ror_test_LDADD     = inst-set-test.lo
110
 
111
is_shift_test_SOURCES = inst-set-test.h \
112
                         is-shift-test.S
113
is_shift_test_LDFLAGS = -T$(srcdir)/inst-set-test.ld
114
is_shift_test_LDADD   = inst-set-test.lo
115
 
116
is_spr_test_SOURCES   = inst-set-test.h \
117
                        is-spr-test.S
118
is_spr_test_LDFLAGS   = -T$(srcdir)/inst-set-test.ld
119
is_spr_test_LDADD     = inst-set-test.lo
120
 
121
is_sub_test_SOURCES   = inst-set-test.h \
122
                        is-sub-test.S
123
is_sub_test_LDFLAGS   = -T$(srcdir)/inst-set-test.ld
124
is_sub_test_LDADD     = inst-set-test.lo
125
 
126
is_xor_test_SOURCES   = inst-set-test.h \
127
                        is-xor-test.S
128
is_xor_test_LDFLAGS   = -T$(srcdir)/inst-set-test.ld
129
is_xor_test_LDADD     = inst-set-test.lo
130
 
131 107 jeremybenn
# The old test which builds with warnings and runs with errors
132
inst_set_test_old_SOURCES = inst-set-test-old.c
133
 
134
inst_set_test_old_LDFLAGS = -T$(srcdir)/../default.ld
135
 
136
inst_set_test_old_LDADD   = ../except/except.lo      \
137
                            ../support/libsupport.la

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.