| 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 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. | 186 // Index of register used in pusha/popa. |
| 187 // Order of pushed registers: EAX, ECX, EDX, EBX, ESP, EBP, ESI, and EDI | 187 // Order of pushed registers: eax, ecx, edx, ebx, esp, ebp, esi, and edi. |
| 188 inline int EspIndexForPushAll(Register reg) { | 188 inline int EspIndexForPushAll(Register reg) { |
| 189 return Register::kNumRegisters - 1 - reg.code(); | 189 return Register::kNumRegisters - 1 - reg.code(); |
| 190 } | 190 } |
| 191 | 191 |
| 192 | 192 |
| 193 enum Condition { | 193 enum Condition { |
| 194 // any value < 0 is considered no_condition | 194 // any value < 0 is considered no_condition |
| 195 no_condition = -1, | 195 no_condition = -1, |
| 196 | 196 |
| 197 overflow = 0, | 197 overflow = 0, |
| (...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1087 private: | 1087 private: |
| 1088 Assembler* assembler_; | 1088 Assembler* assembler_; |
| 1089 #ifdef DEBUG | 1089 #ifdef DEBUG |
| 1090 int space_before_; | 1090 int space_before_; |
| 1091 #endif | 1091 #endif |
| 1092 }; | 1092 }; |
| 1093 | 1093 |
| 1094 } } // namespace v8::internal | 1094 } } // namespace v8::internal |
| 1095 | 1095 |
| 1096 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1096 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |