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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #if defined(__ARM_ARCH_6__) || \ | 49 #if defined(__ARM_ARCH_6__) || \ |
50 defined(__ARM_ARCH_6J__) || \ | 50 defined(__ARM_ARCH_6J__) || \ |
51 defined(__ARM_ARCH_6K__) || \ | 51 defined(__ARM_ARCH_6K__) || \ |
52 defined(__ARM_ARCH_6Z__) || \ | 52 defined(__ARM_ARCH_6Z__) || \ |
53 defined(__ARM_ARCH_6ZK__) || \ | 53 defined(__ARM_ARCH_6ZK__) || \ |
54 defined(__ARM_ARCH_6T2__) || \ | 54 defined(__ARM_ARCH_6T2__) || \ |
55 defined(CAN_USE_ARMV7_INSTRUCTIONS) | 55 defined(CAN_USE_ARMV7_INSTRUCTIONS) |
56 # define CAN_USE_ARMV6_INSTRUCTIONS 1 | 56 # define CAN_USE_ARMV6_INSTRUCTIONS 1 |
57 #endif | 57 #endif |
58 | 58 |
59 #if defined(__ARM_ARCH_5T__) || \ | 59 #if defined(__ARM_ARCH_5T__) || \ |
60 defined(__ARM_ARCH_5TE__) || \ | 60 defined(__ARM_ARCH_5TE__) || \ |
| 61 defined(__ARM_ARCH_5TEJ__) || \ |
61 defined(CAN_USE_ARMV6_INSTRUCTIONS) | 62 defined(CAN_USE_ARMV6_INSTRUCTIONS) |
62 # define CAN_USE_ARMV5_INSTRUCTIONS 1 | 63 # define CAN_USE_ARMV5_INSTRUCTIONS 1 |
63 # define CAN_USE_THUMB_INSTRUCTIONS 1 | 64 # define CAN_USE_THUMB_INSTRUCTIONS 1 |
64 #endif | 65 #endif |
65 | 66 |
66 // Simulator should support ARM5 instructions and unaligned access by default. | 67 // Simulator should support ARM5 instructions and unaligned access by default. |
67 #if !defined(__arm__) | 68 #if !defined(__arm__) |
68 # define CAN_USE_ARMV5_INSTRUCTIONS 1 | 69 # define CAN_USE_ARMV5_INSTRUCTIONS 1 |
69 # define CAN_USE_THUMB_INSTRUCTIONS 1 | 70 # define CAN_USE_THUMB_INSTRUCTIONS 1 |
70 | 71 |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 static int Number(const char* name, bool* is_double); | 766 static int Number(const char* name, bool* is_double); |
766 | 767 |
767 private: | 768 private: |
768 static const char* names_[kNumVFPRegisters]; | 769 static const char* names_[kNumVFPRegisters]; |
769 }; | 770 }; |
770 | 771 |
771 | 772 |
772 } } // namespace v8::internal | 773 } } // namespace v8::internal |
773 | 774 |
774 #endif // V8_ARM_CONSTANTS_ARM_H_ | 775 #endif // V8_ARM_CONSTANTS_ARM_H_ |
OLD | NEW |