diff options
author | Martin Möhrmann <moehrmann@google.com> | 2018-08-24 11:02:00 +0200 |
---|---|---|
committer | Martin Möhrmann <moehrmann@google.com> | 2018-08-24 18:40:16 +0000 |
commit | 05c02444eb2d8b8d3ecd949c4308d8e2323ae087 (patch) | |
tree | e578be0855d35afba810156ae16f37dc656da453 /src/runtime/memclr_amd64.s | |
parent | 961eb13b6781907b5bfe4a7b22f68206020c4468 (diff) | |
download | go-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/memclr_amd64.s')
-rw-r--r-- | src/runtime/memclr_amd64.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/memclr_amd64.s b/src/runtime/memclr_amd64.s index b64b1477f9..d79078fd00 100644 --- a/src/runtime/memclr_amd64.s +++ b/src/runtime/memclr_amd64.s @@ -38,7 +38,7 @@ tail: JBE _65through128 CMPQ BX, $256 JBE _129through256 - CMPB internal∕cpu·X86+const_offset_x86_HasAVX2(SB), $1 + CMPB internal∕cpu·X86+const_offsetX86HasAVX2(SB), $1 JE loop_preheader_avx2 // TODO: for really big clears, use MOVNTDQ, even without AVX2. |