| Index: src/IceInstARM32.cpp
|
| diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp
|
| index a0d9618a615084c5caf5aa62cb513ddc83cb10ab..baa84995503be5d71bb22959a1a2f6fef48c0c22 100644
|
| --- a/src/IceInstARM32.cpp
|
| +++ b/src/IceInstARM32.cpp
|
| @@ -393,6 +393,14 @@ template <> void InstARM32Sbc::emitIAS(const Cfg *Func) const {
|
| emitUsingTextFixup(Func);
|
| }
|
|
|
| +template <> void InstARM32Sdiv::emitIAS(const Cfg *Func) const {
|
| + assert(!SetFlags);
|
| + ARM32::AssemblerARM32 *Asm = Func->getAssembler<ARM32::AssemblerARM32>();
|
| + Asm->sdiv(getDest(), getSrc(0), getSrc(1), getPredicate());
|
| + if (Asm->needsTextFixup())
|
| + emitUsingTextFixup(Func);
|
| +}
|
| +
|
| template <> void InstARM32Sub::emitIAS(const Cfg *Func) const {
|
| ARM32::AssemblerARM32 *Asm = Func->getAssembler<ARM32::AssemblerARM32>();
|
| Asm->sub(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate());
|
|
|