[parisc-linux] Re: [glibc] fixing delayed exceptions in hppa

John David Anglin dave@hiauly3.hia.nrc.ca
Sat, 30 Aug 2003 18:54:45 -0400 (EDT)


> > Yes.  If you follow the thread that I sent you, Jim Hull comments on
> > this and offers a rewrite of the sentence that you quoted.  I believe
> > that referencing memory is important as this makes the operation visible
> > to another processor.  A register->register operation doesn't do this.
> > 
> 
> I implemented and tested 3 versions, fcpy doesn't work on my c3k, but
> the fstd and fldd does. Any recommendations on which to take. I'm
> tempted to leave all this in and send the patch like this upstream, so I
> don't forget what the other versions looked like :)

The FSTD barrier looks fine to me.  The fcpy version doesn't work, so
I wouldn't keep it around.  You might add a comment that fcpy doesn't
work on at least some implementations.

Dave