search for: sourcemodifi

Displaying 2 results from an estimated 2 matches for "sourcemodifi".

Did you mean: sourcemodifier
2005 Jul 27
3
[LLVMdev] How to define complicated instruction in TableGen (Direct3D shader instruction)
...uld I define the instruction in a TableGen .td file? I have two alternatives: 1. class WriteMask : Operand<i8> {} def WM : WriteMask; class Swizzle : Operand<8> {} def SW: Swizzle; class InstructionModifier : Operand<i8> {} def IM: InstructionModifier ; class SourceModifier : Operand<i8> {} def SM: SourceModifier ; def ADD<0x01, (ops GPR:$dest, ops WM:$wm, IM:$im, GPR:$src0, SW:$sw0, SM:$sm0, GPR:$src1, SW:$sw1 SM:$sm1 ), ... > 2. add llvm intrinsics: ; add_sat r0.a, r1_bias.xxyy, r3_x2.zzzz r1_1 = llvm.bias( r1_0 ) r1_2 = llvm...
2005 Jul 29
0
[LLVMdev] How to define complicated instruction in TableGen (Direct3D shader instruction)
...two alternatives: > > 1. > class WriteMask : Operand<i8> {} > def WM : WriteMask; > > class Swizzle : Operand<8> {} > def SW: Swizzle; > > class InstructionModifier : Operand<i8> {} > def IM: InstructionModifier ; > > class SourceModifier : Operand<i8> {} > def SM: SourceModifier ; > > def ADD<0x01, (ops > GPR:$dest, ops WM:$wm, IM:$im, > GPR:$src0, SW:$sw0, SM:$sm0, > GPR:$src1, SW:$sw1 SM:$sm1 ), ... > > > 2. add llvm intrinsics: > > ; add_sat r0.a, r1_bias.xxyy, r...