| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 int reg_code; | 140 int reg_code; |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 | 143 |
| 144 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; | 144 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; |
| 145 GENERAL_REGISTERS(DECLARE_REGISTER) | 145 GENERAL_REGISTERS(DECLARE_REGISTER) |
| 146 #undef DECLARE_REGISTER | 146 #undef DECLARE_REGISTER |
| 147 const Register no_reg = {Register::kCode_no_reg}; | 147 const Register no_reg = {Register::kCode_no_reg}; |
| 148 | 148 |
| 149 static const bool kSimpleFPAliasing = true; | 149 static const bool kSimpleFPAliasing = true; |
| 150 static const bool kSimdMaskRegisters = false; |
| 150 | 151 |
| 151 struct X87Register { | 152 struct X87Register { |
| 152 enum Code { | 153 enum Code { |
| 153 #define REGISTER_CODE(R) kCode_##R, | 154 #define REGISTER_CODE(R) kCode_##R, |
| 154 DOUBLE_REGISTERS(REGISTER_CODE) | 155 DOUBLE_REGISTERS(REGISTER_CODE) |
| 155 #undef REGISTER_CODE | 156 #undef REGISTER_CODE |
| 156 kAfterLast, | 157 kAfterLast, |
| 157 kCode_no_reg = -1 | 158 kCode_no_reg = -1 |
| 158 }; | 159 }; |
| 159 | 160 |
| (...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1095 Assembler* assembler_; | 1096 Assembler* assembler_; |
| 1096 #ifdef DEBUG | 1097 #ifdef DEBUG |
| 1097 int space_before_; | 1098 int space_before_; |
| 1098 #endif | 1099 #endif |
| 1099 }; | 1100 }; |
| 1100 | 1101 |
| 1101 } // namespace internal | 1102 } // namespace internal |
| 1102 } // namespace v8 | 1103 } // namespace v8 |
| 1103 | 1104 |
| 1104 #endif // V8_X87_ASSEMBLER_X87_H_ | 1105 #endif // V8_X87_ASSEMBLER_X87_H_ |
| OLD | NEW |