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

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 146082: X64 implementation: comparison operations. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 6 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/x64/codegen-x64.cc ('k') | src/x64/macro-assembler-x64.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 } 165 }
166 166
167 void LoadUnsafeSmi(Register dst, Smi* source); 167 void LoadUnsafeSmi(Register dst, Smi* source);
168 void LoadUnsafeSmi(Register dst, Handle<Object> source) { 168 void LoadUnsafeSmi(Register dst, Handle<Object> source) {
169 LoadUnsafeSmi(dst, Smi::cast(*source)); 169 LoadUnsafeSmi(dst, Smi::cast(*source));
170 } 170 }
171 171
172 void Move(Register dst, Handle<Object> source); 172 void Move(Register dst, Handle<Object> source);
173 void Move(const Operand& dst, Handle<Object> source); 173 void Move(const Operand& dst, Handle<Object> source);
174 void Cmp(Register dst, Handle<Object> source); 174 void Cmp(Register dst, Handle<Object> source);
175 void Cmp(const Operand& dst, Handle<Object> source);
175 void Push(Handle<Object> source); 176 void Push(Handle<Object> source);
176 177
177 // Control Flow 178 // Control Flow
178 void Jump(Address destination, RelocInfo::Mode rmode); 179 void Jump(Address destination, RelocInfo::Mode rmode);
179 void Jump(ExternalReference ext); 180 void Jump(ExternalReference ext);
180 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); 181 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode);
181 182
182 void Call(Address destination, RelocInfo::Mode rmode); 183 void Call(Address destination, RelocInfo::Mode rmode);
183 void Call(ExternalReference ext); 184 void Call(ExternalReference ext);
184 void Call(Handle<Code> code_object, RelocInfo::Mode rmode); 185 void Call(Handle<Code> code_object, RelocInfo::Mode rmode);
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 } \ 406 } \
406 masm-> 407 masm->
407 #else 408 #else
408 #define ACCESS_MASM(masm) masm-> 409 #define ACCESS_MASM(masm) masm->
409 #endif 410 #endif
410 411
411 412
412 } } // namespace v8::internal 413 } } // namespace v8::internal
413 414
414 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 415 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698