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_vfp_instructions' to 'true' will enable use of ARM VFP | 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 # Similar to vfp but on MIPS. | 54 # Similar to vfp but on MIPS. |
55 'v8_can_use_fpu_instructions%': 'true', | 55 'v8_can_use_fpu_instructions%': 'true', |
56 | 56 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 ], | 145 ], |
146 }], | 146 }], |
147 [ 'v8_can_use_vfp3_instructions=="true"', { | 147 [ 'v8_can_use_vfp3_instructions=="true"', { |
148 'defines': [ | 148 'defines': [ |
149 'CAN_USE_VFP3_INSTRUCTIONS', | 149 'CAN_USE_VFP3_INSTRUCTIONS', |
150 ], | 150 ], |
151 }], | 151 }], |
152 [ 'v8_use_arm_eabi_hardfloat=="true"', { | 152 [ 'v8_use_arm_eabi_hardfloat=="true"', { |
153 'defines': [ | 153 'defines': [ |
154 'USE_EABI_HARDFLOAT=1', | 154 'USE_EABI_HARDFLOAT=1', |
155 'CAN_USE_VFP_INSTRUCTIONS', | 155 'CAN_USE_VFP2_INSTRUCTIONS', |
156 ], | 156 ], |
157 'target_conditions': [ | 157 'target_conditions': [ |
158 ['_toolset=="target"', { | 158 ['_toolset=="target"', { |
159 'cflags': ['-mfloat-abi=hard',], | 159 'cflags': ['-mfloat-abi=hard',], |
160 }], | 160 }], |
161 ], | 161 ], |
162 }, { | 162 }, { |
163 'defines': [ | 163 'defines': [ |
164 'USE_EABI_HARDFLOAT=0', | 164 'USE_EABI_HARDFLOAT=0', |
165 ], | 165 ], |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 'OptimizeReferences': '2', | 421 'OptimizeReferences': '2', |
422 'EnableCOMDATFolding': '2', | 422 'EnableCOMDATFolding': '2', |
423 }, | 423 }, |
424 }, | 424 }, |
425 }], # OS=="win" | 425 }], # OS=="win" |
426 ], # conditions | 426 ], # conditions |
427 }, # Release | 427 }, # Release |
428 }, # configurations | 428 }, # configurations |
429 }, # target_defaults | 429 }, # target_defaults |
430 } | 430 } |
OLD | NEW |