shithub: riscv

Download patch

ref: a9f4ddade4bb5658b19097a11d139265d57b9748
parent: e3df6c863d559cfdc50b3108de9813dd926bb109
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Sep 7 10:12:13 EDT 2023

7l: fix MADD/MSUB optional reg

--- a/sys/src/cmd/7l/optab.c
+++ b/sys/src/cmd/7l/optab.c
@@ -148,6 +148,7 @@
 	{ AMUL,		C_REG,	C_REG,	C_REG,		15, 4, 0 },
 	{ AMUL,		C_REG,	C_NONE,	C_REG,		15, 4, 0 },
 	{ AMADD,		C_REG,	C_REG,	C_REG,		15, 4, 0 },
+	{ AMADD,		C_REG,	C_NONE,	C_REG,		15, 4, 0 },
 
 	{ AREM,		C_REG,	C_REG,	C_REG,		16, 8, 0 },
 	{ AREM,		C_REG,	C_NONE,	C_REG,		16, 8, 0 },