Re: [Mesa-dev] [PATCH] gallivm: fix lp_build_compare_ext

2015-07-06 Thread Jose Fonseca
On 04/07/15 07:15, Vinson Lee wrote: On Fri, Jul 3, 2015 at 6:05 PM, wrote: From: Roland Scheidegger The expansion should always be to the same width as the input arguments no matter what, since these functions should work with any bit width of the arguments (the sext is a no-op on any sane

Re: [Mesa-dev] [PATCH] gallivm: fix lp_build_compare_ext

2015-07-03 Thread Vinson Lee
On Fri, Jul 3, 2015 at 6:05 PM, wrote: > From: Roland Scheidegger > > The expansion should always be to the same width as the input arguments > no matter what, since these functions should work with any bit width of > the arguments (the sext is a no-op on any sane simd architecture). > Thus, fix

[Mesa-dev] [PATCH] gallivm: fix lp_build_compare_ext

2015-07-03 Thread sroland
From: Roland Scheidegger The expansion should always be to the same width as the input arguments no matter what, since these functions should work with any bit width of the arguments (the sext is a no-op on any sane simd architecture). Thus, fix the caller expecting differently. This fixes https