• rmcilroy@chromium.org's avatar
    [Arm]: Simplify compile-time Arm feature detection. · 7f429e62
    rmcilroy@chromium.org authored
    Simplify the compile time feature detection on Arm:
     - Define CAN_USE_XXX definitions unconditionally for all target/host
       toolchain combinations
     - Rename arm_test / ARM_TEST to arm_test_noprob / ARM_TEST_NO_FEATURE_PROBE
     - Don't set ARM_TEST_NO_FEATURE_PROBE implicitly on the simulator to make
       make simulator / native more consistent
     - Unify CpuFeatures::PrintTarget for simulator and native builds
     - Remove unecessary CAN_USE_VFP_INSTRUCTIONS definition for android (this is
       the default for arm_fpu=default)
     - Add a CpuFeatures::Probe() before calling CpuFeatures::PrintFeatures() in PrintHelp
        to ensure we have probed features before printing them.
    
    BUG=384474
    LOG=N
    R=jkummerow@chromium.org
    
    Review URL: https://codereview.chromium.org/340373002
    
    git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21935 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    7f429e62
toolchain.gypi 24.8 KB