search for: ptx_logic_20p

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

2011 May 09
0
[LLVMdev] [LLVMDev] Add not instruction to PTX backend
...... } </pre> </blockquote> The error here is due to the fact that the 'not' dag is defined as a pattern fragment rather than being an explicit dag node in itself.<br> <br> As a result, you'd need to define your multiclass as:<br> <br> multiclass PTX_LOGIC_20P<string opcstr, PatFrag opnode> { ... }<br> <br> This will correctly match the opnode, though it'll depend on the other 2-operand logic instructions whether this is how it should be done. If you look at the definitions in include/Target/TargetSelectionDAG.td, you'll see whi...
2011 May 09
3
[LLVMdev] [LLVMDev] Add not instruction to PTX backend
Hi, Justin > We're been writing multiclasses for each unique type of instruction. The > current PTX_LOGIC version is for 3-operand instructions. A new multiclass > needs to be created for 2-operand logic instructions. I am trying to add a multiclass for 2-operand logic instructions. For example, multiclass PTX_LOGIC_2OP<string opcstr, SDNode opnode> { def ripreds :