v8/tools
sgjesse@chromium.org 01707c7106 ARM: Changed the handling of compiletime CPU feature detection
Always use CpuFeaturesImpliedByCompiler() when selecting CPU features. This checks both for CAN_USE_ARMV7_INSTRUCTIONS and CAN_USE_VFP_INSTRUCTIONS and for GCC preprocessor symbols. This will support using the CAN_USE_XXX for a simulator build used for generating a snapshot followed by a crosscompile using -march= and -mfpu= for selecting the (minimal) target device CPU features. The snapshot will use instructions based on the CAN_USE_XXX whereas the target will at least use features based on both CAN_USE_XXX and -march= and -mfpu=, but will try runtime CPU feature detection a well looking for somethis better.

Remove the compiler based CPU feature detection from the OS::CpuFeaturesImpliedByPlatform() as it did not belong there. Also was already in the CpuFeaturesImpliedByCompiler().

Add the variable 'v8_can_use_vfp_instructions' to the GYP file which can be used to turn on CAN_USE_VFP_INSTRUCTIONS when building V8. I did not add any -mfpu= cflags for this, as there are several options here (e.g. vfp and neon).

R=erik.corry@gmail.com, karlklose@chromium.org

BUG=none
TEST=none

Review URL: http://codereview.chromium.org//6904164

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7754 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-05-03 06:51:59 +00:00
..
gcmole Add GCMole to the repository. 2011-04-07 12:38:16 +00:00
gyp ARM: Changed the handling of compiletime CPU feature detection 2011-05-03 06:51:59 +00:00
oom_dump Add os_error stat to oom_dump utility. 2010-08-30 12:26:58 +00:00
v8.xcodeproj Fix XCode project. 2011-05-02 11:39:16 +00:00
visual_studio Remove the Visual Studio project files 2011-05-02 13:43:13 +00:00
codemap.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
consarray.js TickProcessor script reimplemented in JavaScript. 2009-04-27 13:50:42 +00:00
csvparser.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
disasm.py grokdump: Simple windows minidump analysis on linux. 2011-02-22 14:25:26 +00:00
freebsd-tick-processor * Fix build errors on FreeBSD 8.2 2011-03-16 11:15:43 +00:00
gc-nvp-trace-processor.py Merge flush code phase into marking phase. 2010-08-17 11:44:01 +00:00
generate-ten-powers.scm Fast double-to-ascii conversion. 2010-03-11 14:49:35 +00:00
grokdump.py grokdump: Simple windows minidump analysis on linux. 2011-02-22 14:25:26 +00:00
js2c.py Introduce experimental natives that are enabled by a runtime flag. 2011-04-15 12:31:03 +00:00
jsmin.py Inline a number of simple date computations. 2010-01-08 07:49:07 +00:00
linux-tick-processor * Fix build errors on FreeBSD 8.2 2011-03-16 11:15:43 +00:00
ll_prof.py ll_prof: Reduce profiling hooks overhead from >400% to 25%. 2011-04-29 16:06:25 +00:00
logreader.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
mac-nm Fix mac-nm script to support filenames w/spaces 2009-08-13 14:03:12 +00:00
mac-tick-processor Implement shared libraries logging on Mac OS X, added required support in Tick Processor. 2009-07-14 05:01:06 +00:00
presubmit.py Working stand-alone preparser. 2010-11-24 09:57:06 +00:00
process-heap-prof.py Report both size and count from the heap profile processor 2009-11-10 10:18:41 +00:00
profile_view.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
profile.js Fix CPU profiling for Crankshaft. 2011-02-22 16:31:24 +00:00
run-valgrind.py Changed valgrind script to match changed output format 2009-09-17 12:13:08 +00:00
splaytree.js Shorten constructor names in JS tickprocessor. 2011-02-10 07:47:28 +00:00
stats-viewer.py tools/stats-viewer.py: add counter filter. 2010-06-29 11:30:34 +00:00
test.py ARM: Support hardfloat in SCons build and make it a build time setting 2011-04-29 08:50:38 +00:00
tickprocessor-driver.js Fix issue 571: display descriptive names for code objects from snapshot. 2010-01-18 16:04:25 +00:00
tickprocessor.js Add initialization for has_external_callback field. 2011-03-30 13:30:52 +00:00
utils.py Cygwin support 2011-02-17 16:33:10 +00:00
windows-tick-processor.bat Make windows-tick-processor respect D8_PATH. 2010-10-25 15:04:08 +00:00