Re: [Mesa-dev] [PATCH] util/macros: Simplify DIV_ROUND_UP() definition

2015-12-17 Thread Nanley Chery
On Thu, Dec 17, 2015 at 11:53:03AM -0800, Nanley Chery wrote: > On Thu, Dec 17, 2015 at 11:25 AM, Matt Turner wrote: > > > On Thu, Dec 17, 2015 at 11:04 AM, Nanley Chery > > wrote: > > > On Thu, Dec 17, 2015 at 12:05:46PM +0100, Glenn Kennard wrote: > > >> On Wed, 16 Dec 2015 20:57:51 +0100, Nan

Re: [Mesa-dev] [PATCH] util/macros: Simplify DIV_ROUND_UP() definition

2015-12-17 Thread Nanley Chery
On Thu, Dec 17, 2015 at 11:25 AM, Matt Turner wrote: > On Thu, Dec 17, 2015 at 11:04 AM, Nanley Chery > wrote: > > On Thu, Dec 17, 2015 at 12:05:46PM +0100, Glenn Kennard wrote: > >> On Wed, 16 Dec 2015 20:57:51 +0100, Nanley Chery > wrote: > >> > >> >From: Nanley Chery > >> > > >> >Commit 648

Re: [Mesa-dev] [PATCH] util/macros: Simplify DIV_ROUND_UP() definition

2015-12-17 Thread Matt Turner
On Thu, Dec 17, 2015 at 11:04 AM, Nanley Chery wrote: > On Thu, Dec 17, 2015 at 12:05:46PM +0100, Glenn Kennard wrote: >> On Wed, 16 Dec 2015 20:57:51 +0100, Nanley Chery >> wrote: >> >> >From: Nanley Chery >> > >> >Commit 64880d073ab21ae1abad0c049ea2d6a1169a3cfa consolidated two >> >DIV_ROUND_

Re: [Mesa-dev] [PATCH] util/macros: Simplify DIV_ROUND_UP() definition

2015-12-17 Thread Nanley Chery
On Thu, Dec 17, 2015 at 12:05:46PM +0100, Glenn Kennard wrote: > On Wed, 16 Dec 2015 20:57:51 +0100, Nanley Chery > wrote: > > >From: Nanley Chery > > > >Commit 64880d073ab21ae1abad0c049ea2d6a1169a3cfa consolidated two > >DIV_ROUND_UP() definitions to one, but chose the more > >compute-intensiv

Re: [Mesa-dev] [PATCH] util/macros: Simplify DIV_ROUND_UP() definition

2015-12-17 Thread Glenn Kennard
On Wed, 16 Dec 2015 20:57:51 +0100, Nanley Chery wrote: From: Nanley Chery Commit 64880d073ab21ae1abad0c049ea2d6a1169a3cfa consolidated two DIV_ROUND_UP() definitions to one, but chose the more compute-intensive version in the process. Use the simpler version instead. Reduces .text size by 13

Re: [Mesa-dev] [PATCH] util/macros: Simplify DIV_ROUND_UP() definition

2015-12-16 Thread Matt Turner
On Wed, Dec 16, 2015 at 11:57 AM, Nanley Chery wrote: > From: Nanley Chery > > Commit 64880d073ab21ae1abad0c049ea2d6a1169a3cfa consolidated two > DIV_ROUND_UP() definitions to one, but chose the more > compute-intensive version in the process. Use the simpler version > instead. Reduces .text size

[Mesa-dev] [PATCH] util/macros: Simplify DIV_ROUND_UP() definition

2015-12-16 Thread Nanley Chery
From: Nanley Chery Commit 64880d073ab21ae1abad0c049ea2d6a1169a3cfa consolidated two DIV_ROUND_UP() definitions to one, but chose the more compute-intensive version in the process. Use the simpler version instead. Reduces .text size by 1360 bytes. Output of `size lib/i965_dri.so`: textd