Re: Uses of SSE registers?
Yi Lin <[email protected]>
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <[email protected]> |
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. Regards, Yi 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 <[email protected] > <mailto:[email protected]>> 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-V9/[email protected] <mailto:Gc-V9/[email protected]> > http://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. > > _______________________________________________ Gc mailing list Gc-V9/[email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/gc/