Vector registers assumed to be caller or callee-saved?

29 Jun
2019
29 Jun
'19
2:05 p.m.
Hi all, I'm wondering what GHC assumes about vector registers XMMi, YMMi, and ZMMi used by the STG machine: are those assumed to be caller or callee-saved? Only for the x86-64 architecture there exist macro definitions like CALLER_SAVES_XMM1 in includes/stg/MachRegs.h. However, I cannot find any other place where those macros are used. AFAIK most C ABIs assume that vector registers are call clobbered. Is this also the case for GHC? Many thanks in advance, Stefan
2152
Age (days ago)
2152
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stefan Schulze Frielinghaus