| 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 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1243 } | 1243 } |
| 1244 | 1244 |
| 1245 template <> void InstARM32Movt::emitIAS(const Cfg *Func) const { | 1245 template <> void InstARM32Movt::emitIAS(const Cfg *Func) const { |
| 1246 assert(getSrcSize() == 2); | 1246 assert(getSrcSize() == 2); |
| 1247 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); | 1247 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
| 1248 Asm->movt(getDest(), getSrc(1), getPredicate()); | 1248 Asm->movt(getDest(), getSrc(1), getPredicate()); |
| 1249 if (Asm->needsTextFixup()) | 1249 if (Asm->needsTextFixup()) |
| 1250 emitUsingTextFixup(Func); | 1250 emitUsingTextFixup(Func); |
| 1251 } | 1251 } |
| 1252 | 1252 |
| 1253 template <> void InstARM32Clz::emitIAS(const Cfg *Func) const { |
| 1254 assert(getSrcSize() == 1); |
| 1255 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
| 1256 Asm->clz(getDest(), getSrc(0), getPredicate()); |
| 1257 if (Asm->needsTextFixup()) |
| 1258 emitUsingTextFixup(Func); |
| 1259 } |
| 1260 |
| 1253 template <> void InstARM32Mvn::emitIAS(const Cfg *Func) const { | 1261 template <> void InstARM32Mvn::emitIAS(const Cfg *Func) const { |
| 1254 assert(getSrcSize() == 1); | 1262 assert(getSrcSize() == 1); |
| 1255 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); | 1263 auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
| 1256 Asm->mvn(getDest(), getSrc(0), getPredicate()); | 1264 Asm->mvn(getDest(), getSrc(0), getPredicate()); |
| 1257 if (Asm->needsTextFixup()) | 1265 if (Asm->needsTextFixup()) |
| 1258 emitUsingTextFixup(Func); | 1266 emitUsingTextFixup(Func); |
| 1259 } | 1267 } |
| 1260 | 1268 |
| 1261 template <> void InstARM32Sxt::emitIAS(const Cfg *Func) const { | 1269 template <> void InstARM32Sxt::emitIAS(const Cfg *Func) const { |
| 1262 assert(getSrcSize() == 1); | 1270 assert(getSrcSize() == 1); |
| (...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2036 template class InstARM32UnaryopFP<InstARM32::Vsqrt>; | 2044 template class InstARM32UnaryopFP<InstARM32::Vsqrt>; |
| 2037 | 2045 |
| 2038 template class InstARM32FourAddrGPR<InstARM32::Mla>; | 2046 template class InstARM32FourAddrGPR<InstARM32::Mla>; |
| 2039 template class InstARM32FourAddrGPR<InstARM32::Mls>; | 2047 template class InstARM32FourAddrGPR<InstARM32::Mls>; |
| 2040 | 2048 |
| 2041 template class InstARM32CmpLike<InstARM32::Cmn>; | 2049 template class InstARM32CmpLike<InstARM32::Cmn>; |
| 2042 template class InstARM32CmpLike<InstARM32::Cmp>; | 2050 template class InstARM32CmpLike<InstARM32::Cmp>; |
| 2043 template class InstARM32CmpLike<InstARM32::Tst>; | 2051 template class InstARM32CmpLike<InstARM32::Tst>; |
| 2044 | 2052 |
| 2045 } // end of namespace Ice | 2053 } // end of namespace Ice |
| OLD | NEW |