vc4: Fix totally broken assertions about inter-instruction reg conflicts.
authorEric Anholt <eric@anholt.net>
Wed, 20 Aug 2014 21:20:17 +0000 (14:20 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 22 Aug 2014 17:16:57 +0000 (10:16 -0700)
commit2ab4e48f9457159087c851f2230c1e642ea65802
tree3e82d35cb126547c17a5f4301da89d9c777ef810
parentb064c9103d8fc0bb4ae8fe597b4d9de82a274638
vc4: Fix totally broken assertions about inter-instruction reg conflicts.

The spec citation talked about A and B, and I proceeded to pay no
attention to whether the waddrs were for A or B.  As a result, this pair
of instructions would claim to conflict:

mov ra4, ra4 ; nop nop, r0, r0
mov.ns ra4, rb4 ; nop nop, r0, r0
src/gallium/drivers/vc4/vc4_qpu_validate.c