diff options
author | Michael Pratt <mpratt@google.com> | 2023-03-23 14:18:19 -0400 |
---|---|---|
committer | Michael Pratt <mpratt@google.com> | 2023-03-23 20:52:57 +0000 |
commit | b0dfcb74651b82123746273bbf6bb9988cd96e18 (patch) | |
tree | 738c8a064cb8d614bd75fbb502b04e08b5dcb615 /src/hash | |
parent | 7b887158825720134181b6fe403066eee0cccee3 (diff) | |
download | go-b0dfcb74651b82123746273bbf6bb9988cd96e18.tar.gz go-b0dfcb74651b82123746273bbf6bb9988cd96e18.zip |
all: replace leading spaces with tabs in assembly
Most of these are one-off mistakes. Only one file was all spaces.
Change-Id: I277c3ce4a4811aa4248c90676f66bc775ae8d062
Reviewed-on: https://go-review.googlesource.com/c/go/+/478976
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/hash')
-rw-r--r-- | src/hash/crc32/crc32_ppc64le.s | 4 | ||||
-rw-r--r-- | src/hash/crc32/crc32_table_ppc64le.s | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/hash/crc32/crc32_ppc64le.s b/src/hash/crc32/crc32_ppc64le.s index 763d3270f3..84ef213312 100644 --- a/src/hash/crc32/crc32_ppc64le.s +++ b/src/hash/crc32/crc32_ppc64le.s @@ -112,11 +112,11 @@ loop: ANDCC $7,R6,R8 // any leftover bytes BEQ done // none --> done MOVD R8,CTR // byte count - PCALIGN $16 // align short loop + PCALIGN $16 // align short loop short: MOVBZ 0(R5),R8 // get v MOVBZ R7,R9 // byte(crc) -> R8 BE vs LE? - SRD $8,R7,R14 // crc>>8 + SRD $8,R7,R14 // crc>>8 XOR R8,R9,R8 // byte(crc)^v -> R8 ADD $1,R5 // ptr to next v SLD $2,R8 // convert index-> bytes diff --git a/src/hash/crc32/crc32_table_ppc64le.s b/src/hash/crc32/crc32_table_ppc64le.s index 191810f247..453df12df4 100644 --- a/src/hash/crc32/crc32_table_ppc64le.s +++ b/src/hash/crc32/crc32_table_ppc64le.s @@ -1090,7 +1090,7 @@ DATA ·IEEEConst+4328(SB)/8,$0xedb88320b1e6b092 GLOBL ·IEEEConst(SB),RODATA,$4336 - /* Barrett constant m - (4^32)/n */ + /* Barrett constant m - (4^32)/n */ DATA ·IEEEBarConst(SB)/8,$0x00000001f7011641 DATA ·IEEEBarConst+8(SB)/8,$0x0000000000000000 DATA ·IEEEBarConst+16(SB)/8,$0x00000001db710641 @@ -2184,7 +2184,7 @@ DATA ·CastConst+4328(SB)/8,$0x82f63b786ea2d55c GLOBL ·CastConst(SB),RODATA,$4336 - /* Barrett constant m - (4^32)/n */ + /* Barrett constant m - (4^32)/n */ DATA ·CastBarConst(SB)/8,$0x00000000dea713f1 DATA ·CastBarConst+8(SB)/8,$0x0000000000000000 DATA ·CastBarConst+16(SB)/8,$0x0000000105ec76f1 @@ -3278,7 +3278,7 @@ DATA ·KoopConst+4328(SB)/8,$0xeb31d82e0c62ab26 GLOBL ·KoopConst(SB),RODATA,$4336 - /* Barrett constant m - (4^32)/n */ + /* Barrett constant m - (4^32)/n */ DATA ·KoopBarConst(SB)/8,$0x0000000017d232cd DATA ·KoopBarConst+8(SB)/8,$0x0000000000000000 DATA ·KoopBarConst+16(SB)/8,$0x00000001d663b05d |