Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-28 Thread Jose Fonseca
- Original Message - > Am 27.02.2012 21:26, schrieb Jose Fonseca: > > > > > > - Original Message - > >> On Mon, Feb 20, 2012 at 01:50:43PM -0800, Jose Fonseca wrote: > >>> > >>> > >>> - Original Message - > > > - Original Message - > > On Sat, Fe

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-27 Thread Roland Scheidegger
Am 27.02.2012 21:26, schrieb Jose Fonseca: > > > - Original Message - >> On Mon, Feb 20, 2012 at 01:50:43PM -0800, Jose Fonseca wrote: >>> >>> >>> - Original Message - - Original Message - > On Sat, Feb 18, 2012 at 4:20 AM, Jose Fonseca > > wrot

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-27 Thread Jose Fonseca
- Original Message - > On Mon, Feb 20, 2012 at 01:50:43PM -0800, Jose Fonseca wrote: > > > > > > - Original Message - > > > > > > > > > - Original Message - > > > > On Sat, Feb 18, 2012 at 4:20 AM, Jose Fonseca > > > > > > > > wrote: > > > > > - Original Message -

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-22 Thread Tom Stellard
On Mon, Feb 20, 2012 at 01:50:43PM -0800, Jose Fonseca wrote: > > > - Original Message - > > > > > > - Original Message - > > > On Sat, Feb 18, 2012 at 4:20 AM, Jose Fonseca > > > wrote: > > > > - Original Message - > > > >> On Fri, Feb 17, 2012 at 9:46 PM, Jose Fonseca

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-20 Thread Jose Fonseca
- Original Message - > > > - Original Message - > > On Sat, Feb 18, 2012 at 4:20 AM, Jose Fonseca > > wrote: > > > - Original Message - > > >> On Fri, Feb 17, 2012 at 9:46 PM, Jose Fonseca > > >> > > >> wrote: > > >> > Dave, > > >> > > > >> > Ideally there should be on

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-20 Thread Jose Fonseca
- Original Message - > On Sat, Feb 18, 2012 at 4:20 AM, Jose Fonseca > wrote: > > - Original Message - > >> On Fri, Feb 17, 2012 at 9:46 PM, Jose Fonseca > >> > >> wrote: > >> > Dave, > >> > > >> > Ideally there should be only one lp_build_mod() which will > >> > invoke > >> > L

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-18 Thread Tom Stellard
On Sat, Feb 18, 2012 at 4:20 AM, Jose Fonseca wrote: > - Original Message - >> On Fri, Feb 17, 2012 at 9:46 PM, Jose Fonseca >> wrote: >> > Dave, >> > >> > Ideally there should be only one lp_build_mod() which will invoke >> > LLVMBuildSRem or LLVMBuildURem depending on the value of >> >

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-18 Thread Jose Fonseca
- Original Message - > On Fri, Feb 17, 2012 at 9:46 PM, Jose Fonseca > wrote: > > Dave, > > > > Ideally there should be only one lp_build_mod() which will invoke > > LLVMBuildSRem or LLVMBuildURem depending on the value of > > bld->type.sign.  The point being that this allows the same code

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-18 Thread Dave Airlie
On Fri, Feb 17, 2012 at 9:46 PM, Jose Fonseca wrote: > Dave, > > Ideally there should be only one lp_build_mod() which will invoke > LLVMBuildSRem or LLVMBuildURem depending on the value of bld->type.sign.  The > point being that this allows the same code generation logic to seemingly > target

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-17 Thread Jose Fonseca
Dave, Ideally there should be only one lp_build_mod() which will invoke LLVMBuildSRem or LLVMBuildURem depending on the value of bld->type.sign. The point being that this allows the same code generation logic to seemingly target any type without having to worry too much which target it is targ

[Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-17 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- src/gallium/auxiliary/gallivm/lp_bld_arit.c | 28 +++ src/gallium/auxiliary/gallivm/lp_bld_arit.h | 10 + 2 files changed, 38 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_ari