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

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

Issue 1689010: X64: Faster push/pop implementation. (Closed)
Patch Set: Addressed review comments. Created 10 years, 7 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
« 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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // The value is known to not be a smi. 95 // The value is known to not be a smi.
96 // object is the object being stored into, value is the object being stored. 96 // object is the object being stored into, value is the object being stored.
97 // If offset is zero, then the scratch register contains the array index into 97 // If offset is zero, then the scratch register contains the array index into
98 // the elements array represented as a Smi. 98 // the elements array represented as a Smi.
99 // All registers are clobbered by the operation. 99 // All registers are clobbered by the operation.
100 void RecordWriteNonSmi(Register object, 100 void RecordWriteNonSmi(Register object,
101 int offset, 101 int offset,
102 Register value, 102 Register value,
103 Register scratch); 103 Register scratch);
104 104
105
106 #ifdef ENABLE_DEBUGGER_SUPPORT 105 #ifdef ENABLE_DEBUGGER_SUPPORT
107 // --------------------------------------------------------------------------- 106 // ---------------------------------------------------------------------------
108 // Debugger Support 107 // Debugger Support
109 108
110 void SaveRegistersToMemory(RegList regs); 109 void SaveRegistersToMemory(RegList regs);
111 void RestoreRegistersFromMemory(RegList regs); 110 void RestoreRegistersFromMemory(RegList regs);
112 void PushRegistersFromMemory(RegList regs); 111 void PushRegistersFromMemory(RegList regs);
113 void PopRegistersToMemory(RegList regs); 112 void PopRegistersToMemory(RegList regs);
114 void CopyRegistersFromStackToMemory(Register base, 113 void CopyRegistersFromStackToMemory(Register base,
115 Register scratch, 114 Register scratch,
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 } \ 855 } \
857 masm-> 856 masm->
858 #else 857 #else
859 #define ACCESS_MASM(masm) masm-> 858 #define ACCESS_MASM(masm) masm->
860 #endif 859 #endif
861 860
862 861
863 } } // namespace v8::internal 862 } } // namespace v8::internal
864 863
865 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 864 #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