| 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 are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 GENERAL_REGISTERS(DECLARE_REGISTER) | 148 GENERAL_REGISTERS(DECLARE_REGISTER) |
| 149 #undef DECLARE_REGISTER | 149 #undef DECLARE_REGISTER |
| 150 const Register no_reg = {Register::kCode_no_reg}; | 150 const Register no_reg = {Register::kCode_no_reg}; |
| 151 | 151 |
| 152 | 152 |
| 153 int ToNumber(Register reg); | 153 int ToNumber(Register reg); |
| 154 | 154 |
| 155 Register ToRegister(int num); | 155 Register ToRegister(int num); |
| 156 | 156 |
| 157 static const bool kSimpleFPAliasing = true; | 157 static const bool kSimpleFPAliasing = true; |
| 158 static const bool kSimdMaskRegisters = false; |
| 158 | 159 |
| 159 // Coprocessor register. | 160 // Coprocessor register. |
| 160 struct FPURegister { | 161 struct FPURegister { |
| 161 enum Code { | 162 enum Code { |
| 162 #define REGISTER_CODE(R) kCode_##R, | 163 #define REGISTER_CODE(R) kCode_##R, |
| 163 DOUBLE_REGISTERS(REGISTER_CODE) | 164 DOUBLE_REGISTERS(REGISTER_CODE) |
| 164 #undef REGISTER_CODE | 165 #undef REGISTER_CODE |
| 165 kAfterLast, | 166 kAfterLast, |
| 166 kCode_no_reg = -1 | 167 kCode_no_reg = -1 |
| 167 }; | 168 }; |
| (...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1475 public: | 1476 public: |
| 1476 explicit EnsureSpace(Assembler* assembler) { | 1477 explicit EnsureSpace(Assembler* assembler) { |
| 1477 assembler->CheckBuffer(); | 1478 assembler->CheckBuffer(); |
| 1478 } | 1479 } |
| 1479 }; | 1480 }; |
| 1480 | 1481 |
| 1481 } // namespace internal | 1482 } // namespace internal |
| 1482 } // namespace v8 | 1483 } // namespace v8 |
| 1483 | 1484 |
| 1484 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1485 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |