| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 const XMMRegister xmm3 = { 3 }; | 176 const XMMRegister xmm3 = { 3 }; |
| 177 const XMMRegister xmm4 = { 4 }; | 177 const XMMRegister xmm4 = { 4 }; |
| 178 const XMMRegister xmm5 = { 5 }; | 178 const XMMRegister xmm5 = { 5 }; |
| 179 const XMMRegister xmm6 = { 6 }; | 179 const XMMRegister xmm6 = { 6 }; |
| 180 const XMMRegister xmm7 = { 7 }; | 180 const XMMRegister xmm7 = { 7 }; |
| 181 | 181 |
| 182 | 182 |
| 183 typedef XMMRegister DoubleRegister; | 183 typedef XMMRegister DoubleRegister; |
| 184 | 184 |
| 185 | 185 |
| 186 // Index of register used in pusha/popa. | |
| 187 // Order of pushed registers: eax, ecx, edx, ebx, esp, ebp, esi, and edi. | |
| 188 inline int EspIndexForPushAll(Register reg) { | |
| 189 return Register::kNumRegisters - 1 - reg.code(); | |
| 190 } | |
| 191 | |
| 192 | |
| 193 enum Condition { | 186 enum Condition { |
| 194 // any value < 0 is considered no_condition | 187 // any value < 0 is considered no_condition |
| 195 no_condition = -1, | 188 no_condition = -1, |
| 196 | 189 |
| 197 overflow = 0, | 190 overflow = 0, |
| 198 no_overflow = 1, | 191 no_overflow = 1, |
| 199 below = 2, | 192 below = 2, |
| 200 above_equal = 3, | 193 above_equal = 3, |
| 201 equal = 4, | 194 equal = 4, |
| 202 not_equal = 5, | 195 not_equal = 5, |
| (...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1087 private: | 1080 private: |
| 1088 Assembler* assembler_; | 1081 Assembler* assembler_; |
| 1089 #ifdef DEBUG | 1082 #ifdef DEBUG |
| 1090 int space_before_; | 1083 int space_before_; |
| 1091 #endif | 1084 #endif |
| 1092 }; | 1085 }; |
| 1093 | 1086 |
| 1094 } } // namespace v8::internal | 1087 } } // namespace v8::internal |
| 1095 | 1088 |
| 1096 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1089 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |