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

Side by Side Diff: src/IceAssemblerX8632.h

Issue 1182603004: Subzero: Transform suitable Load/Arith/Store sequences into RMW ops. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 5 years, 6 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 | « no previous file | src/IceAssemblerX8632.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 // 2 //
3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 // 6 //
7 // Modified by the Subzero authors. 7 // Modified by the Subzero authors.
8 // 8 //
9 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===//
10 // 10 //
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 void Or(Type Ty, GPRRegister dst, const Address &address); 713 void Or(Type Ty, GPRRegister dst, const Address &address);
714 void Or(Type Ty, GPRRegister dst, const Immediate &imm); 714 void Or(Type Ty, GPRRegister dst, const Immediate &imm);
715 715
716 void Xor(Type Ty, GPRRegister dst, GPRRegister src); 716 void Xor(Type Ty, GPRRegister dst, GPRRegister src);
717 void Xor(Type Ty, GPRRegister dst, const Address &address); 717 void Xor(Type Ty, GPRRegister dst, const Address &address);
718 void Xor(Type Ty, GPRRegister dst, const Immediate &imm); 718 void Xor(Type Ty, GPRRegister dst, const Immediate &imm);
719 719
720 void add(Type Ty, GPRRegister dst, GPRRegister src); 720 void add(Type Ty, GPRRegister dst, GPRRegister src);
721 void add(Type Ty, GPRRegister reg, const Address &address); 721 void add(Type Ty, GPRRegister reg, const Address &address);
722 void add(Type Ty, GPRRegister reg, const Immediate &imm); 722 void add(Type Ty, GPRRegister reg, const Immediate &imm);
723 void add(Type Ty, const Address &address, GPRRegister reg);
724 void add(Type Ty, const Address &address, const Immediate &imm);
723 725
724 void adc(Type Ty, GPRRegister dst, GPRRegister src); 726 void adc(Type Ty, GPRRegister dst, GPRRegister src);
725 void adc(Type Ty, GPRRegister dst, const Address &address); 727 void adc(Type Ty, GPRRegister dst, const Address &address);
726 void adc(Type Ty, GPRRegister reg, const Immediate &imm); 728 void adc(Type Ty, GPRRegister reg, const Immediate &imm);
727 729
728 void sub(Type Ty, GPRRegister dst, GPRRegister src); 730 void sub(Type Ty, GPRRegister dst, GPRRegister src);
729 void sub(Type Ty, GPRRegister reg, const Address &address); 731 void sub(Type Ty, GPRRegister reg, const Address &address);
730 void sub(Type Ty, GPRRegister reg, const Immediate &imm); 732 void sub(Type Ty, GPRRegister reg, const Immediate &imm);
731 733
732 void sbb(Type Ty, GPRRegister dst, GPRRegister src); 734 void sbb(Type Ty, GPRRegister dst, GPRRegister src);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 inline void AssemblerX8632::emitFixup(AssemblerFixup *fixup) { 885 inline void AssemblerX8632::emitFixup(AssemblerFixup *fixup) {
884 Buffer.emitFixup(fixup); 886 Buffer.emitFixup(fixup);
885 } 887 }
886 888
887 inline void AssemblerX8632::emitOperandSizeOverride() { emitUint8(0x66); } 889 inline void AssemblerX8632::emitOperandSizeOverride() { emitUint8(0x66); }
888 890
889 } // end of namespace X8632 891 } // end of namespace X8632
890 } // end of namespace Ice 892 } // end of namespace Ice
891 893
892 #endif // SUBZERO_SRC_ICEASSEMBLERX8632_H 894 #endif // SUBZERO_SRC_ICEASSEMBLERX8632_H
OLDNEW
« no previous file with comments | « no previous file | src/IceAssemblerX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698