Jonas Maebe wrote:

The sparc only has single precision floating point registers. Double precision 
values are stored in two consecutive single precision registers, and hence 
arguments to double precision opcodes must always be even registers. The above 
demonstrates a bug in the register allocator. Please file a bug report.

Thanks Jonas, will do in the morning.

I've worked around it by noticing that I only need integer operations at that point- I'm transcribing Perl (MoonPhase.pm) based on C (moontool.c), and it's not the first instance of bad type handling that I've found.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to