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

Side by Side Diff: src/IceAssemblerARM32.h

Issue 1568623003: Add VSUB{S,D} instructions to the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add comments to DART assembler. Created 4 years, 11 months 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 323
324 void vadds(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm, 324 void vadds(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm,
325 CondARM32::Cond Cond); 325 CondARM32::Cond Cond);
326 326
327 void vpop(const Variable *OpBaseReg, SizeT NumConsecRegs, 327 void vpop(const Variable *OpBaseReg, SizeT NumConsecRegs,
328 CondARM32::Cond Cond); 328 CondARM32::Cond Cond);
329 329
330 void vpush(const Variable *OpBaseReg, SizeT NumConsecRegs, 330 void vpush(const Variable *OpBaseReg, SizeT NumConsecRegs,
331 CondARM32::Cond Cond); 331 CondARM32::Cond Cond);
332 332
333 void vsubd(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm,
334 CondARM32::Cond Cond);
335
336 void vsubs(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm,
337 CondARM32::Cond Cond);
338
333 static bool classof(const Assembler *Asm) { 339 static bool classof(const Assembler *Asm) {
334 return Asm->getKind() == Asm_ARM32; 340 return Asm->getKind() == Asm_ARM32;
335 } 341 }
336 342
337 void emitTextInst(const std::string &Text, SizeT InstSize); 343 void emitTextInst(const std::string &Text, SizeT InstSize);
338 344
339 private: 345 private:
340 ENABLE_MAKE_UNIQUE; 346 ENABLE_MAKE_UNIQUE;
341 347
342 // A vector of pool-allocated x86 labels for CFG nodes. 348 // A vector of pool-allocated x86 labels for CFG nodes.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 486
481 // Emit VFP instruction with 3 S registers. 487 // Emit VFP instruction with 3 S registers.
482 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn, 488 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn,
483 IValueT Sm); 489 IValueT Sm);
484 }; 490 };
485 491
486 } // end of namespace ARM32 492 } // end of namespace ARM32
487 } // end of namespace Ice 493 } // end of namespace Ice
488 494
489 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H 495 #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