Another thing. You should update constants-arm.h so it defines a macro
CAN_USE_ARMV6T2_INSTRUCTIONS which is analogous to the
CAN_USE_ARMVx_INSTRUCTIONS that is already there. Then you should modify
OS::CpuFeaturesImpliedByPlatform in platform-linux.cc so it makes use of the
flag to set the bit that indicates we can use ubfx instructions. That way
if
the C++ compiler is given the armv7 flag (not unlikely on an embedded
platform)
we can make use of the instructions without having to check at runtime
(this is
important for generated code that is part of the VM in the snapshot).
http://codereview.chromium.org/569015
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev