ref: 45411c31dc8d2e7a1b5d572acbca38581f01f242
parent: c94b2f32a3fae3c1d4788ad6dc5a64ca769886bc
author: aiju <devnull@localhost>
date: Sun Jun 11 18:29:33 EDT 2017
6l: support MOV to/from DR[1-3]
--- a/sys/src/cmd/6l/span.c
+++ b/sys/src/cmd/6l/span.c
@@ -885,16 +885,28 @@
/* 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},
{AMOVQ, Ydr0, Yml, 3, 0x0f,0x21,0,0},
+ {AMOVQ, Ydr1, Yml, 3, 0x0f,0x21,1,0},
+ {AMOVQ, Ydr2, Yml, 3, 0x0f,0x21,2,0},
+ {AMOVQ, Ydr3, Yml, 3, 0x0f,0x21,3,0},
{AMOVQ, Ydr6, Yml, 3, 0x0f,0x21,6,0},
{AMOVQ, 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},
{AMOVQ, Yml, Ydr0, 4, 0x0f,0x23,0,0},
+ {AMOVQ, Yml, Ydr1, 4, 0x0f,0x23,1,0},
+ {AMOVQ, Yml, Ydr2, 4, 0x0f,0x23,2,0},
+ {AMOVQ, Yml, Ydr3, 4, 0x0f,0x23,3,0},
{AMOVQ, Yml, Ydr6, 4, 0x0f,0x23,6,0},
{AMOVQ, Yml, Ydr7, 4, 0x0f,0x23,7,0},