[Gc] Uses of SSE registers?

Yi Lin qinsoon at gmail.com
Wed Oct 16 23:35:27 PDT 2013

I tried in my program to use one SSE register to store a C global 
variable (gcc has support for this). But the value from that register 
variable was not as intended sometimes. I am trying to figure out the 
reason, and one of my guesses is that the GC uses those registers. I 
will try use -mno-sse for building the GC and see what happens then.

Thanks very much.


On 17/10/2013 4:12 PM, Bruce Hoult wrote:
> I could be wrong, but I don't *think* there is anything explicitly 
> about SSE in the GC, except for adjusting the exception mask when 
> pushing callee-save registers.
> It could well be that your build flags are such that your compiler 
> uses SSE instructions for some things written in C.
> I'm also not entirely sure why you believe that you'd want or need to 
> prevent the GC from using SSE?
> On Thu, Oct 17, 2013 at 5:02 PM, Yi Lin <qinsoon at gmail.com 
> <mailto:qinsoon at gmail.com>> wrote:
>     Hi all,
>     It seems the GC uses SSE registers. If I want to use those
>     registers in my program, is there a way to turn it off for the GC?
>     Thanks very much.
>     Regards,
>     Yi
>     _______________________________________________
>     Gc mailing list
>     Gc at linux.hpl.hp.com <mailto:Gc at linux.hpl.hp.com>
>     https://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>     -- 
>     This message has been scanned for viruses and
>     dangerous content by MailScanner, and is
>     believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://napali.hpl.hp.com/pipermail/gc/attachments/20131017/3d57a378/attachment.htm

More information about the Gc mailing list