diff options
| author | 3gg <3gg@shellblade.net> | 2026-03-06 13:30:59 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-03-06 13:30:59 -0800 |
| commit | 30f41c02aec763d32e62351452da9ef582bc3472 (patch) | |
| tree | 6bec3f65bfdcbf7f1a631da21a6d613bef5db2fa /contrib/SDL-3.2.8/src/stdlib/SDL_mslibc_x64.masm | |
| parent | 452ff21ca02e315c64ceeb3f21c1ea357aeb1bc8 (diff) | |
Move contrib libraries to contrib repo
Diffstat (limited to 'contrib/SDL-3.2.8/src/stdlib/SDL_mslibc_x64.masm')
| -rw-r--r-- | contrib/SDL-3.2.8/src/stdlib/SDL_mslibc_x64.masm | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/contrib/SDL-3.2.8/src/stdlib/SDL_mslibc_x64.masm b/contrib/SDL-3.2.8/src/stdlib/SDL_mslibc_x64.masm deleted file mode 100644 index 1590d88..0000000 --- a/contrib/SDL-3.2.8/src/stdlib/SDL_mslibc_x64.masm +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | include ksamd64.inc | ||
| 2 | |||
| 3 | text SEGMENT EXECUTE | ||
| 4 | |||
| 5 | public __chkstk | ||
| 6 | |||
| 7 | __chkstk: | ||
| 8 | sub rsp,010h | ||
| 9 | mov QWORD PTR [rsp],r10 | ||
| 10 | mov QWORD PTR [rsp+08h],r11 | ||
| 11 | xor r11,r11 | ||
| 12 | lea r10,[rsp+018h] | ||
| 13 | sub r10,rax | ||
| 14 | cmovb r10,r11 | ||
| 15 | mov r11,QWORD PTR gs:[TeStackLimit] | ||
| 16 | cmp r10,r11 | ||
| 17 | jae chkstk_finish | ||
| 18 | and r10w,0f000h | ||
| 19 | chkstk_loop: | ||
| 20 | lea r11,[r11-PAGE_SIZE] | ||
| 21 | mov BYTE PTR [r11],0h | ||
| 22 | cmp r10,r11 | ||
| 23 | jne chkstk_loop | ||
| 24 | chkstk_finish: | ||
| 25 | mov r10,QWORD PTR [rsp] | ||
| 26 | mov r11,QWORD PTR [rsp+08h] | ||
| 27 | add rsp,010h | ||
| 28 | ret | ||
| 29 | end | ||
