| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 X87Register; | 187 typedef DoubleRegister X87Register; |
| 188 | 188 |
| 189 // TODO(x87) Define SIMD registers. |
| 190 typedef DoubleRegister Simd128Register; |
| 191 |
| 189 enum Condition { | 192 enum Condition { |
| 190 // any value < 0 is considered no_condition | 193 // any value < 0 is considered no_condition |
| 191 no_condition = -1, | 194 no_condition = -1, |
| 192 | 195 |
| 193 overflow = 0, | 196 overflow = 0, |
| 194 no_overflow = 1, | 197 no_overflow = 1, |
| 195 below = 2, | 198 below = 2, |
| 196 above_equal = 3, | 199 above_equal = 3, |
| 197 equal = 4, | 200 equal = 4, |
| 198 not_equal = 5, | 201 not_equal = 5, |
| (...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1073 Assembler* assembler_; | 1076 Assembler* assembler_; |
| 1074 #ifdef DEBUG | 1077 #ifdef DEBUG |
| 1075 int space_before_; | 1078 int space_before_; |
| 1076 #endif | 1079 #endif |
| 1077 }; | 1080 }; |
| 1078 | 1081 |
| 1079 } // namespace internal | 1082 } // namespace internal |
| 1080 } // namespace v8 | 1083 } // namespace v8 |
| 1081 | 1084 |
| 1082 #endif // V8_X87_ASSEMBLER_X87_H_ | 1085 #endif // V8_X87_ASSEMBLER_X87_H_ |
| OLD | NEW |