mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 17:48:01 +02:00
+ support the atomic.fence instruction in the WebAssembly internal object writer
This commit is contained in:
parent
1d70437017
commit
812736bd41
@ -544,7 +544,8 @@ uses
|
||||
result:=2;
|
||||
a_memory_copy:
|
||||
result:=4;
|
||||
a_memory_fill:
|
||||
a_memory_fill,
|
||||
a_atomic_fence:
|
||||
result:=3;
|
||||
a_i32_const:
|
||||
begin
|
||||
@ -890,6 +891,12 @@ uses
|
||||
WriteUleb(11);
|
||||
WriteByte($00);
|
||||
end;
|
||||
a_atomic_fence:
|
||||
begin
|
||||
WriteByte($FE);
|
||||
WriteByte($03);
|
||||
WriteByte($00);
|
||||
end;
|
||||
a_i32_eqz:
|
||||
WriteByte($45);
|
||||
a_i32_eq:
|
||||
|
Loading…
Reference in New Issue
Block a user