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

Side by Side Diff: src/assembler_ia32.h

Issue 633553003: emitIAS for push -- simplify push since it's not used for args passing anymore (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 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
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/assembler_ia32.cpp » ('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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // Modified by the Subzero authors. 5 // Modified by the Subzero authors.
6 // 6 //
7 //===- subzero/src/assembler_ia32.h - Assembler for x86-32 ----------------===// 7 //===- subzero/src/assembler_ia32.h - Assembler for x86-32 ----------------===//
8 // 8 //
9 // The Subzero Code Generator 9 // The Subzero Code Generator
10 // 10 //
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 * Emit Machine Instructions. 386 * Emit Machine Instructions.
387 */ 387 */
388 void call(GPRRegister reg); 388 void call(GPRRegister reg);
389 void call(const Address &address); 389 void call(const Address &address);
390 void call(Label *label); 390 void call(Label *label);
391 void call(const ConstantRelocatable *label); 391 void call(const ConstantRelocatable *label);
392 392
393 static const intptr_t kCallExternalLabelSize = 5; 393 static const intptr_t kCallExternalLabelSize = 5;
394 394
395 void pushl(GPRRegister reg); 395 void pushl(GPRRegister reg);
396 void pushl(const Address &address);
397 void pushl(const Immediate &imm);
398 396
399 void popl(GPRRegister reg); 397 void popl(GPRRegister reg);
400 void popl(const Address &address); 398 void popl(const Address &address);
401 399
402 void pushal(); 400 void pushal();
403 void popal(); 401 void popal();
404 402
405 void setcc(CondX86::BrCond condition, ByteRegister dst); 403 void setcc(CondX86::BrCond condition, ByteRegister dst);
406 404
407 void movl(GPRRegister dst, const Immediate &src); 405 void movl(GPRRegister dst, const Immediate &src);
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 inline void AssemblerX86::EmitFixup(AssemblerFixup *fixup) { 787 inline void AssemblerX86::EmitFixup(AssemblerFixup *fixup) {
790 buffer_.EmitFixup(fixup); 788 buffer_.EmitFixup(fixup);
791 } 789 }
792 790
793 inline void AssemblerX86::EmitOperandSizeOverride() { EmitUint8(0x66); } 791 inline void AssemblerX86::EmitOperandSizeOverride() { EmitUint8(0x66); }
794 792
795 } // end of namespace x86 793 } // end of namespace x86
796 } // end of namespace Ice 794 } // end of namespace Ice
797 795
798 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H_ 796 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | src/assembler_ia32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698