summaryrefslogtreecommitdiffstats
path: root/src/broadcom/qpu/tests/qpu_disasm.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-01-04 10:34:36 -0800
committerEric Anholt <[email protected]>2018-01-12 21:53:38 -0800
commit81ec2ba22975595b4f07c3e8307a8f0a4ec18773 (patch)
treea0872384f5ce5ff12b4dba50f85d6a997614b28b /src/broadcom/qpu/tests/qpu_disasm.c
parent954a704da3052028da4129cc7757f5f224ee1ffc (diff)
broadcom/vc5: Fix pack/unpack of vfmul input unpack flags.
Diffstat (limited to 'src/broadcom/qpu/tests/qpu_disasm.c')
-rw-r--r--src/broadcom/qpu/tests/qpu_disasm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/broadcom/qpu/tests/qpu_disasm.c b/src/broadcom/qpu/tests/qpu_disasm.c
index c7f6476def5..59668a86ecc 100644
--- a/src/broadcom/qpu/tests/qpu_disasm.c
+++ b/src/broadcom/qpu/tests/qpu_disasm.c
@@ -40,6 +40,12 @@ static const struct {
{ 33, 0x3c002380b6edb000ull, "or rf0, r3, r3 ; mov vpm, r3" },
{ 33, 0x57403006bbb80000ull, "nop ; fmul r0, rf0, r5 ; ldvpm; ldunif" },
+ /* vfmul input packing */
+ { 33, 0x101e8b6e8aad4000ull, "fmax.nornn rf46, r4.l, r2.l; vfmul.ifnb rf45, r3, r5" },
+ { 33, 0x1857d3c219825000ull, "faddnf.norc r2.l, r5.l, r4; vfmul.ifb rf15, r0.ll, r4; ldunif" },
+ { 33, 0x1c0a0dfde2294000ull, "fcmp.ifna rf61.h, r4.abs, r2.l; vfmul rf55, r2.hh, r1" },
+ { 33, 0x2011c89b402cc000ull, "fsub.norz rf27, r4.abs, r1.abs; vfmul.ifa rf34, r3.swp, r1" },
+
/* branch conditions */
{ 33, 0x02000006002034c0ull, "b.anyap rf19" },
{ 33, 0x02679356b4201000ull, "b.anyap -1268280496" },