]> Cypherpunks repositories - gostls13.git/commitdiff
8a: fix IMULL grammar
authorRuss Cox <rsc@golang.org>
Thu, 3 Nov 2011 15:32:37 +0000 (11:32 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 3 Nov 2011 15:32:37 +0000 (11:32 -0400)
R=ken2
CC=golang-dev
https://golang.org/cl/5298091

src/cmd/8a/lex.c

index ca2e2c138d0fd6303c78b225d903d9d524ac76d9..403669404e6f833d5fa494c5b57bdc67ed577b4c 100644 (file)
@@ -313,8 +313,8 @@ struct
        "IDIVL",        LTYPE2, AIDIVL,
        "IDIVW",        LTYPE2, AIDIVW,
        "IMULB",        LTYPE2, AIMULB,
-       "IMULL",        LTYPE2, AIMULL,
-       "IMULW",        LTYPE2, AIMULW,
+       "IMULL",        LTYPEI, AIMULL,
+       "IMULW",        LTYPEI, AIMULW,
        "INB",          LTYPE0, AINB,
        "INL",          LTYPE0, AINL,
        "INW",          LTYPE0, AINW,