From: | Frank Wille |
Date: | 17 Feb 2001 at 00:51:11 |
Subject: | Re: Morph into Warp |
Paul Heams wrote:
> > True ! just one routine (metaball init at start and metaballs
> > themselves) used a struct with word+float. I wasn't aware about that
> > emulation, now I am and will never spread progs with non-4bytes
> > aligned float/doubles. it's easy to generate one,just use:
> >
> > struct iwanttobothertimu {
> > short iamshort;
> > float iamfloat;
> > }
>
> I only realised this while working on Sid4Amiga some time ago. I
> couldn't understand why a new version was so much slower than the
> previous release. After retracing my steps I reverted a STRUCT and BANG
> - fast again. (It would have been nice for Storm C to mention it as a
> warning).
There is a new environment variable in WOS V5: powerpc/EnAlignExc.
Set it to "1" and you will get rid of the annoying floating point
alignment exception handler forever.