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

Side by Side Diff: src/assembler_ia32.h

Issue 1125323004: Subzero: Use cmov to improve lowering for the select instruction. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove a rogue comment Created 5 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
« 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 //===- 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 void mov(Type Ty, const Address &dst, GPRRegister src); 503 void mov(Type Ty, const Address &dst, GPRRegister src);
504 void mov(Type Ty, const Address &dst, const Immediate &imm); 504 void mov(Type Ty, const Address &dst, const Immediate &imm);
505 505
506 void movzx(Type Ty, GPRRegister dst, GPRRegister src); 506 void movzx(Type Ty, GPRRegister dst, GPRRegister src);
507 void movzx(Type Ty, GPRRegister dst, const Address &src); 507 void movzx(Type Ty, GPRRegister dst, const Address &src);
508 void movsx(Type Ty, GPRRegister dst, GPRRegister src); 508 void movsx(Type Ty, GPRRegister dst, GPRRegister src);
509 void movsx(Type Ty, GPRRegister dst, const Address &src); 509 void movsx(Type Ty, GPRRegister dst, const Address &src);
510 510
511 void lea(Type Ty, GPRRegister dst, const Address &src); 511 void lea(Type Ty, GPRRegister dst, const Address &src);
512 512
513 void cmov(CondX86::BrCond cond, GPRRegister dst, GPRRegister src); 513 void cmov(Type Ty, CondX86::BrCond cond, GPRRegister dst, GPRRegister src);
514 void cmov(Type Ty, CondX86::BrCond cond, GPRRegister dst, const Address &src);
514 515
515 void rep_movsb(); 516 void rep_movsb();
516 517
517 void movss(Type Ty, XmmRegister dst, const Address &src); 518 void movss(Type Ty, XmmRegister dst, const Address &src);
518 void movss(Type Ty, const Address &dst, XmmRegister src); 519 void movss(Type Ty, const Address &dst, XmmRegister src);
519 void movss(Type Ty, XmmRegister dst, XmmRegister src); 520 void movss(Type Ty, XmmRegister dst, XmmRegister src);
520 521
521 void movd(XmmRegister dst, GPRRegister src); 522 void movd(XmmRegister dst, GPRRegister src);
522 void movd(XmmRegister dst, const Address &src); 523 void movd(XmmRegister dst, const Address &src);
523 void movd(GPRRegister dst, XmmRegister src); 524 void movd(GPRRegister dst, XmmRegister src);
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 inline void AssemblerX8632::EmitFixup(AssemblerFixup *fixup) { 884 inline void AssemblerX8632::EmitFixup(AssemblerFixup *fixup) {
884 buffer_.EmitFixup(fixup); 885 buffer_.EmitFixup(fixup);
885 } 886 }
886 887
887 inline void AssemblerX8632::EmitOperandSizeOverride() { EmitUint8(0x66); } 888 inline void AssemblerX8632::EmitOperandSizeOverride() { EmitUint8(0x66); }
888 889
889 } // end of namespace X8632 890 } // end of namespace X8632
890 } // end of namespace Ice 891 } // end of namespace Ice
891 892
892 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H 893 #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