Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 24 Jun 2015 07:18:28 +0300 (MSK)
From: Alexander Monakov <amonakov@...ras.ru>
To: musl@...ts.openwall.com
Subject: Re: [PATCH 2/5] dynlink.c: compute modulus via magic
 multiplication

On Wed, 24 Jun 2015, Alexander Monakov wrote:
> diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
> index fa91b39..99dadd4 100644
> --- a/src/ldso/dynlink.c
> +++ b/src/ldso/dynlink.c
> @@ -41,6 +41,11 @@ struct td_index {
>  	struct td_index *next;
>  };
>  
> +struct udiv {
> +	uint32_t mul;
> +	int s1, s2, inc;
> +};

Can use 'char' rather than 'int' here.

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.