summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-01-04 16:01:19 -0800
committerEric Anholt <[email protected]>2018-01-12 21:54:57 -0800
commitf50d39ab4936d99051648e1669b428f4ef0f2afd (patch)
tree64dfa22343ab46cb358c39f23d0c5bc8877923da /src
parent267f13dbee38bad8e9386f355942e18a75925820 (diff)
broadcom/vc5: Add a test for .ifb in ADD ops.
I had a .ifb being decoded weird in sampid, so this is to check that .ifb is fine.
Diffstat (limited to 'src')
-rw-r--r--src/broadcom/qpu/tests/qpu_disasm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/broadcom/qpu/tests/qpu_disasm.c b/src/broadcom/qpu/tests/qpu_disasm.c
index 8525b75268c..a8e803ad815 100644
--- a/src/broadcom/qpu/tests/qpu_disasm.c
+++ b/src/broadcom/qpu/tests/qpu_disasm.c
@@ -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" },