aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/bits.go
diff options
context:
space:
mode:
authorDanil Timerbulatov <timerbulatov.danila@gmail.com>2023-12-08 00:17:19 +0300
committerGopher Robot <gobot@golang.org>2023-12-14 17:22:18 +0000
commit527829a7cba4ded29f98fae97f8bab9de247d5fe (patch)
treed98b9dcc30baa3846a6f69444d8de62515e4a2f0 /test/codegen/bits.go
parent5f48662c5aab0f8c594b77ca183687264121f6b5 (diff)
downloadgo-527829a7cba4ded29f98fae97f8bab9de247d5fe.tar.xz
all: remove newline characters after return statements
This commit is aimed at improving the readability and consistency of the code base. Extraneous newline characters were present after some return statements, creating unnecessary separation in the code. Fixes #64610 Change-Id: Ic1b05bf11761c4dff22691c2f1c3755f66d341f7 Reviewed-on: https://go-review.googlesource.com/c/go/+/548316 Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'test/codegen/bits.go')
-rw-r--r--test/codegen/bits.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/codegen/bits.go b/test/codegen/bits.go
index 67daf12d62..4b6c8b94b8 100644
--- a/test/codegen/bits.go
+++ b/test/codegen/bits.go
@@ -382,7 +382,6 @@ func signextendAndMask8to64(a int8) (s, z uint64) {
// ppc64x: -"MOVB", "ANDCC\t[$]247,"
z = uint64(uint8(a)) & 0x3F7
return
-
}
// Verify zero-extended values are not sign-extended under a bit mask (#61297)
@@ -392,7 +391,6 @@ func zeroextendAndMask8to64(a int8, b int16) (x, y uint64) {
// ppc64x: -"MOVH\t", -"ANDCC", "MOVHZ"
y = uint64(b) & 0xFFFF
return
-
}
// Verify rotate and mask instructions, and further simplified instructions for small types