| OLD | NEW |
| 1 //===- subzero/src/IceAssemblerARM32.h - Assembler for ARM32 ----*- C++ -*-===// | 1 //===- subzero/src/IceAssemblerARM32.h - Assembler for ARM32 ----*- 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 198 |
| 199 void bic(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, | 199 void bic(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, |
| 200 bool SetFlags, CondARM32::Cond Cond); | 200 bool SetFlags, CondARM32::Cond Cond); |
| 201 | 201 |
| 202 void bl(const ConstantRelocatable *Target); | 202 void bl(const ConstantRelocatable *Target); |
| 203 | 203 |
| 204 void blx(const Operand *Target); | 204 void blx(const Operand *Target); |
| 205 | 205 |
| 206 void bx(RegARM32::GPRRegister Rm, CondARM32::Cond Cond = CondARM32::AL); | 206 void bx(RegARM32::GPRRegister Rm, CondARM32::Cond Cond = CondARM32::AL); |
| 207 | 207 |
| 208 void clz(const Operand *OpRd, const Operand *OpSrc, CondARM32::Cond Cond); |
| 209 |
| 208 void cmn(const Operand *OpRn, const Operand *OpSrc1, CondARM32::Cond Cond); | 210 void cmn(const Operand *OpRn, const Operand *OpSrc1, CondARM32::Cond Cond); |
| 209 | 211 |
| 210 void cmp(const Operand *OpRn, const Operand *OpSrc1, CondARM32::Cond Cond); | 212 void cmp(const Operand *OpRn, const Operand *OpSrc1, CondARM32::Cond Cond); |
| 211 | 213 |
| 212 void dmb(IValueT Option); // Option is a 4-bit value. | 214 void dmb(IValueT Option); // Option is a 4-bit value. |
| 213 | 215 |
| 214 void eor(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, | 216 void eor(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, |
| 215 bool SetFlags, CondARM32::Cond Cond); | 217 bool SetFlags, CondARM32::Cond Cond); |
| 216 | 218 |
| 217 void ldr(const Operand *OpRt, const Operand *OpAddress, CondARM32::Cond Cond, | 219 void ldr(const Operand *OpRt, const Operand *OpAddress, CondARM32::Cond Cond, |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 // where cccc=Cond, xxxxxxx<<21=Opcode, dddd=Rd, s=SetFlags, and | 427 // where cccc=Cond, xxxxxxx<<21=Opcode, dddd=Rd, s=SetFlags, and |
| 426 // iiiiiiiiiiiiiiii=Imm16. | 428 // iiiiiiiiiiiiiiii=Imm16. |
| 427 void emitMovwt(CondARM32::Cond Cond, bool IsMovw, const Operand *OpRd, | 429 void emitMovwt(CondARM32::Cond Cond, bool IsMovw, const Operand *OpRd, |
| 428 const Operand *OpSrc, const char *MovName); | 430 const Operand *OpSrc, const char *MovName); |
| 429 }; | 431 }; |
| 430 | 432 |
| 431 } // end of namespace ARM32 | 433 } // end of namespace ARM32 |
| 432 } // end of namespace Ice | 434 } // end of namespace Ice |
| 433 | 435 |
| 434 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H | 436 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H |
| OLD | NEW |