Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 //===- subzero/src/IceAssemblerX86Base.h - base x86 assembler -*- C++ -*---===// | 1 //===- subzero/src/IceAssemblerX86Base.h - base x86 assembler -*- 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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 744 | 744 |
| 745 void imul(Type Ty, typename Traits::GPRRegister dst, | 745 void imul(Type Ty, typename Traits::GPRRegister dst, |
| 746 typename Traits::GPRRegister src); | 746 typename Traits::GPRRegister src); |
| 747 void imul(Type Ty, typename Traits::GPRRegister reg, const Immediate &imm); | 747 void imul(Type Ty, typename Traits::GPRRegister reg, const Immediate &imm); |
| 748 void imul(Type Ty, typename Traits::GPRRegister reg, | 748 void imul(Type Ty, typename Traits::GPRRegister reg, |
| 749 const typename Traits::Address &address); | 749 const typename Traits::Address &address); |
| 750 | 750 |
| 751 void imul(Type Ty, typename Traits::GPRRegister reg); | 751 void imul(Type Ty, typename Traits::GPRRegister reg); |
| 752 void imul(Type Ty, const typename Traits::Address &address); | 752 void imul(Type Ty, const typename Traits::Address &address); |
| 753 | 753 |
| 754 void imul_imm(Type Ty, typename Traits::GPRRegister dst, | |
|
Jim Stichnoth
2015/09/25 21:02:10
I'm not adamant about this, but following the exis
sehr
2015/09/25 23:04:40
Done.
| |
| 755 typename Traits::GPRRegister src, const Immediate &imm); | |
| 756 void imul_imm(Type Ty, typename Traits::GPRRegister dst, | |
| 757 const typename Traits::Address &address, const Immediate &imm); | |
| 758 | |
| 754 void mul(Type Ty, typename Traits::GPRRegister reg); | 759 void mul(Type Ty, typename Traits::GPRRegister reg); |
| 755 void mul(Type Ty, const typename Traits::Address &address); | 760 void mul(Type Ty, const typename Traits::Address &address); |
| 756 | 761 |
| 757 template <class T = Traits, | 762 template <class T = Traits, |
| 758 typename = typename std::enable_if<!T::Is64Bit>::type> | 763 typename = typename std::enable_if<!T::Is64Bit>::type> |
| 759 void incl(typename Traits::GPRRegister reg); | 764 void incl(typename Traits::GPRRegister reg); |
| 760 void incl(const typename Traits::Address &address); | 765 void incl(const typename Traits::Address &address); |
| 761 | 766 |
| 762 template <class T = Traits, | 767 template <class T = Traits, |
| 763 typename = typename std::enable_if<!T::Is64Bit>::type> | 768 typename = typename std::enable_if<!T::Is64Bit>::type> |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1066 emitUint8(0x66); | 1071 emitUint8(0x66); |
| 1067 } | 1072 } |
| 1068 | 1073 |
| 1069 } // end of namespace X86Internal | 1074 } // end of namespace X86Internal |
| 1070 | 1075 |
| 1071 } // end of namespace Ice | 1076 } // end of namespace Ice |
| 1072 | 1077 |
| 1073 #include "IceAssemblerX86BaseImpl.h" | 1078 #include "IceAssemblerX86BaseImpl.h" |
| 1074 | 1079 |
| 1075 #endif // SUBZERO_SRC_ICEASSEMBLERX86BASE_H | 1080 #endif // SUBZERO_SRC_ICEASSEMBLERX86BASE_H |
| OLD | NEW |