[PATCH] c6x: Fix 16-bits upsk insn format

Richard Braun rbraun@sceen.net
Wed Apr 16 16:05:55 GMT 2025


From: Richard Braun <richard.braun@sbg-systems.com>

See TMS320C674x DSP CPU and Instruction Set (SPRUFE8B) Figure H-7.

include/opcode:
	* tic6x-insn-formats.h (nfu_uspk): Fix.

Signed-off-by: Richard Braun <richard.braun@sbg-systems.com>
---
 include/opcode/tic6x-insn-formats.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/opcode/tic6x-insn-formats.h b/include/opcode/tic6x-insn-formats.h
index c0d215efa6e..6dfdd569835 100644
--- a/include/opcode/tic6x-insn-formats.h
+++ b/include/opcode/tic6x-insn-formats.h
@@ -562,7 +562,7 @@ FMT(nfu_uspldr, 16, 0x8c66, 0xbc7e,
 
 /* H-7 */
 FMT(nfu_uspk, 16, 0x1c66, 0x3c7e,
-   FLDS1(COMPFLD(fstgfcyc, BFLD3(BFLD(0, 1, 0), BFLD(7, 3, 1), BFLD(14, 2, 4)))))
+   FLDS1(COMPFLD(fstgfcyc, BFLD3(BFLD(0, 1, 5), BFLD(7, 3, 0), BFLD(14, 2, 3)))))
 
 /* H-8a */
 FMT(nfu_uspma, 16, 0x2c66, 0x3c7e,
-- 
2.39.5



More information about the Binutils mailing list