[PATCH] XCore target: use TEST_TARGET_FLAGS to override target's memory size.

robert lytton robert at xmos.com
Thu Apr 3 01:56:07 PDT 2014


  Hi Daniel,
  Here are the changes.

      XCore target: Add target specific flags to root Makefiles.

      The default value of XCORE_TARGET_NEEDS_MEMORY is 32 (MB).
      It should be noted that the XCore emulator's speed is affected by the size of memory.
      Also the amount of host memory required is several times XCore-image memory size.
      Thus running several large xcore-images in parallel may result in thrashing!
      The default of 32 will require ~300MB of host memory.

      As Makefile.config.in is included multiple times (viz: include $(LEVEL)/Makefile.config),
      the addition of XCORE_TARGET_FLAGS to X_TARGET_FLAGS is done in Makefile.test

      RUNTIMELIMIT is set to a default of 1 hour for the XCore emulator.
      Test that take around or more than 1 hour to run have their RUNTIMELIMIT extended.

  Robert

Hi ddunbar,

http://llvm-reviews.chandlerc.com/D3048

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D3048?vs=7756&id=8328#toc

Files:
  Makefile.config.in
  Makefile.programs
  Makefile.tests
  MultiSource/Applications/JM/ldecod/Makefile
  MultiSource/Applications/lua/Makefile
  MultiSource/Applications/minisat/Makefile
  MultiSource/Applications/spiff/Makefile
  MultiSource/Benchmarks/ASCI_Purple/SMG2000/Makefile
  MultiSource/Benchmarks/ASC_Sequoia/AMGmk/Makefile
  MultiSource/Benchmarks/ASC_Sequoia/CrystalMk/Makefile
  MultiSource/Benchmarks/Bullet/Makefile
  MultiSource/Benchmarks/Fhourstones-3.1/Makefile
  MultiSource/Benchmarks/NPB-serial/is/Makefile
  MultiSource/Benchmarks/Olden/health/Makefile
  MultiSource/Benchmarks/Olden/perimeter/Makefile
  MultiSource/Benchmarks/Olden/treeadd/Makefile
  MultiSource/Benchmarks/Olden/tsp/Makefile
  MultiSource/Benchmarks/Olden/voronoi/Makefile
  MultiSource/Benchmarks/SciMark2-C/Makefile
  MultiSource/Benchmarks/TSVC/ControlFlow-dbl/Makefile
  MultiSource/Benchmarks/TSVC/ControlLoops-dbl/Makefile
  MultiSource/Benchmarks/TSVC/Expansion-dbl/Makefile
  MultiSource/Benchmarks/TSVC/GlobalDataFlow-dbl/Makefile
  MultiSource/Benchmarks/TSVC/InductionVariable-dbl/Makefile
  MultiSource/Benchmarks/TSVC/LinearDependence-dbl/Makefile
  MultiSource/Benchmarks/TSVC/LoopRerolling-dbl/Makefile
  MultiSource/Benchmarks/TSVC/NodeSplitting-dbl/Makefile
  MultiSource/Benchmarks/TSVC/NodeSplitting-flt/Makefile
  MultiSource/Benchmarks/TSVC/StatementReordering-dbl/Makefile
  MultiSource/Benchmarks/Trimaran/netbench-crc/Makefile
  MultiSource/Benchmarks/mafft/Makefile
  MultiSource/Benchmarks/nbench/Makefile
  SingleSource/Benchmarks/CoyoteBench/Makefile
  SingleSource/Benchmarks/Misc-C++/Large/Makefile
  SingleSource/Benchmarks/Misc-C++/Makefile
  SingleSource/Benchmarks/Misc/Makefile
  SingleSource/Benchmarks/Polybench/linear-algebra/kernels/2mm/Makefile
  SingleSource/Benchmarks/Polybench/linear-algebra/kernels/3mm/Makefile
  SingleSource/Benchmarks/Polybench/linear-algebra/kernels/atax/Makefile
  SingleSource/Benchmarks/Polybench/linear-algebra/kernels/bicg/Makefile
  SingleSource/Benchmarks/Polybench/linear-algebra/kernels/doitgen/Makefile
  SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gemver/Makefile
  SingleSource/Benchmarks/Polybench/linear-algebra/kernels/gesummv/Makefile
  SingleSource/Benchmarks/Polybench/linear-algebra/kernels/mvt/Makefile
  SingleSource/Benchmarks/Polybench/linear-algebra/kernels/trisolv/Makefile
  SingleSource/Benchmarks/Polybench/linear-algebra/solvers/durbin/Makefile
  SingleSource/Benchmarks/Shootout-C++/Makefile
  SingleSource/Benchmarks/Shootout/Makefile
  SingleSource/Benchmarks/SmallPT/Makefile
  SingleSource/UnitTests/Makefile
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3048.2.patch
Type: text/x-patch
Size: 23054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140403/3129935c/attachment.bin>


More information about the llvm-commits mailing list