André Hentschel <n...@dawncrow.de> writes:

> +unsigned int wld_modulo( const unsigned int a, const Elf32_Word b )
> +{
> +#ifdef __ARM_EABI__
> +    unsigned int i;
> +    if(b > a) return a;
> +    for(i = 0; i * b < a + b; i++)
> +        if(i * b > a - b) return (a - i * b);
> +    return 0;

That's very inefficient, there are better ways...

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to