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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 | 185 |
186 void adc(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, | 186 void adc(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, |
187 bool SetFlags, CondARM32::Cond Cond); | 187 bool SetFlags, CondARM32::Cond Cond); |
188 | 188 |
189 void add(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, | 189 void add(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, |
190 bool SetFlags, CondARM32::Cond Cond); | 190 bool SetFlags, CondARM32::Cond Cond); |
191 | 191 |
192 void and_(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, | 192 void and_(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, |
193 bool SetFlags, CondARM32::Cond Cond); | 193 bool SetFlags, CondARM32::Cond Cond); |
194 | 194 |
| 195 void asr(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, |
| 196 bool SetFlags, CondARM32::Cond Cond); |
| 197 |
195 void b(Label *L, CondARM32::Cond Cond); | 198 void b(Label *L, CondARM32::Cond Cond); |
196 | 199 |
197 void bkpt(uint16_t Imm16); | 200 void bkpt(uint16_t Imm16); |
198 | 201 |
199 void bic(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, | 202 void bic(const Operand *OpRd, const Operand *OpRn, const Operand *OpSrc1, |
200 bool SetFlags, CondARM32::Cond Cond); | 203 bool SetFlags, CondARM32::Cond Cond); |
201 | 204 |
202 void bl(const ConstantRelocatable *Target); | 205 void bl(const ConstantRelocatable *Target); |
203 | 206 |
204 void blx(const Operand *Target); | 207 void blx(const Operand *Target); |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 // where cccc=Cond, xxxxxxx<<21=Opcode, dddd=Rd, s=SetFlags, and | 417 // where cccc=Cond, xxxxxxx<<21=Opcode, dddd=Rd, s=SetFlags, and |
415 // iiiiiiiiiiiiiiii=Imm16. | 418 // iiiiiiiiiiiiiiii=Imm16. |
416 void emitMovwt(CondARM32::Cond Cond, bool IsMovw, const Operand *OpRd, | 419 void emitMovwt(CondARM32::Cond Cond, bool IsMovw, const Operand *OpRd, |
417 const Operand *OpSrc, const char *MovName); | 420 const Operand *OpSrc, const char *MovName); |
418 }; | 421 }; |
419 | 422 |
420 } // end of namespace ARM32 | 423 } // end of namespace ARM32 |
421 } // end of namespace Ice | 424 } // end of namespace Ice |
422 | 425 |
423 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H | 426 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H |
OLD | NEW |