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

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

Issue 26216008: Introduce MoveDouble to the X64 MacroAssembler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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/lithium-codegen-x64.cc ('k') | src/x64/stub-cache-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after
839 839
840 // Emit code to discard a non-negative number of pointer-sized elements 840 // Emit code to discard a non-negative number of pointer-sized elements
841 // from the stack, clobbering only the rsp register. 841 // from the stack, clobbering only the rsp register.
842 void Drop(int stack_elements); 842 void Drop(int stack_elements);
843 843
844 void Call(Label* target) { call(target); } 844 void Call(Label* target) { call(target); }
845 void Push(Register src) { push(src); } 845 void Push(Register src) { push(src); }
846 void Pop(Register dst) { pop(dst); } 846 void Pop(Register dst) { pop(dst); }
847 void PushReturnAddressFrom(Register src) { push(src); } 847 void PushReturnAddressFrom(Register src) { push(src); }
848 void PopReturnAddressTo(Register dst) { pop(dst); } 848 void PopReturnAddressTo(Register dst) { pop(dst); }
849 void MoveDouble(Register dst, const Operand& src) { movq(dst, src); }
850 void MoveDouble(const Operand& dst, Register src) { movq(dst, src); }
849 851
850 // Control Flow 852 // Control Flow
851 void Jump(Address destination, RelocInfo::Mode rmode); 853 void Jump(Address destination, RelocInfo::Mode rmode);
852 void Jump(ExternalReference ext); 854 void Jump(ExternalReference ext);
853 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); 855 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode);
854 856
855 void Call(Address destination, RelocInfo::Mode rmode); 857 void Call(Address destination, RelocInfo::Mode rmode);
856 void Call(ExternalReference ext); 858 void Call(ExternalReference ext);
857 void Call(Handle<Code> code_object, 859 void Call(Handle<Code> code_object,
858 RelocInfo::Mode rmode, 860 RelocInfo::Mode rmode,
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
1603 masm->popfq(); \ 1605 masm->popfq(); \
1604 } \ 1606 } \
1605 masm-> 1607 masm->
1606 #else 1608 #else
1607 #define ACCESS_MASM(masm) masm-> 1609 #define ACCESS_MASM(masm) masm->
1608 #endif 1610 #endif
1609 1611
1610 } } // namespace v8::internal 1612 } } // namespace v8::internal
1611 1613
1612 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1614 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-codegen-x64.cc ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698