| Index: src/IceInstARM32.cpp
|
| diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp
|
| index 7f04c199340cd9e70f3d17f6b530ce45e9b4df8a..d2d62827eff2262a11beabc54666807a725572d7 100644
|
| --- a/src/IceInstARM32.cpp
|
| +++ b/src/IceInstARM32.cpp
|
| @@ -344,32 +344,35 @@ void InstARM32ThreeAddrGPR<K>::emitIAS(const Cfg *Func) const {
|
| emitUsingTextFixup(Func);
|
| }
|
|
|
| -template <>
|
| -void InstARM32ThreeAddrGPR<InstARM32::Adc>::emitIAS(const Cfg *Func) const {
|
| +template <> void InstARM32Adc::emitIAS(const Cfg *Func) const {
|
| ARM32::AssemblerARM32 *Asm = Func->getAssembler<ARM32::AssemblerARM32>();
|
| Asm->adc(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate());
|
| if (Asm->needsTextFixup())
|
| emitUsingTextFixup(Func);
|
| }
|
|
|
| -template <>
|
| -void InstARM32ThreeAddrGPR<InstARM32::Add>::emitIAS(const Cfg *Func) const {
|
| +template <> void InstARM32Add::emitIAS(const Cfg *Func) const {
|
| ARM32::AssemblerARM32 *Asm = Func->getAssembler<ARM32::AssemblerARM32>();
|
| Asm->add(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate());
|
| if (Asm->needsTextFixup())
|
| emitUsingTextFixup(Func);
|
| }
|
|
|
| -template <>
|
| -void InstARM32ThreeAddrGPR<InstARM32::Sbc>::emitIAS(const Cfg *Func) const {
|
| +template <> void InstARM32Mul::emitIAS(const Cfg *Func) const {
|
| + ARM32::AssemblerARM32 *Asm = Func->getAssembler<ARM32::AssemblerARM32>();
|
| + Asm->mul(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate());
|
| + if (Asm->needsTextFixup())
|
| + emitUsingTextFixup(Func);
|
| +}
|
| +
|
| +template <> void InstARM32Sbc::emitIAS(const Cfg *Func) const {
|
| ARM32::AssemblerARM32 *Asm = Func->getAssembler<ARM32::AssemblerARM32>();
|
| Asm->sbc(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate());
|
| if (Asm->needsTextFixup())
|
| emitUsingTextFixup(Func);
|
| }
|
|
|
| -template <>
|
| -void InstARM32ThreeAddrGPR<InstARM32::Sub>::emitIAS(const Cfg *Func) const {
|
| +template <> void InstARM32Sub::emitIAS(const Cfg *Func) const {
|
| ARM32::AssemblerARM32 *Asm = Func->getAssembler<ARM32::AssemblerARM32>();
|
| Asm->sub(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate());
|
| if (Asm->needsTextFixup())
|
|
|