| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 'v8_can_use_unaligned_accesses%': 'default', | 44 'v8_can_use_unaligned_accesses%': 'default', |
| 45 | 45 |
| 46 # Setting 'v8_can_use_vfp2_instructions' to 'true' will enable use of ARM VF
P | 46 # 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 | 47 # 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 | 48 # 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 | 49 # of 'false' will avoid VFP instructions in the snapshot and use CPU feature |
| 50 # probing when running on the target. | 50 # probing when running on the target. |
| 51 'v8_can_use_vfp2_instructions%': 'false', | 51 'v8_can_use_vfp2_instructions%': 'false', |
| 52 'v8_can_use_vfp3_instructions%': 'false', | 52 'v8_can_use_vfp3_instructions%': 'false', |
| 53 | 53 |
| 54 # Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP |
| 55 # registers d16-d31 in the generated code, both in the snapshot and for the |
| 56 # ARM target. Leaving the default value of 'false' will avoid the use of |
| 57 # these registers in the snapshot and use CPU feature probing when running |
| 58 # on the target. |
| 59 'v8_can_use_vfp32dregs%': 'false', |
| 60 |
| 54 # Similar to vfp but on MIPS. | 61 # Similar to vfp but on MIPS. |
| 55 'v8_can_use_fpu_instructions%': 'true', | 62 'v8_can_use_fpu_instructions%': 'true', |
| 56 | 63 |
| 57 # Setting v8_use_arm_eabi_hardfloat to true will turn on V8 support for ARM | 64 # Setting v8_use_arm_eabi_hardfloat to true will turn on V8 support for ARM |
| 58 # EABI calling convention where double arguments are passed in VFP | 65 # EABI calling convention where double arguments are passed in VFP |
| 59 # registers. Note that the GCC flag '-mfloat-abi=hard' should be used as | 66 # registers. Note that the GCC flag '-mfloat-abi=hard' should be used as |
| 60 # well when compiling for the ARM target. | 67 # well when compiling for the ARM target. |
| 61 'v8_use_arm_eabi_hardfloat%': 'false', | 68 'v8_use_arm_eabi_hardfloat%': 'false', |
| 62 | 69 |
| 63 # Similar to the ARM hard float ABI but on MIPS. | 70 # Similar to the ARM hard float ABI but on MIPS. |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 'target_conditions': [ | 178 'target_conditions': [ |
| 172 ['_toolset=="target"', { | 179 ['_toolset=="target"', { |
| 173 'cflags': ['-mfloat-abi=hard',], | 180 'cflags': ['-mfloat-abi=hard',], |
| 174 }], | 181 }], |
| 175 ], | 182 ], |
| 176 }, { | 183 }, { |
| 177 'defines': [ | 184 'defines': [ |
| 178 'USE_EABI_HARDFLOAT=0', | 185 'USE_EABI_HARDFLOAT=0', |
| 179 ], | 186 ], |
| 180 }], | 187 }], |
| 188 [ 'v8_can_use_vfp32dregs=="true"', { |
| 189 'defines': [ |
| 190 'CAN_USE_VFP32DREGS', |
| 191 ], |
| 192 }], |
| 181 ], | 193 ], |
| 182 }], # v8_target_arch=="arm" | 194 }], # v8_target_arch=="arm" |
| 183 ['v8_target_arch=="ia32"', { | 195 ['v8_target_arch=="ia32"', { |
| 184 'defines': [ | 196 'defines': [ |
| 185 'V8_TARGET_ARCH_IA32', | 197 'V8_TARGET_ARCH_IA32', |
| 186 ], | 198 ], |
| 187 }], # v8_target_arch=="ia32" | 199 }], # v8_target_arch=="ia32" |
| 188 ['v8_target_arch=="mipsel"', { | 200 ['v8_target_arch=="mipsel"', { |
| 189 'defines': [ | 201 'defines': [ |
| 190 'V8_TARGET_ARCH_MIPS', | 202 'V8_TARGET_ARCH_MIPS', |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 'OptimizeReferences': '2', | 467 'OptimizeReferences': '2', |
| 456 'EnableCOMDATFolding': '2', | 468 'EnableCOMDATFolding': '2', |
| 457 }, | 469 }, |
| 458 }, | 470 }, |
| 459 }], # OS=="win" | 471 }], # OS=="win" |
| 460 ], # conditions | 472 ], # conditions |
| 461 }, # Release | 473 }, # Release |
| 462 }, # configurations | 474 }, # configurations |
| 463 }, # target_defaults | 475 }, # target_defaults |
| 464 } | 476 } |
| OLD | NEW |