]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.power64] cmd/gc: disable magic multiply optimizations for now
authorShenghou Ma <minux@golang.org>
Wed, 13 Aug 2014 02:07:15 +0000 (22:07 -0400)
committerShenghou Ma <minux@golang.org>
Wed, 13 Aug 2014 02:07:15 +0000 (22:07 -0400)
LGTM=rsc
R=rsc, iant
CC=golang-codereviews
https://golang.org/cl/126110043

src/cmd/gc/walk.c

index cb1873f853f3501051fb223bbd58393181dbf14a..cf25a3eac778337cbfda1b935837a095213e7512 100644 (file)
@@ -3345,6 +3345,10 @@ walkdiv(Node **np, NodeList **init)
        Type *twide;
        Magic m;
 
+       // TODO(minux)
+       if(thechar == '9')
+               return;
+
        n = *np;
        if(n->right->op != OLITERAL)
                return;