]> Cypherpunks repositories - gostls13.git/commitdiff
arm: fix typo in softfloat
authorRuss Cox <rsc@golang.org>
Wed, 20 Oct 2010 19:35:37 +0000 (15:35 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 20 Oct 2010 19:35:37 +0000 (15:35 -0400)
R=kaib
CC=golang-dev
https://golang.org/cl/2608041

src/pkg/runtime/arm/softfloat.c

index 353e960b6446bf6ea707c9f338340133d2e412ed..096cc6da6870c8084a857c6cf10f0ef096b6c9fc 100644 (file)
@@ -449,7 +449,7 @@ loadstore(uint32 *pc, uint32 *regs)
        isload = i>>20&1;
        p = i>>24&1;
        ud = i>>23&1;
-       tlen = i>>(22 - 1)&1 | i>>15&1; // NOTE(rsc): should this say i>>(22-1)&2 (not &1)?
+       tlen = i>>(22 - 1)&2 | i>>15&1;
        wb = i>>21&1;
        reg = i>>16 &0xf;
        freg = i>>12 &0x7;