<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head><body style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255);" bgcolor="#FFFFFF" text="#000000">
<span style="font-family: monospace;"></span>What you want is not the
macro but this function:<br>
<a
href="https://hackage.haskell.org/package/ghc-8.6.5/docs/src/X86.Regs.html#callClobberedRegs">https://hackage.haskell.org/package/ghc-8.6.5/docs/src/X86.Regs.html#callClobberedRegs</a>
<br>
<br>
whose results depend on the System ABI.<br>
<br>
Cheers,<br>
Andreas<br>
<br>
<br>
<br>
<br>
<blockquote type="cite"><div class="moz-text-plain" wrap="true"
graphical-quote="true" style="font-size: 15px;" lang="x-western"><pre wrap="">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
</pre></div></blockquote>
</body></html>