-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wasi] Implement TODO in mono-threads-wasi.S (#101337)
- Loading branch information
1 parent
2e585aa
commit 2a72651
Showing
4 changed files
with
43 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.globl get_wasm_stack_low | ||
.globl get_wasm_stack_high | ||
|
||
get_wasm_stack_low: | ||
.functype get_wasm_stack_low () -> (i32) | ||
global.get __stack_low@GOT | ||
// align up to 16 bytes | ||
i32.const 0xF | ||
i32.add | ||
i32.const -0x10 | ||
i32.and | ||
end_function | ||
|
||
get_wasm_stack_high: | ||
.functype get_wasm_stack_high () -> (i32) | ||
global.get __stack_high@GOT | ||
end_function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters