Re: [Mesa-dev] [PATCH] gallivm: obey clarified shift behavior

2013-07-31 Thread Jose Fonseca
- Original Message - > > From: Roland Scheidegger > > > > llvm shifts are undefined for shift counts exceeding (or matching) bit > > width, > > so need to apply a mask for the tgsi shift instructions. > > > > v2: only use mask for the tgsi shift instructions, not for the build shift >

Re: [Mesa-dev] [PATCH] gallivm: obey clarified shift behavior

2013-07-30 Thread Zack Rusin
> From: Roland Scheidegger > > llvm shifts are undefined for shift counts exceeding (or matching) bit width, > so need to apply a mask for the tgsi shift instructions. > > v2: only use mask for the tgsi shift instructions, not for the build shift > helpers. None of the internal callers need this

[Mesa-dev] [PATCH] gallivm: obey clarified shift behavior

2013-07-30 Thread sroland
From: Roland Scheidegger llvm shifts are undefined for shift counts exceeding (or matching) bit width, so need to apply a mask for the tgsi shift instructions. v2: only use mask for the tgsi shift instructions, not for the build shift helpers. None of the internal callers need this behavior, and