OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "v8.h" | 37 #include "v8.h" |
38 | 38 |
39 #if defined(V8_TARGET_ARCH_ARM) | 39 #if defined(V8_TARGET_ARCH_ARM) |
40 | 40 |
41 #include "arm/assembler-arm-inl.h" | 41 #include "arm/assembler-arm-inl.h" |
42 #include "serialize.h" | 42 #include "serialize.h" |
43 | 43 |
44 namespace v8 { | 44 namespace v8 { |
45 namespace internal { | 45 namespace internal { |
46 | 46 |
| 47 const DwVfpRegister& kFirstCalleeSavedDoubleReg = d8; |
| 48 const DwVfpRegister& kLastCalleeSavedDoubleReg = d15; |
| 49 const DwVfpRegister& kDoubleRegZero = d14; |
| 50 |
| 51 |
47 #ifdef DEBUG | 52 #ifdef DEBUG |
48 bool CpuFeatures::initialized_ = false; | 53 bool CpuFeatures::initialized_ = false; |
49 #endif | 54 #endif |
50 unsigned CpuFeatures::supported_ = 0; | 55 unsigned CpuFeatures::supported_ = 0; |
51 unsigned CpuFeatures::found_by_runtime_probing_ = 0; | 56 unsigned CpuFeatures::found_by_runtime_probing_ = 0; |
52 | 57 |
53 | 58 |
54 // Get the CPU features enabled by the build. For cross compilation the | 59 // Get the CPU features enabled by the build. For cross compilation the |
55 // preprocessor symbols CAN_USE_ARMV7_INSTRUCTIONS and CAN_USE_VFP_INSTRUCTIONS | 60 // preprocessor symbols CAN_USE_ARMV7_INSTRUCTIONS and CAN_USE_VFP_INSTRUCTIONS |
56 // can be defined to enable ARMv7 and VFPv3 instructions when building the | 61 // can be defined to enable ARMv7 and VFPv3 instructions when building the |
(...skipping 2597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2654 | 2659 |
2655 // Since a constant pool was just emitted, move the check offset forward by | 2660 // Since a constant pool was just emitted, move the check offset forward by |
2656 // the standard interval. | 2661 // the standard interval. |
2657 next_buffer_check_ = pc_offset() + kCheckPoolInterval; | 2662 next_buffer_check_ = pc_offset() + kCheckPoolInterval; |
2658 } | 2663 } |
2659 | 2664 |
2660 | 2665 |
2661 } } // namespace v8::internal | 2666 } } // namespace v8::internal |
2662 | 2667 |
2663 #endif // V8_TARGET_ARCH_ARM | 2668 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |