shithub: riscv

Download patch

ref: 98e3e12d928c702ef8beb3846097b61b1f13a6a3
parent: 3b661a96effa96d211676181aa5206d1a6e42113
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: