Displaying 2 results from an estimated 2 matches for "hc8jal".
2018 Nov 30
2
(Question regarding the) incomplete "builtins library" of "Compiler-RT"
...yte Spill
call ___main
mov dword ptr [ebp - 4], 0
mov eax, dword ptr [ebp + 8]
mov dword ptr [esp], eax
call __alloca
add esp, 4456
pop ebp
ret
Compiled with "-target i386-win32" this generates the following code
(see <https://godbolt.org/z/Hc8jaL>):
_main: # @main
push ebp
mov ebp, esp
push esi
and esp, -16
mov eax, 4480
call __chkstk
mov esi, esp
mov eax, dword ptr [ebp + 8]
mov dword ptr [esi + 4464], 0
mov ecx, dword ptr [ebp + 8]
add ecx, 3
and ecx, -4
mov dw...
2018 Nov 30
3
(Question regarding the) incomplete "builtins library" of "Compiler-RT"
Hi @ll,
compiler-rt implements (for example) the MSVC (really Windows)
specific routines compiler-rt/lib/builtins/i386/chkstk.S and
compiler-rt/lib/builtins/x86_64/chkstk.S as __chkstk_ms()
See <http://msdn.microsoft.com/en-us/library/ms648426.aspx>
Is there any special reason why compiler-rt doesn't implement
other MSVC specific functions (alias builtins or "compiler