style(asm): reindent the evex comment gofmt asks for
Test / test (push) Failing after 21m29s

Assisted-by: GLM 5.3
This commit is contained in:
2026-10-02 00:41:46 +02:00
parent c1bca7ce7e
commit bc4ac93fd9
+4 -4
View File
@@ -1487,10 +1487,10 @@ func (e *enc) encodeEvexMove(mnem string, ms evexMoveSpec, ops []Operand, mask i
if !ms.nds3 { if !ms.nds3 {
return fmt.Errorf("EVEX move expects 2 operands, got %d", len(ops)) return fmt.Errorf("EVEX move expects 2 operands, got %d", len(ops))
} }
// The masked scalar register form keeps the Go assembler's own // The masked scalar register form keeps the Go assembler's own
// layout: the store opcode with reg = op0, vvvv = op1 and the // layout: the store opcode with reg = op0, vvvv = op1 and the
// destination in r/m (op2), the bytes go tool asm emits, not // destination in r/m (op2), the bytes go tool asm emits, not
// the manual's NDS reading. // the manual's NDS reading.
src, src1, dst := ops[0], ops[1], ops[2] src, src1, dst := ops[0], ops[1], ops[2]
reg, ok := src.(Reg) reg, ok := src.(Reg)
if !ok || !reg.isVec() { if !ok || !reg.isVec() {