From 527f4a6858b50a96b67339f7d8f1281091e5289d Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Mon, 20 Oct 2025 15:01:11 +0100 Subject: [PATCH] Add missing atomic `store` instructions to `instructions.json` These instructions were generated from a version of `instructions.json` that by mistake wasn't included in https://github.com/swiftwasm/WasmKit/commit/8eed37f037894e80a4b27e3307f79ac2242096dc. --- Utilities/Instructions.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Utilities/Instructions.json b/Utilities/Instructions.json index e123e7cc..9b90389d 100644 --- a/Utilities/Instructions.json +++ b/Utilities/Instructions.json @@ -209,5 +209,12 @@ ["threads" , "i32.atomic.load16_u" , ["0xFE", "0x13"], [["memarg", "MemArg"]] , "load" ], ["threads" , "i64.atomic.load8_u" , ["0xFE", "0x14"], [["memarg", "MemArg"]] , "load" ], ["threads" , "i64.atomic.load16_u" , ["0xFE", "0x15"], [["memarg", "MemArg"]] , "load" ], - ["threads" , "i64.atomic.load32_u" , ["0xFE", "0x16"], [["memarg", "MemArg"]] , "load" ] + ["threads" , "i64.atomic.load32_u" , ["0xFE", "0x16"], [["memarg", "MemArg"]] , "load" ], + ["threads" , "i32.atomic.store" , ["0xFE", "0x17"], [["memarg", "MemArg"]] , "store" ], + ["threads" , "i64.atomic.store" , ["0xFE", "0x18"], [["memarg", "MemArg"]] , "store" ], + ["threads" , "i32.atomic.store8" , ["0xFE", "0x19"], [["memarg", "MemArg"]] , "store" ], + ["threads" , "i32.atomic.store16" , ["0xFE", "0x1A"], [["memarg", "MemArg"]] , "store" ], + ["threads" , "i64.atomic.store8" , ["0xFE", "0x1B"], [["memarg", "MemArg"]] , "store" ], + ["threads" , "i64.atomic.store16" , ["0xFE", "0x1C"], [["memarg", "MemArg"]] , "store" ], + ["threads" , "i64.atomic.store32" , ["0xFE", "0x1D"], [["memarg", "MemArg"]] , "store" ] ]