]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj/arm64: gofmt
authorCherry Zhang <cherryyz@google.com>
Tue, 6 Mar 2018 15:16:13 +0000 (10:16 -0500)
committerCherry Zhang <cherryyz@google.com>
Tue, 6 Mar 2018 16:35:20 +0000 (16:35 +0000)
Change-Id: Ica778fef2d0245fbb14f595597e45c7cf6adef84
Reviewed-on: https://go-review.googlesource.com/98895
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/internal/obj/arm64/asm7.go

index b0831d43a09892b74dfd66b32aec37d63630a6e3..72c0948d0e781dcd8674f8dfde5129f772d7c6a7 100644 (file)
@@ -3160,7 +3160,7 @@ func (c *ctxt7) asmout(p *obj.Prog, o *Optab, out []uint32) {
                if p.As == ASTXP || p.As == ASTXPW || p.As == ASTLXP || p.As == ASTLXPW {
                        o1 |= uint32(p.From.Offset&31) << 10
                }
-               o1 |= uint32(p.To.Reg&31) << 5 | uint32(p.From.Reg & 31)
+               o1 |= uint32(p.To.Reg&31)<<5 | uint32(p.From.Reg&31)
 
        case 60: /* adrp label,r */
                d := c.brdist(p, 12, 21, 0)