Re: [AD] fixdiv implementation |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] fixdiv implementation
- From: "Trent Gamblin" <trent@xxxxxxxxxx>
- Date: Mon, 25 Aug 2008 21:04:28 -0600 (MDT)
On Sun, August 24, 2008 2:52 pm, Paul Suntsov said:
> Hello, this is in response to that bug report from a couple of days
> ago. I've made one that relies on the existence of a 64 bit long
> type but otherwise needs no FPU code. I wrapped it in some
> preprocessor directives as a result. This is the same situation as
> is with fixmul, so I figured it'd be fine. I guess eventually
> someone should make 32 bit only implementations, but this is better
> than nothing.
>
> diff file attached.
>
> SiegeLord
Although the bug is closed (because the floating point approach is
faster), I think this patch should go into svn for cases where there
is no fpu or the fpu is slower. We might not support any of those
platforms yet, but we might. I think DS is a possible candidate.
Trent :{)>