
3 Jul
2006
3 Jul
'06
1:41 p.m.
You may want to reconsider this fix. The assembly code in the previous post will work on v8 or v9. The original test is correct.
Unfortunately, I'm told that the default for g++ is V7 and the code is being rejected. I don't have access to a Sparc and am unable to test it myself.
For 32bit compilation, consider this: g++ -mcpu=v8 -mtune=ultrasparc3 <file> For 64bit compilation, try this g++ -mcpu=v9 -mtune=ultrasparc3 -m64 <file> I think this should work. Tom