From ca8745fc8e28d5ac51d4ab1921a96b3eb3abc03f Mon Sep 17 00:00:00 2001
From: Ficture Seven <FICTURE7@gmail.com>
Date: Mon, 20 Apr 2020 16:40:13 +0400
Subject: [PATCH] Avoid temporaries when pre-allocating Store %x, imm8/16/32
 (#1123)

---
 ARMeilleure/CodeGen/X86/PreAllocator.cs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ARMeilleure/CodeGen/X86/PreAllocator.cs b/ARMeilleure/CodeGen/X86/PreAllocator.cs
index 7c1193491b..712f27f3ed 100644
--- a/ARMeilleure/CodeGen/X86/PreAllocator.cs
+++ b/ARMeilleure/CodeGen/X86/PreAllocator.cs
@@ -1375,6 +1375,9 @@ namespace ARMeilleure.CodeGen.X86
                 case Instruction.ShiftLeft:
                 case Instruction.ShiftRightSI:
                 case Instruction.ShiftRightUI:
+                case Instruction.Store:
+                case Instruction.Store16:
+                case Instruction.Store8:
                 case Instruction.Subtract:
                 case Instruction.VectorExtract:
                 case Instruction.VectorExtract16: