search for: sourceregistermodifi

Displaying 1 result from an estimated 1 matches for "sourceregistermodifi".

2005 Apr 20
1
[LLVMdev] adding new instructions to support "swizzle" and "writemask"
...nchanged add r0.xz, r1.y, r2.wx Note that the channel y of r1 is replicated in the third instruction. Detailed documentation: <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/AssemblyLanguageShaders/PixelShaders/Registers/Modifiers/SourceRegisterModifiers/PS_Swizzling.asp> The code must be be transformed in SSA (.ll file). The problem is that no existing LLVM instruction or intrinsic function supports swizzle and writemask. I have a few solutions: (1) Treat each channel of a register as a individual SSA variable. This could generate ineffi...