Re: SPARC CPU have a bug? very starange things!!!
From: SP Ennema (ennema@zonnet.nl)
Date: 04/18/03
- Next message: Neil W Rickert: "Re: Is the 2038 problem solved now?"
- Previous message: Oscar del Rio: "Re: STL for SolarisCC4.2"
- In reply to: gamestar: "Re: SPARC CPU have a bug? very starange things!!!"
- Next in thread: Seongbae Park: "Re: SPARC CPU have a bug? very starange things!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "SP Ennema" <ennema@zonnet.nl> Date: Fri, 18 Apr 2003 17:13:27 GMT
"gamestar" <sjkim@altibase.com> schreef in bericht
news:787bc6ec.0304101726.31ed207d@posting.google.com...
> Casper H.S. Dik <Casper.Dik@Sun.COM> wrote in message
news:<3e95a49b$0$49114$e4fe514c@news.xs4all.nl>...
> > sjkim@altibase.com (gamestar) writes:
> > >the %y value is always zero on success and on failure after sdivcc op.
> > And *before* the sdivcc operation?
> >
> > Casper
> thanks a lot.
> thr %y vlaue is always zero, before sdivcc after sdivcc.
> just only $psr was changed. (so I said it was very strange. -_-;;)
>
> and, I checked my binary code using "dis bin | grep sdivcc".
> I found about six sdivcc code in my binary.
>
> I compiled with -xarch=v9 -fast.
> maybe -fast affected that. because -fast expand -O4 and others.
> When I remove -fast and add -O2 instead it, sdivcc op. disappeared.
>
> Is this Bug of Compiler? I don't know.
>
> * but *, the buggy binary on solaris 2.7 runs ok on solaris 2.8 !!!
>
I haven't followed this complete thread, but the following remarks:
if you want -xarch=v9 to work properly, you should put it after -fast
-fast expands to a series of options, including a -xarch option, but this
option depends
on the platform your compiling on. It also sets an option for the chip
version (e.g. sparc2 or sparc3)
(also depending on the platform), so you should run the executable on a
compatible platform.
maybe this helps
- Next message: Neil W Rickert: "Re: Is the 2038 problem solved now?"
- Previous message: Oscar del Rio: "Re: STL for SolarisCC4.2"
- In reply to: gamestar: "Re: SPARC CPU have a bug? very starange things!!!"
- Next in thread: Seongbae Park: "Re: SPARC CPU have a bug? very starange things!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|