Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/ia32/assembler-ia32.h

Issue 6541051: Unifying the handling of storing and loading from safepoint stack (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698