LibWasm: Implement 15 more SIMD instructions

This commit is contained in:
Ali Mohammad Pur 2024-02-07 17:31:38 +03:30 committed by Jelle Raaijmakers
commit 82b7368de1
Notes: sideshowbarker 2024-07-17 01:10:58 +09:00
4 changed files with 327 additions and 10 deletions

View file

@ -65,11 +65,11 @@ protected:
void store_to_memory(Configuration&, Instruction const&, ReadonlyBytes data, i32 base);
void call_address(Configuration&, FunctionAddress);
template<typename PopTypeLHS, typename PushType, typename Operator, typename PopTypeRHS = PopTypeLHS>
void binary_numeric_operation(Configuration&);
template<typename PopTypeLHS, typename PushType, typename Operator, typename PopTypeRHS = PopTypeLHS, typename... Args>
void binary_numeric_operation(Configuration&, Args&&...);
template<typename PopType, typename PushType, typename Operator>
void unary_operation(Configuration&);
template<typename PopType, typename PushType, typename Operator, typename... Args>
void unary_operation(Configuration&, Args&&...);
template<typename V, typename T>
MakeUnsigned<T> checked_unsigned_truncate(V);