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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 case IceType_v4f32: | 797 case IceType_v4f32: |
798 Asm->vmulqf(Dest, getSrc(0), getSrc(1)); | 798 Asm->vmulqf(Dest, getSrc(0), getSrc(1)); |
799 break; | 799 break; |
800 case IceType_f32: | 800 case IceType_f32: |
801 Asm->vmuls(Dest, getSrc(0), getSrc(1), CondARM32::AL); | 801 Asm->vmuls(Dest, getSrc(0), getSrc(1), CondARM32::AL); |
802 break; | 802 break; |
803 case IceType_f64: | 803 case IceType_f64: |
804 Asm->vmuld(Dest, getSrc(0), getSrc(1), CondARM32::AL); | 804 Asm->vmuld(Dest, getSrc(0), getSrc(1), CondARM32::AL); |
805 break; | 805 break; |
806 } | 806 } |
807 assert(!Asm->needsTextFixup()); | |
808 } | 807 } |
809 | 808 |
810 InstARM32Call::InstARM32Call(Cfg *Func, Variable *Dest, Operand *CallTarget) | 809 InstARM32Call::InstARM32Call(Cfg *Func, Variable *Dest, Operand *CallTarget) |
811 : InstARM32(Func, InstARM32::Call, 1, Dest) { | 810 : InstARM32(Func, InstARM32::Call, 1, Dest) { |
812 HasSideEffects = true; | 811 HasSideEffects = true; |
813 addSource(CallTarget); | 812 addSource(CallTarget); |
814 } | 813 } |
815 | 814 |
816 InstARM32Label::InstARM32Label(Cfg *Func, TargetARM32 *Target) | 815 InstARM32Label::InstARM32Label(Cfg *Func, TargetARM32 *Target) |
817 : InstARM32(Func, InstARM32::Label, 0, nullptr), | 816 : InstARM32(Func, InstARM32::Label, 0, nullptr), |
(...skipping 1850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2668 | 2667 |
2669 template class InstARM32FourAddrGPR<InstARM32::Mla>; | 2668 template class InstARM32FourAddrGPR<InstARM32::Mla>; |
2670 template class InstARM32FourAddrGPR<InstARM32::Mls>; | 2669 template class InstARM32FourAddrGPR<InstARM32::Mls>; |
2671 | 2670 |
2672 template class InstARM32CmpLike<InstARM32::Cmn>; | 2671 template class InstARM32CmpLike<InstARM32::Cmn>; |
2673 template class InstARM32CmpLike<InstARM32::Cmp>; | 2672 template class InstARM32CmpLike<InstARM32::Cmp>; |
2674 template class InstARM32CmpLike<InstARM32::Tst>; | 2673 template class InstARM32CmpLike<InstARM32::Tst>; |
2675 | 2674 |
2676 } // end of namespace ARM32 | 2675 } // end of namespace ARM32 |
2677 } // end of namespace Ice | 2676 } // end of namespace Ice |
OLD | NEW |