shithub: riscv

Download patch

ref: c94b2f32a3fae3c1d4788ad6dc5a64ca769886bc
parent: 1013779e740cebcc06bcd14881f8522911fba4b0
author: aiju <devnull@localhost>
date: Sun Jun 11 18:09:57 EDT 2017

8l: support MOV from/to DR[1-3]

--- a/sys/src/cmd/8l/span.c
+++ b/sys/src/cmd/8l/span.c
@@ -772,10 +772,16 @@
 
 /* mov dr */
 	AMOVL,	Ydr0,	Yml,	3,	0x0f,0x21,0,0,
+	AMOVL,	Ydr1,	Yml,	3,	0x0f,0x21,1,0,
+	AMOVL,	Ydr2,	Yml,	3,	0x0f,0x21,2,0,
+	AMOVL,	Ydr3,	Yml,	3,	0x0f,0x21,3,0,
 	AMOVL,	Ydr6,	Yml,	3,	0x0f,0x21,6,0,
 	AMOVL,	Ydr7,	Yml,	3,	0x0f,0x21,7,0,
 
 	AMOVL,	Yml,	Ydr0,	4,	0x0f,0x23,0,0,
+	AMOVL,	Yml,	Ydr1,	4,	0x0f,0x23,1,0,
+	AMOVL,	Yml,	Ydr2,	4,	0x0f,0x23,2,0,
+	AMOVL,	Yml,	Ydr3,	4,	0x0f,0x23,3,0,
 	AMOVL,	Yml,	Ydr6,	4,	0x0f,0x23,6,0,
 	AMOVL,	Yml,	Ydr7,	4,	0x0f,0x23,7,0,