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

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

Issue 1858002: Port inlined version of swap primitive for sorting from ia32 to x64.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' 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 | 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 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 MacroAssembler(void* buffer, int size); 59 MacroAssembler(void* buffer, int size);
60 60
61 void LoadRoot(Register destination, Heap::RootListIndex index); 61 void LoadRoot(Register destination, Heap::RootListIndex index);
62 void CompareRoot(Register with, Heap::RootListIndex index); 62 void CompareRoot(Register with, Heap::RootListIndex index);
63 void CompareRoot(Operand with, Heap::RootListIndex index); 63 void CompareRoot(Operand with, Heap::RootListIndex index);
64 void PushRoot(Heap::RootListIndex index); 64 void PushRoot(Heap::RootListIndex index);
65 65
66 // --------------------------------------------------------------------------- 66 // ---------------------------------------------------------------------------
67 // GC Support 67 // GC Support
68 68
69 void RecordWriteHelper(Register object,
70 Register addr,
71 Register scratch);
72
69 // Check if object is in new space. The condition cc can be equal or 73 // Check if object is in new space. The condition cc can be equal or
70 // not_equal. If it is equal a jump will be done if the object is on new 74 // not_equal. If it is equal a jump will be done if the object is on new
71 // space. The register scratch can be object itself, but it will be clobbered. 75 // space. The register scratch can be object itself, but it will be clobbered.
72 void InNewSpace(Register object, 76 void InNewSpace(Register object,
73 Register scratch, 77 Register scratch,
74 Condition cc, 78 Condition cc,
75 Label* branch); 79 Label* branch);
76 80
77 // Set the remembered set bit for [object+offset]. 81 // Set the remembered set bit for [object+offset].
78 // object is the object being stored into, value is the object being stored. 82 // object is the object being stored into, value is the object being stored.
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 } \ 853 } \
850 masm-> 854 masm->
851 #else 855 #else
852 #define ACCESS_MASM(masm) masm-> 856 #define ACCESS_MASM(masm) masm->
853 #endif 857 #endif
854 858
855 859
856 } } // namespace v8::internal 860 } } // namespace v8::internal
857 861
858 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 862 #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