Index: src/IceInstARM32.cpp |
diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp |
index 6932d2f9d01ba502c906ec2e7425c2b60aaeda5a..2590a10ed988fd08c81d3071166940c501128775 100644 |
--- a/src/IceInstARM32.cpp |
+++ b/src/IceInstARM32.cpp |
@@ -492,6 +492,13 @@ template <> void InstARM32Lsl::emitIAS(const Cfg *Func) const { |
emitUsingTextFixup(Func); |
} |
+template <> void InstARM32Lsr::emitIAS(const Cfg *Func) const { |
+ auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
+ Asm->lsr(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate()); |
+ if (Asm->needsTextFixup()) |
+ emitUsingTextFixup(Func); |
+} |
+ |
template <> void InstARM32Orr::emitIAS(const Cfg *Func) const { |
auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
Asm->orr(getDest(), getSrc(0), getSrc(1), SetFlags, getPredicate()); |