Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 36 'v8_target_arch%': '<(target_arch)', | 36 'v8_target_arch%': '<(target_arch)', |
| 37 | 37 |
| 38 # Setting 'v8_can_use_unaligned_accesses' to 'true' will allow the code | 38 # Setting 'v8_can_use_unaligned_accesses' to 'true' will allow the code |
| 39 # generated by V8 to do unaligned memory access, and setting it to 'false' | 39 # generated by V8 to do unaligned memory access, and setting it to 'false' |
| 40 # will ensure that the generated code will always do aligned memory | 40 # will ensure that the generated code will always do aligned memory |
| 41 # accesses. The default value of 'default' will try to determine the correct | 41 # accesses. The default value of 'default' will try to determine the correct |
| 42 # setting. Note that for Intel architectures (ia32 and x64) unaligned memory | 42 # setting. Note that for Intel architectures (ia32 and x64) unaligned memory |
| 43 # access is allowed for all CPUs. | 43 # access is allowed for all CPUs. |
| 44 'v8_can_use_unaligned_accesses%': 'default', | 44 'v8_can_use_unaligned_accesses%': 'default', |
| 45 | 45 |
| 46 # Setting 'v8_can_use_integer_division' to 'true' will allow the code | |
| 47 # generated by V8 to utilize hardware integer division instruction | |
| 48 # Setting it to 'false' will not use hardware integer division instruction | |
| 49 'v8_can_use_integer_division%': 'true', | |
|
danno
2012/09/27 15:28:09
I think this flag is mis-named. can_use_sdiv_instr
| |
| 50 | |
| 46 # Setting 'v8_can_use_vfp2_instructions' to 'true' will enable use of ARM VF P | 51 # Setting 'v8_can_use_vfp2_instructions' to 'true' will enable use of ARM VF P |
| 47 # instructions in the V8 generated code. VFP instructions will be enabled | 52 # instructions in the V8 generated code. VFP instructions will be enabled |
| 48 # both for the snapshot and for the ARM target. Leaving the default value | 53 # both for the snapshot and for the ARM target. Leaving the default value |
| 49 # of 'false' will avoid VFP instructions in the snapshot and use CPU feature | 54 # of 'false' will avoid VFP instructions in the snapshot and use CPU feature |
| 50 # probing when running on the target. | 55 # probing when running on the target. |
| 51 'v8_can_use_vfp2_instructions%': 'false', | 56 'v8_can_use_vfp2_instructions%': 'false', |
| 52 'v8_can_use_vfp3_instructions%': 'false', | 57 'v8_can_use_vfp3_instructions%': 'false', |
| 53 | 58 |
| 54 # Similar to vfp but on MIPS. | 59 # Similar to vfp but on MIPS. |
| 55 'v8_can_use_fpu_instructions%': 'true', | 60 'v8_can_use_fpu_instructions%': 'true', |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 132 [ 'v8_can_use_unaligned_accesses=="true"', { | 137 [ 'v8_can_use_unaligned_accesses=="true"', { |
| 133 'defines': [ | 138 'defines': [ |
| 134 'CAN_USE_UNALIGNED_ACCESSES=1', | 139 'CAN_USE_UNALIGNED_ACCESSES=1', |
| 135 ], | 140 ], |
| 136 }], | 141 }], |
| 137 [ 'v8_can_use_unaligned_accesses=="false"', { | 142 [ 'v8_can_use_unaligned_accesses=="false"', { |
| 138 'defines': [ | 143 'defines': [ |
| 139 'CAN_USE_UNALIGNED_ACCESSES=0', | 144 'CAN_USE_UNALIGNED_ACCESSES=0', |
| 140 ], | 145 ], |
| 141 }], | 146 }], |
| 147 [ 'v8_can_use_integer_division=="true"', { | |
| 148 'defines': [ | |
| 149 'CAN_USE_INTEGER_DIVISION=1', | |
| 150 ], | |
| 151 }], | |
| 152 [ 'v8_can_use_integer_division=="false"', { | |
| 153 'defines': [ | |
| 154 'CAN_USE_INTEGER_DIVISION=0', | |
| 155 ], | |
| 156 }], | |
| 142 [ 'v8_can_use_vfp2_instructions=="true"', { | 157 [ 'v8_can_use_vfp2_instructions=="true"', { |
| 143 'defines': [ | 158 'defines': [ |
| 144 'CAN_USE_VFP2_INSTRUCTIONS', | 159 'CAN_USE_VFP2_INSTRUCTIONS', |
| 145 ], | 160 ], |
| 146 }], | 161 }], |
| 147 [ 'v8_can_use_vfp3_instructions=="true"', { | 162 [ 'v8_can_use_vfp3_instructions=="true"', { |
| 148 'defines': [ | 163 'defines': [ |
| 149 'CAN_USE_VFP3_INSTRUCTIONS', | 164 'CAN_USE_VFP3_INSTRUCTIONS', |
| 150 ], | 165 ], |
| 151 }], | 166 }], |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 421 'OptimizeReferences': '2', | 436 'OptimizeReferences': '2', |
| 422 'EnableCOMDATFolding': '2', | 437 'EnableCOMDATFolding': '2', |
| 423 }, | 438 }, |
| 424 }, | 439 }, |
| 425 }], # OS=="win" | 440 }], # OS=="win" |
| 426 ], # conditions | 441 ], # conditions |
| 427 }, # Release | 442 }, # Release |
| 428 }, # configurations | 443 }, # configurations |
| 429 }, # target_defaults | 444 }, # target_defaults |
| 430 } | 445 } |
| OLD | NEW |