git: 9front

Download patch

ref: 8413bd538df471c35bcc53d7e7689e7b11c63919
parent: 2e28db1d2f448f19de79b963f44c76da15c746c7
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 17 00:26:28 EDT 2014

5a: revert MOVM .S and .W are exclusive (broke bcm build)

--- a/sys/src/cmd/5a/lex.c
+++ b/sys/src/cmd/5a/lex.c
@@ -563,14 +563,6 @@
 		scond = (scond & ~0xf) | Always;
 	}
 
-	if(a == AMOVM){
-		if((scond & (C_SBIT|C_WBIT)) == (C_SBIT|C_WBIT))
-		if(g2->type != D_CONST || (g2->offset & (1<<15)) == 0){
-			yyerror("MOVM .S and .W are exclusive");
-			errorexit();
-		}
-	}
-
 	if(pass == 1)
 		goto out;
 jackpot:
--