[clang] [llvm] [WebAssembly] Implement prototype f32.store_f16 instruction. (PR #91545)

Heejin Ahn via cfe-commits cfe-commits at lists.llvm.org
Thu May 9 11:19:56 PDT 2024


================
@@ -171,12 +171,16 @@ defm STORE8_I64 : WebAssemblyStore<I64, "i64.store8", 0x3c>;
 defm STORE16_I64 : WebAssemblyStore<I64, "i64.store16", 0x3d>;
 defm STORE32_I64 : WebAssemblyStore<I64, "i64.store32", 0x3e>;
 
+defm STORE_F16_F32 : WebAssemblyStore<F32, "f32.store_f16", 0xfc31, [HasHalfPrecision]>;
----------------
aheejin wrote:

How about adding one for `LOAD` too?

https://github.com/llvm/llvm-project/pull/91545


More information about the cfe-commits mailing list