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 1017373002: Subzero: Assemble calls to constant addresses. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: move test back Created 5 years, 9 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/PNaClTranslator.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 //===- subzero/src/assembler_ia32.h - Assembler for x86-32 ------*- C++ -*-===// 1 //===- subzero/src/assembler_ia32.h - Assembler for x86-32 ------*- C++ -*-===//
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 // 5 //
6 // Modified by the Subzero authors. 6 // Modified by the Subzero authors.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // The Subzero Code Generator 10 // The Subzero Code Generator
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 TypedEmitRegRegImm RegRegImm; 468 TypedEmitRegRegImm RegRegImm;
469 TypedEmitRegAddrImm RegAddrImm; 469 TypedEmitRegAddrImm RegAddrImm;
470 }; 470 };
471 471
472 /* 472 /*
473 * Emit Machine Instructions. 473 * Emit Machine Instructions.
474 */ 474 */
475 void call(GPRRegister reg); 475 void call(GPRRegister reg);
476 void call(const Address &address); 476 void call(const Address &address);
477 void call(const ConstantRelocatable *label); 477 void call(const ConstantRelocatable *label);
478 void call(const Immediate &abs_address);
478 479
479 static const intptr_t kCallExternalLabelSize = 5; 480 static const intptr_t kCallExternalLabelSize = 5;
480 481
481 void pushl(GPRRegister reg); 482 void pushl(GPRRegister reg);
482 483
483 void popl(GPRRegister reg); 484 void popl(GPRRegister reg);
484 void popl(const Address &address); 485 void popl(const Address &address);
485 486
486 void pushal(); 487 void pushal();
487 void popal(); 488 void popal();
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 inline void AssemblerX86::EmitFixup(AssemblerFixup *fixup) { 873 inline void AssemblerX86::EmitFixup(AssemblerFixup *fixup) {
873 buffer_.EmitFixup(fixup); 874 buffer_.EmitFixup(fixup);
874 } 875 }
875 876
876 inline void AssemblerX86::EmitOperandSizeOverride() { EmitUint8(0x66); } 877 inline void AssemblerX86::EmitOperandSizeOverride() { EmitUint8(0x66); }
877 878
878 } // end of namespace x86 879 } // end of namespace x86
879 } // end of namespace Ice 880 } // end of namespace Ice
880 881
881 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H_ 882 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | src/assembler_ia32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698