broadcom/vc5: Add a test for .ifb in ADD ops.
authorEric Anholt <eric@anholt.net>
Fri, 5 Jan 2018 00:01:19 +0000 (16:01 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 13 Jan 2018 05:54:57 +0000 (21:54 -0800)
I had a .ifb being decoded weird in sampid, so this is to check that .ifb
is fine.

src/broadcom/qpu/tests/qpu_disasm.c

index 8525b75268cfb5594d46d7fb13d9ca6dc05ae128..a8e803ad815eb0cc87ded8e79c073b2823ecaa37 100644 (file)
@@ -39,6 +39,7 @@ static const struct {
         { 33, 0x3f003186bb800000ull, "nop                  ; nop               ; ldvpm" },
         { 33, 0x3c002380b6edb000ull, "or  rf0, r3, r3      ; mov  vpm, r3" },
         { 33, 0x57403006bbb80000ull, "nop                  ; fmul  r0, rf0, r5 ; ldvpm; ldunif" },
+        { 33, 0x9c094adef634b000ull, "ffloor.ifb  rf30.l, r3; fmul.pushz  rf43.l, r5, r1.h" },
 
         /* vfmul input packing */
         { 33, 0x101e8b6e8aad4000ull, "fmax.nornn  rf46, r4.l, r2.l; vfmul.ifnb  rf45, r3, r5" },