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

Side by Side Diff: src/IceAssemblerARM32.h

Issue 1509243002: Add ASR instruction to the ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years 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/DartARM32/assembler_arm.cc ('k') | src/IceAssemblerARM32.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/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
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
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
OLDNEW
« no previous file with comments | « src/DartARM32/assembler_arm.cc ('k') | src/IceAssemblerARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698