| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 Str << ", "; | 220 Str << ", "; |
| 221 Inst->getSrc(2)->emit(Func); | 221 Inst->getSrc(2)->emit(Func); |
| 222 } | 222 } |
| 223 | 223 |
| 224 template <InstARM32::InstKindARM32 K> | 224 template <InstARM32::InstKindARM32 K> |
| 225 void InstARM32FourAddrGPR<K>::emitIAS(const Cfg *Func) const { | 225 void InstARM32FourAddrGPR<K>::emitIAS(const Cfg *Func) const { |
| 226 emitUsingTextFixup(Func); | 226 emitUsingTextFixup(Func); |
| 227 } | 227 } |
| 228 | 228 |
| 229 template <InstARM32::InstKindARM32 K> | 229 template <InstARM32::InstKindARM32 K> |
| 230 void InstARM32FourAddrFP<K>::emitIAS(const Cfg *Func) const { |
| 231 emitUsingTextFixup(Func); |
| 232 } |
| 233 |
| 234 template <InstARM32::InstKindARM32 K> |
| 230 void InstARM32ThreeAddrFP<K>::emitIAS(const Cfg *Func) const { | 235 void InstARM32ThreeAddrFP<K>::emitIAS(const Cfg *Func) const { |
| 231 emitUsingTextFixup(Func); | 236 emitUsingTextFixup(Func); |
| 232 } | 237 } |
| 233 | 238 |
| 234 template <> void InstARM32Mla::emitIAS(const Cfg *Func) const { | 239 template <> void InstARM32Mla::emitIAS(const Cfg *Func) const { |
| 235 assert(getSrcSize() == 3); | 240 assert(getSrcSize() == 3); |
| 236 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); | 241 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
| 237 Asm->mla(getDest(), getSrc(0), getSrc(1), getSrc(2), getPredicate()); | 242 Asm->mla(getDest(), getSrc(0), getSrc(1), getSrc(2), getPredicate()); |
| 238 if (Asm->needsTextFixup()) | 243 if (Asm->needsTextFixup()) |
| 239 emitUsingTextFixup(Func); | 244 emitUsingTextFixup(Func); |
| (...skipping 2111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2351 | 2356 |
| 2352 template class InstARM32FourAddrGPR<InstARM32::Mla>; | 2357 template class InstARM32FourAddrGPR<InstARM32::Mla>; |
| 2353 template class InstARM32FourAddrGPR<InstARM32::Mls>; | 2358 template class InstARM32FourAddrGPR<InstARM32::Mls>; |
| 2354 | 2359 |
| 2355 template class InstARM32CmpLike<InstARM32::Cmn>; | 2360 template class InstARM32CmpLike<InstARM32::Cmn>; |
| 2356 template class InstARM32CmpLike<InstARM32::Cmp>; | 2361 template class InstARM32CmpLike<InstARM32::Cmp>; |
| 2357 template class InstARM32CmpLike<InstARM32::Tst>; | 2362 template class InstARM32CmpLike<InstARM32::Tst>; |
| 2358 | 2363 |
| 2359 } // end of namespace ARM32 | 2364 } // end of namespace ARM32 |
| 2360 } // end of namespace Ice | 2365 } // end of namespace Ice |
| OLD | NEW |