1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00

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
parent e8bdb7e5f8
commit 82b7368de1
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);