| 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 | 343 |
| 344 void vmuls(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm, | 344 void vmuls(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm, |
| 345 CondARM32::Cond Cond); | 345 CondARM32::Cond Cond); |
| 346 | 346 |
| 347 void vpop(const Variable *OpBaseReg, SizeT NumConsecRegs, | 347 void vpop(const Variable *OpBaseReg, SizeT NumConsecRegs, |
| 348 CondARM32::Cond Cond); | 348 CondARM32::Cond Cond); |
| 349 | 349 |
| 350 void vpush(const Variable *OpBaseReg, SizeT NumConsecRegs, | 350 void vpush(const Variable *OpBaseReg, SizeT NumConsecRegs, |
| 351 CondARM32::Cond Cond); | 351 CondARM32::Cond Cond); |
| 352 | 352 |
| 353 void vstrd(const Operand *OpDd, const Operand *OpAddress, |
| 354 CondARM32::Cond Cond, const TargetInfo &TInfo); |
| 355 |
| 356 void vstrd(const Operand *OpDd, const Operand *OpAddress, |
| 357 CondARM32::Cond Cond, const TargetLowering *Lowering) { |
| 358 const TargetInfo TInfo(Lowering); |
| 359 vstrd(OpDd, OpAddress, Cond, TInfo); |
| 360 } |
| 361 |
| 362 void vstrs(const Operand *OpSd, const Operand *OpAddress, |
| 363 CondARM32::Cond Cond, const TargetInfo &TInfo); |
| 364 |
| 365 void vstrs(const Operand *OpSd, const Operand *OpAddress, |
| 366 CondARM32::Cond Cond, const TargetLowering *Lowering) { |
| 367 const TargetInfo TInfo(Lowering); |
| 368 vstrs(OpSd, OpAddress, Cond, TInfo); |
| 369 } |
| 370 |
| 353 void vsubd(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm, | 371 void vsubd(const Operand *OpDd, const Operand *OpDn, const Operand *OpDm, |
| 354 CondARM32::Cond Cond); | 372 CondARM32::Cond Cond); |
| 355 | 373 |
| 356 void vsubs(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm, | 374 void vsubs(const Operand *OpSd, const Operand *OpSn, const Operand *OpSm, |
| 357 CondARM32::Cond Cond); | 375 CondARM32::Cond Cond); |
| 358 | 376 |
| 359 static bool classof(const Assembler *Asm) { | 377 static bool classof(const Assembler *Asm) { |
| 360 return Asm->getKind() == Asm_ARM32; | 378 return Asm->getKind() == Asm_ARM32; |
| 361 } | 379 } |
| 362 | 380 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 | 532 |
| 515 // Emit VFP instruction with 3 S registers. | 533 // Emit VFP instruction with 3 S registers. |
| 516 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn, | 534 void emitVFPsss(CondARM32::Cond Cond, IValueT Opcode, IValueT Sd, IValueT Sn, |
| 517 IValueT Sm); | 535 IValueT Sm); |
| 518 }; | 536 }; |
| 519 | 537 |
| 520 } // end of namespace ARM32 | 538 } // end of namespace ARM32 |
| 521 } // end of namespace Ice | 539 } // end of namespace Ice |
| 522 | 540 |
| 523 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H | 541 #endif // SUBZERO_SRC_ICEASSEMBLERARM32_H |
| OLD | NEW |