style: purge em dashes from the produced text
Assisted-by: GLM 5.3 Flash
This commit is contained in:
@@ -149,7 +149,7 @@ func TestOperandStructure(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// MOVQ swin_base+0(FP), SI — the first MOVQ in the body.
|
||||
// MOVQ swin_base+0(FP), SI; the first MOVQ in the body.
|
||||
var mov *ast.Instr
|
||||
for _, s := range fn.Body {
|
||||
if in, ok := s.(*ast.Instr); ok && in.Mnemonic.Text == "MOVQ" {
|
||||
@@ -202,7 +202,7 @@ func TestAVX512Operands(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// VALIGND $15, Z9, Z0, Z1 — four operands.
|
||||
// VALIGND $15, Z9, Z0, Z1; four operands.
|
||||
val := byMnem["VALIGND"]
|
||||
if val == nil {
|
||||
t.Fatal("VALIGND not found")
|
||||
@@ -224,7 +224,7 @@ func TestAVX512Operands(t *testing.T) {
|
||||
t.Errorf("VMOVDQU32 dst = %+v, want 4(SI)(AX*1)", dst)
|
||||
}
|
||||
|
||||
// KTESTW K1, K1 — mask registers parse as bare names.
|
||||
// KTESTW K1, K1; mask registers parse as bare names.
|
||||
kt := byMnem["KTESTW"]
|
||||
if kt == nil || len(kt.Operands) != 2 {
|
||||
t.Fatalf("KTESTW = %+v, want two operands", kt)
|
||||
|
||||
Reference in New Issue
Block a user