Displaying 2 results from an estimated 2 matches for "instructionmodifier".
2005 Jul 27
3
[LLVMdev] How to define complicated instruction in TableGen (Direct3D shader instruction)
...modifier', and
'instruction modifiers' are optionally specified.
How should 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:
;...
2005 Jul 29
0
[LLVMdev] How to define complicated instruction in TableGen (Direct3D shader instruction)
...y specified.
>
> How should 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:$s...