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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 int reg_code; | 178 int reg_code; |
179 }; | 179 }; |
180 | 180 |
181 #define DECLARE_REGISTER(R) \ | 181 #define DECLARE_REGISTER(R) \ |
182 const DoubleRegister R = {DoubleRegister::kCode_##R}; | 182 const DoubleRegister R = {DoubleRegister::kCode_##R}; |
183 DOUBLE_REGISTERS(DECLARE_REGISTER) | 183 DOUBLE_REGISTERS(DECLARE_REGISTER) |
184 #undef DECLARE_REGISTER | 184 #undef DECLARE_REGISTER |
185 const DoubleRegister no_double_reg = {DoubleRegister::kCode_no_reg}; | 185 const DoubleRegister no_double_reg = {DoubleRegister::kCode_no_reg}; |
186 | 186 |
| 187 typedef DoubleRegister Simd128Register; |
| 188 |
187 typedef DoubleRegister XMMRegister; | 189 typedef DoubleRegister XMMRegister; |
188 | 190 |
189 enum Condition { | 191 enum Condition { |
190 // any value < 0 is considered no_condition | 192 // any value < 0 is considered no_condition |
191 no_condition = -1, | 193 no_condition = -1, |
192 | 194 |
193 overflow = 0, | 195 overflow = 0, |
194 no_overflow = 1, | 196 no_overflow = 1, |
195 below = 2, | 197 below = 2, |
196 above_equal = 3, | 198 above_equal = 3, |
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1568 Assembler* assembler_; | 1570 Assembler* assembler_; |
1569 #ifdef DEBUG | 1571 #ifdef DEBUG |
1570 int space_before_; | 1572 int space_before_; |
1571 #endif | 1573 #endif |
1572 }; | 1574 }; |
1573 | 1575 |
1574 } // namespace internal | 1576 } // namespace internal |
1575 } // namespace v8 | 1577 } // namespace v8 |
1576 | 1578 |
1577 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1579 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |