Re: [PATCH] Add pixel compare VIS intrinsics.

2011-09-22 Thread David Miller
From: "Joseph S. Myers" Date: Thu, 22 Sep 2011 19:31:07 + (UTC) > On Wed, 21 Sep 2011, David Miller wrote: > >> Unfortunately, we can't use these for comparisons on vectors as the >> compiler wants them. Instead of producing a vector of comparison >> results, these instructions produce a sm

Re: [PATCH] Add pixel compare VIS intrinsics.

2011-09-22 Thread Joseph S. Myers
On Wed, 21 Sep 2011, David Miller wrote: > Unfortunately, we can't use these for comparisons on vectors as the > compiler wants them. Instead of producing a vector of comparison > results, these instructions produce a small bitmask of those results > in a destination integer register. Therefore

[PATCH] Add pixel compare VIS intrinsics.

2011-09-21 Thread David Miller
Unfortunately, we can't use these for comparisons on vectors as the compiler wants them. Instead of producing a vector of comparison results, these instructions produce a small bitmask of those results in a destination integer register. Therefore we have to provide them using unspecs and builtin