summaryrefslogtreecommitdiff
path: root/rnndb
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-03-18 21:09:31 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-03-18 21:09:31 +0100
commit70f3187afa5f9c7a0dad9019d51380421cfef654 (patch)
tree4ec2824a0a733d60415db4efb78a70c4fbf6cd98 /rnndb
parentf755999c01ee03c691a831a35dd7c075f3efc260 (diff)
codegen test: implement conditionals
- code generation for IF/ENDIF/ELSE - input register permutation for PS - generate passthrough shader without code if OUT[x]=IN[x]
Diffstat (limited to 'rnndb')
-rw-r--r--rnndb/isa.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/rnndb/isa.xml b/rnndb/isa.xml
index ef461e7..332eaa2 100644
--- a/rnndb/isa.xml
+++ b/rnndb/isa.xml
@@ -181,9 +181,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<value value="0x15" name="RET" brief="Return from function"/>
<value value="0x16" name="BRANCH" brief="Jump to address">
<doc>
- pc := src2_imm *if src1 COND src2*
+ pc := src2_imm *if src0 COND src1*
- Changes the current value of the instruction pointer if (src1 COND src2) evaluates
+ Changes the current value of the instruction pointer if (src0 COND src1) evaluates
to true.
</doc>
</value>