Displaying 2 results from an estimated 2 matches for "each_".
Did you mean:
each
2005 Dec 15
3
[LLVMdev] Vector LLVM extension v.s. DirectX Shaders
...on, but the
permeation result is _not_ written backed to r1 and r2. 'zxyw' and
'yyyy' are the permutation patterns (they are called 'swizzle').
'xy' is called the write mask. The result is written to only x and y
component of r0. z and w are left untouched.
_Almost each_ instruction specifies different write masks and
swizzles. There will be a lot of extract, combine, and permute LLVA
instructions. It may make the transformations difficult to match a
certain pattern in the program semantic tree. For example, to match
'mul' and 'add', and merge them...
2005 Dec 15
0
[LLVMdev] Vector LLVM extension v.s. DirectX Shaders
...ns (they are called 'swizzle').
Yup. This is a matter of folding the permute into the add instruction as
part of instruction selection.
> 'xy' is called the write mask. The result is written to only x and y
> component of r0. z and w are left untouched.
yup.
> _Almost each_ instruction specifies different write masks and
> swizzles. There will be a lot of extract, combine, and permute LLVA
> instructions. It may make the transformations difficult to match a
> certain pattern in the program semantic tree. For example, to match
> 'mul' and 'add...