aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/memmove_amd64.s
diff options
context:
space:
mode:
authorMartin Möhrmann <moehrmann@google.com>2018-08-24 11:02:00 +0200
committerMartin Möhrmann <moehrmann@google.com>2018-08-24 18:40:16 +0000
commit05c02444eb2d8b8d3ecd949c4308d8e2323ae087 (patch)
treee578be0855d35afba810156ae16f37dc656da453 /src/runtime/memmove_amd64.s
parent961eb13b6781907b5bfe4a7b22f68206020c4468 (diff)
downloadgo-05c02444eb2d8b8d3ecd949c4308d8e2323ae087.tar.gz
go-05c02444eb2d8b8d3ecd949c4308d8e2323ae087.zip
all: align cpu feature variable offset naming
Add an "offset_" prefix to all cpu feature variable offset constants to signify that they are not boolean cpu feature variables. Remove _ from offset constant names. Change-Id: I6e22a79ebcbe6e2ae54c4ac8764f9260bb3223ff Reviewed-on: https://go-review.googlesource.com/131215 Run-TryBot: Martin Möhrmann <moehrmann@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/memmove_amd64.s')
-rw-r--r--src/runtime/memmove_amd64.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/memmove_amd64.s b/src/runtime/memmove_amd64.s
index c5385a3d43..b4243a833b 100644
--- a/src/runtime/memmove_amd64.s
+++ b/src/runtime/memmove_amd64.s
@@ -84,7 +84,7 @@ forward:
JLS move_256through2048
// If REP MOVSB isn't fast, don't use it
- CMPB internal∕cpu·X86+const_offset_x86_HasERMS(SB), $1 // enhanced REP MOVSB/STOSB
+ CMPB internal∕cpu·X86+const_offsetX86HasERMS(SB), $1 // enhanced REP MOVSB/STOSB
JNE fwdBy8
// Check alignment