shithub: riscv

Download patch

ref: 1eb373945455f1ba03fa1b221529d74ca2a778ad
parent: 15bd341cc3224a899bfeea3d6f303bf346f51334
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Nov 19 16:11:41 EST 2017

libmach: fix format for 8db sse shift ops

--- a/sys/src/libmach/8db.c
+++ b/sys/src/libmach/8db.c
@@ -378,24 +378,24 @@
 
 static Optable optab660F71[8]=
 {
-[0x02]	Ib,0,		"PSRLW	%i,%X",
-[0x04]	Ib,0,		"PSRAW	%i,%X",
-[0x06]	Ib,0,		"PSLLW	%i,%X",
+[0x02]	Ib,0,		"PSRLW	%i,%x",
+[0x04]	Ib,0,		"PSRAW	%i,%x",
+[0x06]	Ib,0,		"PSLLW	%i,%x",
 };
 
 static Optable optab660F72[8]=
 {
-[0x02]	Ib,0,		"PSRLL	%i,%X",
-[0x04]	Ib,0,		"PSRAL	%i,%X",
-[0x06]	Ib,0,		"PSLLL	%i,%X",
+[0x02]	Ib,0,		"PSRLL	%i,%x",
+[0x04]	Ib,0,		"PSRAL	%i,%x",
+[0x06]	Ib,0,		"PSLLL	%i,%x",
 };
 
 static Optable optab660F73[8]=
 {
-[0x02]	Ib,0,		"PSRLQ	%i,%X",
-[0x03]	Ib,0,		"PSRLO	%i,%X",
-[0x06]	Ib,0,		"PSLLQ	%i,%X",
-[0x07]	Ib,0,		"PSLLO	%i,%X",
+[0x02]	Ib,0,		"PSRLQ	%i,%x",
+[0x03]	Ib,0,		"PSRLO	%i,%x",
+[0x06]	Ib,0,		"PSLLQ	%i,%x",
+[0x07]	Ib,0,		"PSLLO	%i,%x",
 };
 
 static Optable optab660F[256]=