~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Will Newton
  • Date: 2013-04-30 14:31:08 UTC
  • Revision ID: will.newton@linaro.org-20130430143108-ww31c741wek8dnus
Split bionic reference code into A15 and A9 versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
 
172
172
if WITH_NEON
173
173
# Pull in the NEON specific files
174
 
neon_bionic_sources = \
175
 
        reference/bionic/memcpy.S
 
174
neon_bionic_a9_sources = \
 
175
        reference/bionic-a9/memcpy.S \
 
176
        reference/bionic-a9/memset.S
 
177
neon_bionic_a15_sources = \
 
178
        reference/bionic-a15/memcpy.S \
 
179
        reference/bionic-a15/memset.S
176
180
fpu_flags = -mfpu=neon
177
181
else
178
182
if WITH_VFP
184
188
 
185
189
# Benchmarks and example programs
186
190
noinst_PROGRAMS += \
187
 
        try-bionic \
 
191
        try-bionic-a9 \
 
192
        try-bionic-a15 \
188
193
        try-csl \
189
194
        try-glibc \
190
195
        try-newlib \
192
197
 
193
198
# Libraries used in the benchmarks and examples
194
199
noinst_LIBRARIES += \
195
 
        libbionic.a \
 
200
        libbionic-a9.a \
 
201
        libbionic-a15.a \
196
202
        libcsl.a \
197
203
        libglibc.a \
198
204
        libnewlib.a \
208
214
        src/linaro-a9/memcpy.S
209
215
 
210
216
# Libraries containing the difference reference versions
211
 
libbionic_a_SOURCES = \
212
 
        $(neon_bionic_sources) \
213
 
        reference/bionic/memcmp.S \
214
 
        reference/bionic/memset.S \
215
 
        reference/bionic/strcmp.S \
216
 
        reference/bionic/strcpy.S \
217
 
        reference/bionic/strlen.c
218
 
 
219
 
libbionic_a_CFLAGS = -Wa,-mimplicit-it=thumb
 
217
libbionic_a9_a_SOURCES = \
 
218
        $(neon_bionic_a9_sources) \
 
219
        reference/bionic-a9/memcmp.S \
 
220
        reference/bionic-a9/strcmp.S \
 
221
        reference/bionic-a9/strcpy.S \
 
222
        reference/bionic-a9/strlen.c
 
223
 
 
224
libbionic_a9_a_CFLAGS = -Wa,-mimplicit-it=thumb
 
225
 
 
226
libbionic_a15_a_SOURCES = \
 
227
        $(neon_bionic_a15_sources) \
 
228
        reference/bionic-a15/memcmp.S \
 
229
        reference/bionic-a15/strcmp.S \
 
230
        reference/bionic-a15/strcpy.S \
 
231
        reference/bionic-a15/strlen.c
 
232
 
 
233
libbionic_a15_a_CFLAGS = -Wa,-mimplicit-it=thumb
220
234
 
221
235
libcsl_a_SOURCES = \
222
236
        reference/csl/memcpy.c \
247
261
        reference/newlib-xscale/xscale.h
248
262
 
249
263
# Flags for the benchmark helpers
250
 
try_bionic_SOURCES =
251
 
try_bionic_LDADD = libmulti.a libbionic.a -lrt
 
264
try_bionic_a9_SOURCES =
 
265
try_bionic_a9_LDADD = libmulti.a libbionic-a9.a -lrt
 
266
try_bionic_a15_SOURCES =
 
267
try_bionic_a15_LDADD = libmulti.a libbionic-a15.a -lrt
252
268
try_csl_SOURCES =
253
269
try_csl_LDADD = libmulti.a libcsl.a -lrt
254
270
try_glibc_SOURCES =