|
Message-ID: <alpine.LNX.2.11.1506240717180.9758@monopod.intra.ispras.ru> 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.