style(testdata): canonicalise forms_amd64.s

Assisted-by: GLM 5.3
This commit is contained in:
2026-10-02 00:40:20 +02:00
parent 96f2dd65b4
commit 2f679326c2
+4 -3
View File
@@ -1,4 +1,4 @@
// Kernel: the operand forms the GOROOT campaign surfaced — numeric // Kernel: the operand forms the GOROOT campaign surfaced: numeric
// PC-relative jumps, symbol-immediate materialisation (the toolchain rewrites // PC-relative jumps, symbol-immediate materialisation (the toolchain rewrites
// MOVQ $sym(SB) into a RIP-relative LEA) and the negated constant-expression // MOVQ $sym(SB) into a RIP-relative LEA) and the negated constant-expression
// ADJSP the cgo ABI macros write. Bytes are pinned against go tool asm by // ADJSP the cgo ABI macros write. Bytes are pinned against go tool asm by
@@ -6,6 +6,7 @@
#include "textflag.h" #include "textflag.h"
DATA sd<>(SB)/4, $7 DATA sd<>(SB)/4, $7
GLOBL sd<>(SB), RODATA, $4 GLOBL sd<>(SB), RODATA, $4
// func Jumps(flag int64) int64 // func Jumps(flag int64) int64
@@ -30,8 +31,8 @@ TEXT ·SymImm(SB), NOSPLIT, $0-16
TEXT ·Frame(SB), NOSPLIT, $0 TEXT ·Frame(SB), NOSPLIT, $0
PUSHFQ PUSHFQ
CLD CLD
ADJSP $(64 - 8) ADJSP $ (64-8)
ADJSP $-(64 - 8) ADJSP $- (64-8)
POPFQ POPFQ
RET RET