goalc: reduce cleverness of outer product (#1059)

* goalc: reduce cleverness of outer product

* decomp: update existing outer product usages

* let the tests still run the fancy one
This commit is contained in:
Tyler Wilding
2022-01-09 11:39:22 -05:00
committed by GitHub
parent 1aab98b335
commit a2e6413b76
17 changed files with 259 additions and 101 deletions
+2 -3
View File
@@ -96,9 +96,8 @@ const std::map<InstructionKind, OpenGOALAsm::Function> MIPS_ASM_TO_OPEN_GOAL_FUN
{InstructionKind::VABS, {".abs.vf", {MOD::DEST_MASK}}},
// Outer-product
// NOTE - currently it's assumed these groups of instructions will be replaced with 1
{InstructionKind::VOPMULA, {"TODO.VOPMULA.vf", {}}},
{InstructionKind::VOPMSUB, {".outer.product.vf", {MOD::SWAP_FIRST_TWO_SOURCE_ARGS}}},
{InstructionKind::VOPMULA, {".outer.product.a.vf", {}}},
{InstructionKind::VOPMSUB, {".outer.product.b.vf", {MOD::ACC_THIRD_SRC_ARG}}},
// Division
{InstructionKind::VDIV, {".div.vf", {MOD::FTF, MOD::FSF}}},