| OLD | NEW |
| 1 //===- subzero/src/IceInstARM32.cpp - ARM32 instruction implementation ----===// | 1 //===- subzero/src/IceInstARM32.cpp - ARM32 instruction implementation ----===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 /// | 9 /// |
| 10 /// \file | 10 /// \file |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 Asm->vdivd(getDest(), getSrc(0), getSrc(1), CondARM32::AL); | 673 Asm->vdivd(getDest(), getSrc(0), getSrc(1), CondARM32::AL); |
| 674 break; | 674 break; |
| 675 } | 675 } |
| 676 assert(!Asm->needsTextFixup()); | 676 assert(!Asm->needsTextFixup()); |
| 677 } | 677 } |
| 678 | 678 |
| 679 template <> void InstARM32Veor::emitIAS(const Cfg *Func) const { | 679 template <> void InstARM32Veor::emitIAS(const Cfg *Func) const { |
| 680 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); | 680 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
| 681 const Variable *Dest = getDest(); | 681 const Variable *Dest = getDest(); |
| 682 if (isVectorType(Dest->getType())) { | 682 if (isVectorType(Dest->getType())) { |
| 683 // TODO(kschimpf): Add support for this case | 683 Asm->veorq(Dest, getSrc(0), getSrc(1)); |
| 684 emitUsingTextFixup(Func); | 684 assert(!Asm->needsTextFixup()); |
| 685 return; | 685 return; |
| 686 } | 686 } |
| 687 assert(Dest->getType() == IceType_f64); | 687 assert(Dest->getType() == IceType_f64); |
| 688 Asm->veord(Dest, getSrc(0), getSrc(1)); | 688 Asm->veord(Dest, getSrc(0), getSrc(1)); |
| 689 assert(!Asm->needsTextFixup()); | 689 assert(!Asm->needsTextFixup()); |
| 690 } | 690 } |
| 691 | 691 |
| 692 template <> void InstARM32Vmla::emitIAS(const Cfg *Func) const { | 692 template <> void InstARM32Vmla::emitIAS(const Cfg *Func) const { |
| 693 // Note: Dest == getSrc(0) for four address FP instructions. | 693 // Note: Dest == getSrc(0) for four address FP instructions. |
| 694 assert(getSrcSize() == 3); | 694 assert(getSrcSize() == 3); |
| (...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2526 | 2526 |
| 2527 template class InstARM32FourAddrGPR<InstARM32::Mla>; | 2527 template class InstARM32FourAddrGPR<InstARM32::Mla>; |
| 2528 template class InstARM32FourAddrGPR<InstARM32::Mls>; | 2528 template class InstARM32FourAddrGPR<InstARM32::Mls>; |
| 2529 | 2529 |
| 2530 template class InstARM32CmpLike<InstARM32::Cmn>; | 2530 template class InstARM32CmpLike<InstARM32::Cmn>; |
| 2531 template class InstARM32CmpLike<InstARM32::Cmp>; | 2531 template class InstARM32CmpLike<InstARM32::Cmp>; |
| 2532 template class InstARM32CmpLike<InstARM32::Tst>; | 2532 template class InstARM32CmpLike<InstARM32::Tst>; |
| 2533 | 2533 |
| 2534 } // end of namespace ARM32 | 2534 } // end of namespace ARM32 |
| 2535 } // end of namespace Ice | 2535 } // end of namespace Ice |
| OLD | NEW |