Chromium Code Reviews| Index: src/IceInstARM32.cpp |
| diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp |
| index cd50eb17de29d3b5a4c440a3c43467274972e59e..d0b5c486850330c95550567e8f16c6f40120e164 100644 |
| --- a/src/IceInstARM32.cpp |
| +++ b/src/IceInstARM32.cpp |
| @@ -192,6 +192,19 @@ void InstARM32Pred::emitFourAddr(const char *Opcode, const InstARM32Pred *Inst, |
| Inst->getSrc(2)->emit(Func); |
| } |
| +template <InstARM32::InstKindARM32 K> |
| +void InstARM32FourAddrGPR<K>::emitIAS(const Cfg *Func) const { |
| + emitUsingTextFixup(Func); |
| +} |
| + |
| +template <> void InstARM32Mla::emitIAS(const Cfg *Func) const { |
| + assert(getSrcSize() == 3); |
| + ARM32::AssemblerARM32 *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
|
Jim Stichnoth
2015/11/05 00:15:04
auto *
Karl
2015/11/05 16:28:20
Also fixed all other similar occurrences in this f
|
| + Asm->mla(getDest(), getSrc(0), getSrc(1), getSrc(2), getPredicate()); |
| + if (Asm->needsTextFixup()) |
| + emitUsingTextFixup(Func); |
| +} |
| + |
| void InstARM32Pred::emitCmpLike(const char *Opcode, const InstARM32Pred *Inst, |
| const Cfg *Func) { |
| if (!BuildDefs::dump()) |
| @@ -1602,6 +1615,9 @@ template class InstARM32UnaryopGPR<InstARM32::Sxt, true>; |
| template class InstARM32UnaryopGPR<InstARM32::Uxt, true>; |
| template class InstARM32UnaryopFP<InstARM32::Vsqrt>; |
| +template class InstARM32FourAddrGPR<InstARM32::Mla>; |
| +template class InstARM32FourAddrGPR<InstARM32::Mls>; |
| + |
| template class InstARM32CmpLike<InstARM32::Cmp>; |
| template class InstARM32CmpLike<InstARM32::Tst>; |