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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 int reg_code; | 141 int reg_code; |
142 }; | 142 }; |
143 | 143 |
144 | 144 |
145 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; | 145 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; |
146 GENERAL_REGISTERS(DECLARE_REGISTER) | 146 GENERAL_REGISTERS(DECLARE_REGISTER) |
147 #undef DECLARE_REGISTER | 147 #undef DECLARE_REGISTER |
148 const Register no_reg = {Register::kCode_no_reg}; | 148 const Register no_reg = {Register::kCode_no_reg}; |
149 | 149 |
150 static const bool kSimpleFPAliasing = true; | 150 static const bool kSimpleFPAliasing = true; |
| 151 static const bool kSimdMaskRegisters = false; |
151 | 152 |
152 struct XMMRegister { | 153 struct XMMRegister { |
153 enum Code { | 154 enum Code { |
154 #define REGISTER_CODE(R) kCode_##R, | 155 #define REGISTER_CODE(R) kCode_##R, |
155 DOUBLE_REGISTERS(REGISTER_CODE) | 156 DOUBLE_REGISTERS(REGISTER_CODE) |
156 #undef REGISTER_CODE | 157 #undef REGISTER_CODE |
157 kAfterLast, | 158 kAfterLast, |
158 kCode_no_reg = -1 | 159 kCode_no_reg = -1 |
159 }; | 160 }; |
160 | 161 |
(...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1592 Assembler* assembler_; | 1593 Assembler* assembler_; |
1593 #ifdef DEBUG | 1594 #ifdef DEBUG |
1594 int space_before_; | 1595 int space_before_; |
1595 #endif | 1596 #endif |
1596 }; | 1597 }; |
1597 | 1598 |
1598 } // namespace internal | 1599 } // namespace internal |
1599 } // namespace v8 | 1600 } // namespace v8 |
1600 | 1601 |
1601 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1602 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |