Don't pass CAN_USE_VFP_INSTRUCTIONS to V8.
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Mon, 12 Mar 2012 23:52:50 +0000 (16:52 -0700)
committerQt by Nokia <qt-info@nokia.com>
Tue, 13 Mar 2012 17:17:29 +0000 (18:17 +0100)
V8 is already capable of auto-detecting VFP3 support at runtime.
The only reason to pass this flag is for the emulator when
creating snapshots.

Currently, there is no way to figure if a target is VFP3 enabled
or not. There are no compiler flags to detect this automatically
either, so we have to add an option to qtbase/configure.

https://bugreports.qt-project.org/browse/QTBUG-24760 tracks
the addition of the option.

Change-Id: I3482ae483b925d5f153a1631cc04a52ecab72f4e
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/v8/v8.pri

index a67a6c1..f75de61 100644 (file)
@@ -154,7 +154,9 @@ contains(config_test_hardfloat, yes) {
 } else {
     DEFINES += USE_EABI_HARDFLOAT=0
 }
-DEFINES += CAN_USE_VFP_INSTRUCTIONS
+# Disable VFP3 until we add an option to configure
+# QTBUG-24760
+false:DEFINES += CAN_USE_VFP_INSTRUCTIONS
 SOURCES += \
     $$V8SRC/arm/builtins-arm.cc \
     $$V8SRC/arm/code-stubs-arm.cc \