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

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

Issue 22041003: Introduce Push and Pop register macro instructions for all platforms (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 | « no previous file | src/full-codegen.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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 Register src, 137 Register src,
138 Register scratch, 138 Register scratch,
139 int lsb, 139 int lsb,
140 int width, 140 int width,
141 Condition cond = al); 141 Condition cond = al);
142 void Bfc(Register dst, Register src, int lsb, int width, Condition cond = al); 142 void Bfc(Register dst, Register src, int lsb, int width, Condition cond = al);
143 void Usat(Register dst, int satpos, const Operand& src, 143 void Usat(Register dst, int satpos, const Operand& src,
144 Condition cond = al); 144 Condition cond = al);
145 145
146 void Call(Label* target); 146 void Call(Label* target);
147 void Push(Register src) { push(src); }
148 void Pop(Register dst) { pop(dst); }
147 149
148 // Register move. May do nothing if the registers are identical. 150 // Register move. May do nothing if the registers are identical.
149 void Move(Register dst, Handle<Object> value); 151 void Move(Register dst, Handle<Object> value);
150 void Move(Register dst, Register src, Condition cond = al); 152 void Move(Register dst, Register src, Condition cond = al);
151 void Move(DwVfpRegister dst, DwVfpRegister src); 153 void Move(DwVfpRegister dst, DwVfpRegister src);
152 154
153 // Load an object from the root table. 155 // Load an object from the root table.
154 void LoadRoot(Register destination, 156 void LoadRoot(Register destination,
155 Heap::RootListIndex index, 157 Heap::RootListIndex index,
156 Condition cond = al); 158 Condition cond = al);
(...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1458 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1457 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1459 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1458 #else 1460 #else
1459 #define ACCESS_MASM(masm) masm-> 1461 #define ACCESS_MASM(masm) masm->
1460 #endif 1462 #endif
1461 1463
1462 1464
1463 } } // namespace v8::internal 1465 } } // namespace v8::internal
1464 1466
1465 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1467 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/full-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698