Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3783)

Unified Diff: build/common.gypi

Issue 10977051: Support for SDIV and MLS ARM instructions, and implement DoModI using them (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/arm/assembler-arm.h » ('j') | src/arm/disasm-arm.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 12559)
+++ build/common.gypi (working copy)
@@ -43,6 +43,11 @@
# access is allowed for all CPUs.
'v8_can_use_unaligned_accesses%': 'default',
+ # Setting 'v8_can_use_integer_division' to 'true' will allow the code
+ # generated by V8 to utilize hardware integer division instruction
+ # Setting it to 'false' will not use hardware integer division instruction
+ 'v8_can_use_integer_division%': 'true',
danno 2012/09/27 15:28:09 I think this flag is mis-named. can_use_sdiv_instr
+
# Setting 'v8_can_use_vfp2_instructions' to 'true' will enable use of ARM VFP
# instructions in the V8 generated code. VFP instructions will be enabled
# both for the snapshot and for the ARM target. Leaving the default value
@@ -139,6 +144,16 @@
'CAN_USE_UNALIGNED_ACCESSES=0',
],
}],
+ [ 'v8_can_use_integer_division=="true"', {
+ 'defines': [
+ 'CAN_USE_INTEGER_DIVISION=1',
+ ],
+ }],
+ [ 'v8_can_use_integer_division=="false"', {
+ 'defines': [
+ 'CAN_USE_INTEGER_DIVISION=0',
+ ],
+ }],
[ 'v8_can_use_vfp2_instructions=="true"', {
'defines': [
'CAN_USE_VFP2_INSTRUCTIONS',
« no previous file with comments | « no previous file | src/arm/assembler-arm.h » ('j') | src/arm/disasm-arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698