aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-10-20 15:35:37 -0400
committerRuss Cox <rsc@golang.org>2010-10-20 15:35:37 -0400
commitc026c91b5c628a3bdcda85e7238e165a4f2b2780 (patch)
treec00a5b0ef25e77b1d1530afdf644c6c7eea7a590
parentc2b91d4889cf50abda0d55483f44f2d2cd5c5ad4 (diff)
downloadgo-c026c91b5c628a3bdcda85e7238e165a4f2b2780.tar.gz
go-c026c91b5c628a3bdcda85e7238e165a4f2b2780.zip
arm: fix typo in softfloat
R=kaib CC=golang-dev https://golang.org/cl/2608041
-rw-r--r--src/pkg/runtime/arm/softfloat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/arm/softfloat.c b/src/pkg/runtime/arm/softfloat.c
index 353e960b64..096cc6da68 100644
--- a/src/pkg/runtime/arm/softfloat.c
+++ b/src/pkg/runtime/arm/softfloat.c
@@ -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;