| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 26 matching lines...) Expand all Loading... |
| 37 // want to generate them on the simulator too so it makes snapshots that can | 37 // want to generate them on the simulator too so it makes snapshots that can |
| 38 // be used on real hardware. | 38 // be used on real hardware. |
| 39 #if defined(__THUMB_INTERWORK__) || !defined(__arm__) | 39 #if defined(__THUMB_INTERWORK__) || !defined(__arm__) |
| 40 # define USE_THUMB_INTERWORK 1 | 40 # define USE_THUMB_INTERWORK 1 |
| 41 #endif | 41 #endif |
| 42 | 42 |
| 43 #if defined(__ARM_ARCH_7A__) || \ | 43 #if defined(__ARM_ARCH_7A__) || \ |
| 44 defined(__ARM_ARCH_7R__) || \ | 44 defined(__ARM_ARCH_7R__) || \ |
| 45 defined(__ARM_ARCH_7__) | 45 defined(__ARM_ARCH_7__) |
| 46 # define CAN_USE_ARMV7_INSTRUCTIONS 1 | 46 # define CAN_USE_ARMV7_INSTRUCTIONS 1 |
| 47 #ifndef CAN_USE_VFP3_INSTRUCTIONS |
| 47 # define CAN_USE_VFP3_INSTRUCTIONS | 48 # define CAN_USE_VFP3_INSTRUCTIONS |
| 48 #endif | 49 #endif |
| 50 #endif |
| 49 | 51 |
| 50 #if defined(__ARM_ARCH_6__) || \ | 52 #if defined(__ARM_ARCH_6__) || \ |
| 51 defined(__ARM_ARCH_6J__) || \ | 53 defined(__ARM_ARCH_6J__) || \ |
| 52 defined(__ARM_ARCH_6K__) || \ | 54 defined(__ARM_ARCH_6K__) || \ |
| 53 defined(__ARM_ARCH_6Z__) || \ | 55 defined(__ARM_ARCH_6Z__) || \ |
| 54 defined(__ARM_ARCH_6ZK__) || \ | 56 defined(__ARM_ARCH_6ZK__) || \ |
| 55 defined(__ARM_ARCH_6T2__) || \ | 57 defined(__ARM_ARCH_6T2__) || \ |
| 56 defined(CAN_USE_ARMV7_INSTRUCTIONS) | 58 defined(CAN_USE_ARMV7_INSTRUCTIONS) |
| 57 # define CAN_USE_ARMV6_INSTRUCTIONS 1 | 59 # define CAN_USE_ARMV6_INSTRUCTIONS 1 |
| 58 #endif | 60 #endif |
| (...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 781 static int Number(const char* name, bool* is_double); | 783 static int Number(const char* name, bool* is_double); |
| 782 | 784 |
| 783 private: | 785 private: |
| 784 static const char* names_[kNumVFPRegisters]; | 786 static const char* names_[kNumVFPRegisters]; |
| 785 }; | 787 }; |
| 786 | 788 |
| 787 | 789 |
| 788 } } // namespace v8::internal | 790 } } // namespace v8::internal |
| 789 | 791 |
| 790 #endif // V8_ARM_CONSTANTS_ARM_H_ | 792 #endif // V8_ARM_CONSTANTS_ARM_H_ |
| OLD | NEW |