diff options
Diffstat (limited to 'deps/v8/src/arm/constants-arm.h')
-rw-r--r-- | deps/v8/src/arm/constants-arm.h | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/deps/v8/src/arm/constants-arm.h b/deps/v8/src/arm/constants-arm.h index 747dc5627a..e21055fee4 100644 --- a/deps/v8/src/arm/constants-arm.h +++ b/deps/v8/src/arm/constants-arm.h @@ -33,13 +33,6 @@ #error ARM EABI support is required. #endif -// This means that interwork-compatible jump instructions are generated. We -// want to generate them on the simulator too so it makes snapshots that can -// be used on real hardware. -#if defined(__THUMB_INTERWORK__) || !defined(__arm__) -# define USE_THUMB_INTERWORK 1 -#endif - #if defined(__ARM_ARCH_7A__) || \ defined(__ARM_ARCH_7R__) || \ defined(__ARM_ARCH_7__) @@ -49,39 +42,11 @@ #endif #endif -#if defined(__ARM_ARCH_6__) || \ - defined(__ARM_ARCH_6J__) || \ - defined(__ARM_ARCH_6K__) || \ - defined(__ARM_ARCH_6Z__) || \ - defined(__ARM_ARCH_6ZK__) || \ - defined(__ARM_ARCH_6T2__) || \ - defined(CAN_USE_ARMV7_INSTRUCTIONS) -# define CAN_USE_ARMV6_INSTRUCTIONS 1 -#endif - -#if defined(__ARM_ARCH_5__) || \ - defined(__ARM_ARCH_5T__) || \ - defined(__ARM_ARCH_5TE__) || \ - defined(__ARM_ARCH_5TEJ__) || \ - defined(CAN_USE_ARMV6_INSTRUCTIONS) -# define CAN_USE_ARMV5_INSTRUCTIONS 1 -# define CAN_USE_THUMB_INSTRUCTIONS 1 -#endif - -// Simulator should support ARM5 instructions and unaligned access by default. +// Simulator should support unaligned access by default. #if !defined(__arm__) -# define CAN_USE_ARMV5_INSTRUCTIONS 1 -# define CAN_USE_THUMB_INSTRUCTIONS 1 - # ifndef CAN_USE_UNALIGNED_ACCESSES # define CAN_USE_UNALIGNED_ACCESSES 1 # endif - -#endif - -// Using blx may yield better code, so use it when required or when available -#if defined(USE_THUMB_INTERWORK) || defined(CAN_USE_ARMV5_INSTRUCTIONS) -#define USE_BLX 1 #endif namespace v8 { |