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

Side by Side Diff: src/IceAssemblerARM32.h

Issue 1624383004: Add VMOV(immediate) instructions to the ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix issues in previous patch. 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 375
376 void vldrs(const Operand *OpSd, const Operand *OpAddress, 376 void vldrs(const Operand *OpSd, const Operand *OpAddress,
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 vmovd(const Operand *OpDn, const OperandARM32FlexFpImm *OpFpImm,
386 CondARM32::Cond Cond);
387
388 void vmovs(const Operand *OpSn, const OperandARM32FlexFpImm *OpFpImm,
389 CondARM32::Cond Cond);
390
385 void vmovsr(const Operand *OpSn, const Operand *OpRt, CondARM32::Cond Cond); 391 void vmovsr(const Operand *OpSn, const Operand *OpRt, CondARM32::Cond Cond);
386 392
387 // Uses APSR_nzcv as register 393 // Uses APSR_nzcv as register
388 void vmrsAPSR_nzcv(CondARM32::Cond Cond); 394 void vmrsAPSR_nzcv(CondARM32::Cond Cond);
389 395
390 void vmuld(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm, 396 void vmuld(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm,
391 CondARM32::Cond Cond); 397 CondARM32::Cond Cond);
392 398
393 void vmuls(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm, 399 void vmuls(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm,
394 CondARM32::Cond Cond); 400 CondARM32::Cond Cond);
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 590
585 // Emit VFP instruction with 3 S registers. 591 // Emit VFP instruction with 3 S registers.
586 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn, 592 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn,
587 IValueT Sm); 593 IValueT Sm);
588 }; 594 };
589 595
590 } // end of namespace ARM32 596 } // end of namespace ARM32
591 } // end of namespace Ice 597 } // end of namespace Ice
592 598
593 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H 599 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698