| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 void popl(const typename Traits::Address &address); | 325 void popl(const typename Traits::Address &address); |
| 326 | 326 |
| 327 void pushal(); | 327 void pushal(); |
| 328 void popal(); | 328 void popal(); |
| 329 | 329 |
| 330 void setcc(typename Traits::Cond::BrCond condition, | 330 void setcc(typename Traits::Cond::BrCond condition, |
| 331 typename Traits::ByteRegister dst); | 331 typename Traits::ByteRegister dst); |
| 332 void setcc(typename Traits::Cond::BrCond condition, | 332 void setcc(typename Traits::Cond::BrCond condition, |
| 333 const typename Traits::Address &address); | 333 const typename Traits::Address &address); |
| 334 | 334 |
| 335 // All mov() overloads are tested. |
| 335 void mov(Type Ty, typename Traits::GPRRegister dst, const Immediate &src); | 336 void mov(Type Ty, typename Traits::GPRRegister dst, const Immediate &src); |
| 336 void mov(Type Ty, typename Traits::GPRRegister dst, | 337 void mov(Type Ty, typename Traits::GPRRegister dst, |
| 337 typename Traits::GPRRegister src); | 338 typename Traits::GPRRegister src); |
| 338 | |
| 339 void mov(Type Ty, typename Traits::GPRRegister dst, | 339 void mov(Type Ty, typename Traits::GPRRegister dst, |
| 340 const typename Traits::Address &src); | 340 const typename Traits::Address &src); |
| 341 void mov(Type Ty, const typename Traits::Address &dst, | 341 void mov(Type Ty, const typename Traits::Address &dst, |
| 342 typename Traits::GPRRegister src); | 342 typename Traits::GPRRegister src); |
| 343 void mov(Type Ty, const typename Traits::Address &dst, const Immediate &imm); | 343 void mov(Type Ty, const typename Traits::Address &dst, const Immediate &imm); |
| 344 | 344 |
| 345 void movzx(Type Ty, typename Traits::GPRRegister dst, | 345 void movzx(Type Ty, typename Traits::GPRRegister dst, |
| 346 typename Traits::GPRRegister src); | 346 typename Traits::GPRRegister src); |
| 347 void movzx(Type Ty, typename Traits::GPRRegister dst, | 347 void movzx(Type Ty, typename Traits::GPRRegister dst, |
| 348 const typename Traits::Address &src); | 348 const typename Traits::Address &src); |
| (...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 emitUint8(0x66); | 946 emitUint8(0x66); |
| 947 } | 947 } |
| 948 | 948 |
| 949 } // end of namespace X86Internal | 949 } // end of namespace X86Internal |
| 950 | 950 |
| 951 } // end of namespace Ice | 951 } // end of namespace Ice |
| 952 | 952 |
| 953 #include "IceAssemblerX86BaseImpl.h" | 953 #include "IceAssemblerX86BaseImpl.h" |
| 954 | 954 |
| 955 #endif // SUBZERO_SRC_ICEASSEMBLERX86BASE_H | 955 #endif // SUBZERO_SRC_ICEASSEMBLERX86BASE_H |
| OLD | NEW |