summaryrefslogtreecommitdiff
path: root/sys/src/cmd/5a
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-08-17 04:26:28 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-08-17 04:26:28 +0200
commit98e3e12d928c702ef8beb3846097b61b1f13a6a3 (patch)
treedaa6be2201c554c6e0d2749925ff01740d00db57 /sys/src/cmd/5a
parent3b661a96effa96d211676181aa5206d1a6e42113 (diff)
5a: revert MOVM .S and .W are exclusive (broke bcm build)
Diffstat (limited to 'sys/src/cmd/5a')
-rw-r--r--sys/src/cmd/5a/lex.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/src/cmd/5a/lex.c b/sys/src/cmd/5a/lex.c
index 7880aa780..e052ce284 100644
--- a/sys/src/cmd/5a/lex.c
+++ b/sys/src/cmd/5a/lex.c
@@ -563,14 +563,6 @@ outcode(int a, int scond, Gen *g1, int reg, Gen *g2)
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: