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

Side by Side Diff: src/base/build_config.h

Issue 1427003006: Enable ARMv8 32-bit build. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_BASE_BUILD_CONFIG_H_ 5 #ifndef V8_BASE_BUILD_CONFIG_H_
6 #define V8_BASE_BUILD_CONFIG_H_ 6 #define V8_BASE_BUILD_CONFIG_H_
7 7
8 #include "include/v8config.h" 8 #include "include/v8config.h"
9 9
10 // Processor architecture detection. For more info on what's defined, see: 10 // Processor architecture detection. For more info on what's defined, see:
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 #if defined(__ARM_ARCH_7A__) || \ 62 #if defined(__ARM_ARCH_7A__) || \
63 defined(__ARM_ARCH_7R__) || \ 63 defined(__ARM_ARCH_7R__) || \
64 defined(__ARM_ARCH_7__) 64 defined(__ARM_ARCH_7__)
65 # define CAN_USE_ARMV7_INSTRUCTIONS 1 65 # define CAN_USE_ARMV7_INSTRUCTIONS 1
66 # ifndef CAN_USE_VFP3_INSTRUCTIONS 66 # ifndef CAN_USE_VFP3_INSTRUCTIONS
67 # define CAN_USE_VFP3_INSTRUCTIONS 67 # define CAN_USE_VFP3_INSTRUCTIONS
68 # endif 68 # endif
69 #endif 69 #endif
70 70
71 #if defined(__ARM_ARCH_8A__)
72 # define CAN_USE_ARMV8_INSTRUCTIONS 1
73 #endif
74
71 75
72 // Target architecture detection. This may be set externally. If not, detect 76 // Target architecture detection. This may be set externally. If not, detect
73 // in the same way as the host architecture, that is, target the native 77 // in the same way as the host architecture, that is, target the native
74 // environment as presented by the compiler. 78 // environment as presented by the compiler.
75 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_IA32 && !V8_TARGET_ARCH_X87 && \ 79 #if !V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_IA32 && !V8_TARGET_ARCH_X87 && \
76 !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS && \ 80 !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 && !V8_TARGET_ARCH_MIPS && \
77 !V8_TARGET_ARCH_MIPS64 && !V8_TARGET_ARCH_PPC 81 !V8_TARGET_ARCH_MIPS64 && !V8_TARGET_ARCH_PPC
78 #if defined(_M_X64) || defined(__x86_64__) 82 #if defined(_M_X64) || defined(__x86_64__)
79 #define V8_TARGET_ARCH_X64 1 83 #define V8_TARGET_ARCH_X64 1
80 #elif defined(_M_IX86) || defined(__i386__) 84 #elif defined(_M_IX86) || defined(__i386__)
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 // Number of bits to represent the page size for paged spaces. The value of 20 186 // Number of bits to represent the page size for paged spaces. The value of 20
183 // gives 1Mb bytes per page. 187 // gives 1Mb bytes per page.
184 #if V8_HOST_ARCH_PPC && V8_TARGET_ARCH_PPC && V8_OS_LINUX 188 #if V8_HOST_ARCH_PPC && V8_TARGET_ARCH_PPC && V8_OS_LINUX
185 // Bump up for Power Linux due to larger (64K) page size. 189 // Bump up for Power Linux due to larger (64K) page size.
186 const int kPageSizeBits = 22; 190 const int kPageSizeBits = 22;
187 #else 191 #else
188 const int kPageSizeBits = 20; 192 const int kPageSizeBits = 20;
189 #endif 193 #endif
190 194
191 #endif // V8_BASE_BUILD_CONFIG_H_ 195 #endif // V8_BASE_BUILD_CONFIG_H_
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698