| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 ['v8_target_arch=="arm"', { | 151 ['v8_target_arch=="arm"', { |
| 152 # The following rules should be consistent with chromium's | 152 # The following rules should be consistent with chromium's |
| 153 # common.gypi and V8's runtime rule to ensure they all generat
e | 153 # common.gypi and V8's runtime rule to ensure they all generat
e |
| 154 # the same correct machine code. The following issue is about | 154 # the same correct machine code. The following issue is about |
| 155 # V8's runtime rule about vfpv3 and neon: | 155 # V8's runtime rule about vfpv3 and neon: |
| 156 # http://code.google.com/p/v8/issues/detail?id=914 | 156 # http://code.google.com/p/v8/issues/detail?id=914 |
| 157 'conditions': [ | 157 'conditions': [ |
| 158 ['armv7==1', { | 158 ['armv7==1', { |
| 159 # The ARM Architecture Manual mandates VFPv3 if NEON is | 159 # The ARM Architecture Manual mandates VFPv3 if NEON is |
| 160 # available. | 160 # available. |
| 161 # The current V8 doesn't use d16-d31, so for vfpv3-d16, we
can | 161 # V8 does not use d16-d31 unless explicitly enabled |
| 162 # also enable vfp3 for the better performance. | 162 # (--enable_32dregs) or detected at run-time, so for vfpv3
-d16, |
| 163 # we can also enable vfp3 for the better performance. |
| 163 'conditions': [ | 164 'conditions': [ |
| 164 ['arm_neon!=1 and arm_fpu!="vfpv3" and arm_fpu!="vfpv3-d
16"', { | 165 ['arm_neon!=1 and arm_fpu!="vfpv3" and arm_fpu!="vfpv3-d
16"', { |
| 165 'variables': { | 166 'variables': { |
| 166 'mksnapshot_flags': [ | 167 'mksnapshot_flags': [ |
| 167 '--noenable_vfp3', | 168 '--noenable_vfp3', |
| 168 ], | 169 ], |
| 169 }, | 170 }, |
| 170 }], | 171 }], |
| 171 ], | 172 ], |
| 172 },{ # else: armv7!=1 | 173 },{ # else: armv7!=1 |
| (...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 }], | 1045 }], |
| 1045 ], | 1046 ], |
| 1046 'dependencies': [ | 1047 'dependencies': [ |
| 1047 'v8' | 1048 'v8' |
| 1048 ], | 1049 ], |
| 1049 }, | 1050 }, |
| 1050 ], | 1051 ], |
| 1051 }], | 1052 }], |
| 1052 ], | 1053 ], |
| 1053 } | 1054 } |
| OLD | NEW |