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

Side by Side Diff: src/IceAssemblerARM32.h

Issue 1636473002: Add the VMRS instruction to the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Format. 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
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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 CondARM32::Cond Cond, const TargetInfo &TInfo); 377 CondARM32::Cond Cond, const TargetInfo &TInfo);
378 378
379 void vldrs(const Operand *OpSd, const Operand *OpAddress, 379 void vldrs(const Operand *OpSd, const Operand *OpAddress,
380 CondARM32::Cond Cond, const TargetLowering *Lowering) { 380 CondARM32::Cond Cond, const TargetLowering *Lowering) {
381 const TargetInfo TInfo(Lowering); 381 const TargetInfo TInfo(Lowering);
382 vldrs(OpSd, OpAddress, Cond, TInfo); 382 vldrs(OpSd, OpAddress, Cond, TInfo);
383 } 383 }
384 384
385 void vmovsr(const Operand *OpSn, const Operand *OpRt, CondARM32::Cond Cond); 385 void vmovsr(const Operand *OpSn, const Operand *OpRt, CondARM32::Cond Cond);
386 386
387 // Uses APSR_nzcv as register
388 void vmrsAPSR_nzcv(CondARM32::Cond Cond);
389
387 void vmuld(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm, 390 void vmuld(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm,
388 CondARM32::Cond Cond); 391 CondARM32::Cond Cond);
389 392
390 void vmuls(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm, 393 void vmuls(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm,
391 CondARM32::Cond Cond); 394 CondARM32::Cond Cond);
392 395
393 void vpop(const Variable *OpBaseReg, SizeT NumConsecRegs, 396 void vpop(const Variable *OpBaseReg, SizeT NumConsecRegs,
394 CondARM32::Cond Cond); 397 CondARM32::Cond Cond);
395 398
396 void vpush(const Variable *OpBaseReg, SizeT NumConsecRegs, 399 void vpush(const Variable *OpBaseReg, SizeT NumConsecRegs,
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 581
579 // Emit VFP instruction with 3 S registers. 582 // Emit VFP instruction with 3 S registers.
580 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn, 583 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn,
581 IValueT Sm); 584 IValueT Sm);
582 }; 585 };
583 586
584 } // end of namespace ARM32 587 } // end of namespace ARM32
585 } // end of namespace Ice 588 } // end of namespace Ice
586 589
587 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H 590 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698