Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Side by Side Diff: Makefile.standalone

Issue 1278173009: Inline memove for small constant sizes and refactor memcpy and memset. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | crosstest/crosstest.cfg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # The following variables will likely need to be modified, depending on where 1 # The following variables will likely need to be modified, depending on where
2 # and how you built LLVM & Clang. They can be overridden in a command-line 2 # and how you built LLVM & Clang. They can be overridden in a command-line
3 # invocation of make, like: 3 # invocation of make, like:
4 # 4 #
5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ 5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \
6 # PNACL_BIN_PATH=<path> ... 6 # PNACL_BIN_PATH=<path> ...
7 # 7 #
8 8
9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This 9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This
10 # directory should contain the configure script, the include/ and lib/ 10 # directory should contain the configure script, the include/ and lib/
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 SB_OBJS=$(patsubst %.cpp, $(SB_OBJDIR)/%.o, $(SRCS)) 220 SB_OBJS=$(patsubst %.cpp, $(SB_OBJDIR)/%.o, $(SRCS))
221 221
222 UNITTEST_SRCS = \ 222 UNITTEST_SRCS = \
223 BitcodeMunge.cpp \ 223 BitcodeMunge.cpp \
224 IceELFSectionTest.cpp \ 224 IceELFSectionTest.cpp \
225 IceParseInstsTest.cpp 225 IceParseInstsTest.cpp
226 226
227 # The X86 assembler tests take too long to compile. Given how infrequently the 227 # The X86 assembler tests take too long to compile. Given how infrequently the
228 # assembler will change, we disable them. 228 # assembler will change, we disable them.
229 ifdef CHECK_X86_ASM 229 ifdef CHECK_X86_ASM
230 ifndef DEBUG
231 $(error Run check-unit with DEBUG=1 lest your machine perish)
232 endif
230 UNITTEST_SRCS += AssemblerX8632/LowLevel.cpp \ 233 UNITTEST_SRCS += AssemblerX8632/LowLevel.cpp \
231 AssemblerX8632/DataMov.cpp \ 234 AssemblerX8632/DataMov.cpp \
232 AssemblerX8632/Locked.cpp \ 235 AssemblerX8632/Locked.cpp \
233 AssemblerX8632/GPRArith.cpp \ 236 AssemblerX8632/GPRArith.cpp \
234 AssemblerX8632/XmmArith.cpp \ 237 AssemblerX8632/XmmArith.cpp \
235 AssemblerX8632/ControlFlow.cpp \ 238 AssemblerX8632/ControlFlow.cpp \
236 AssemblerX8632/Other.cpp \ 239 AssemblerX8632/Other.cpp \
237 AssemblerX8632/X87.cpp \ 240 AssemblerX8632/X87.cpp \
238 AssemblerX8664/LowLevel.cpp \ 241 AssemblerX8664/LowLevel.cpp \
239 AssemblerX8664/DataMov.cpp \ 242 AssemblerX8664/DataMov.cpp \
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit 346 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv tests_lit
344 347
345 ifdef MINIMAL 348 ifdef MINIMAL
346 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime 349 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime
347 @echo "Crosstests disabled, minimal build" 350 @echo "Crosstests disabled, minimal build"
348 else 351 else
349 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime 352 check-xtest: $(OBJDIR)/pnacl-sz make_symlink runtime
350 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1. 353 # Do all native/sse2 tests, but only test_vector_ops for native/sse4.1.
351 # For (slow) sandboxed tests, limit to Om1/sse4.1. 354 # For (slow) sandboxed tests, limit to Om1/sse4.1.
352 # TODO(jpp): implement x8664 sandbox, then enable xtests. 355 # TODO(jpp): implement x8664 sandbox, then enable xtests.
356 # TODO(jpp): reenable the x86-64 tests.
353 ./pydir/crosstest_generator.py -v --lit \ 357 ./pydir/crosstest_generator.py -v --lit \
354 --toolchain-root $(TOOLCHAIN_ROOT) \ 358 --toolchain-root $(TOOLCHAIN_ROOT) \
355 » -i x8632,native,sse2 -i x8632,native,sse4.1,test_vector_ops \ 359 » -i x8632,native,sse2 \
360 » -i x8632,native,sse4.1,test_vector_ops \
356 -i x8632,sandbox,sse4.1,Om1 \ 361 -i x8632,sandbox,sse4.1,Om1 \
357 » -i x8664,native,sse2 -i x8664,native,sse4.1,test_vector_ops \ 362 » -e x8664,native,sse2 \
363 » -e x8664,native,sse4.1,test_vector_ops \
358 -e x8664,native,sse2,test_global \ 364 -e x8664,native,sse2,test_global \
359 -i arm32,native,neon,simple_loop \ 365 -i arm32,native,neon,simple_loop \
360 -i arm32,native,neon,mem_intrin \ 366 -i arm32,native,neon,mem_intrin \
361 -i arm32,native,neon,test_bitmanip \ 367 -i arm32,native,neon,test_bitmanip \
362 -i arm32,native,neon,test_stacksave \ 368 -i arm32,native,neon,test_stacksave \
363 -i arm32,native,neon,test_strengthreduce 369 -i arm32,native,neon,test_strengthreduce
364 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ 370 PNACL_BIN_PATH=$(PNACL_BIN_PATH) \
365 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output 371 $(LLVM_SRC_PATH)/utils/lit/lit.py -sv crosstest/Output
366 endif 372 endif
367 373
(...skipping 23 matching lines...) Expand all
391 397
392 docs: 398 docs:
393 doxygen Doxyfile 399 doxygen Doxyfile
394 @echo See file://`pwd`/docs/html/index.html 400 @echo See file://`pwd`/docs/html/index.html
395 401
396 clean: 402 clean:
397 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json 403 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json
398 404
399 clean-all: clean 405 clean-all: clean
400 rm -rf build/ docs/ 406 rm -rf build/ docs/
OLDNEW
« no previous file with comments | « no previous file | crosstest/crosstest.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698