Re: [AD] Various patch, second try, part 1

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> sincos.diff
> adds sine/cosine at a time, with a fallback implementation if no
> support for it is available. Please someone add any possible MSVC
> version, Mac version, etc.

According to the comment in rotate.c, sincos() is not available on many
platforms (not on MSVC, Watcom, MingW32), while fsincos is a 386
instruction. Maybe can we implement it as an inline asm function ? I've
attached the DJGPP source file: it's not very long, but I think we could
simplify it a little more.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx

Attachment: sincos.S
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/