forsyth: 8l: cleanup of list for sse regs Reference: /n/atom/patch/applied/8llistsse Date: Sun Aug 16 04:19:20 CES 2015 Signed-off-by: quanstro@quanstro.net --- /sys/src/cmd/8l/list.c Sun Aug 16 04:19:11 2015 +++ /sys/src/cmd/8l/list.c Sun Aug 16 04:19:12 2015 @@ -29,10 +29,10 @@ break; } default: - if(isxyreg(p->to.type) && p->to.index != D_NONE) + if(isxyreg(p->from.type) && p->from.index != D_NONE) snprint(str, sizeof(str), "(%ld) V%A %D,%R,%R", p->line, p->as, &p->from, p->to.index, p->to.type); - else if(isxyreg(p->from.type) && p->from.index != D_NONE) + else if(isxyreg(p->to.type) && p->to.index != D_NONE) snprint(str, sizeof(str), "(%ld) V%A %R,%R,%D", p->line, p->as, p->from.type, p->from.index, &p->to); else