feat(arch): the SVE2.1 last-active vector and compare families
Assisted-by: GLM 5.3 Flash
This commit is contained in:
1 parent
12a5cfff52
commit
bd85f8838d
4 files changed
+147
-9
No files matched your search
@@ -876,7 +876,7 @@ func TestArm64AssembleExtensionStage4Refusals(t *testing.T) {
|
||||
{"ZADDHNB Z22.D, Z10.D, Z8.H", "want .S"},
|
||||
{"ZADDHNB Z22.Q, Z10.Q, Z8.D", "want .H, .S or .D"},
|
||||
{"ZADDHNB Z22.S, Z10.S, Z8", "carries no arrangement suffix"},
|
||||
{"ZADDP Z15.B, Z0.B, P3.Z, Z0.B", "merging qualifier"},
|
||||
{"ZADDP Z15.B, Z0.B, P3.Z, Z0.B", "/M qualifier"},
|
||||
{"ZADDPT Z7.S, Z6.S, Z23.S", "want .D"},
|
||||
{"ZADDQV Z25.S, P9, V5.S4", "outside P0-P7"},
|
||||
{"ZADDQV Z25.S, P3/M, V5.S4", "takes no qualifier"},
|
||||
|
||||
+10
-2
@@ -338,6 +338,14 @@ func TestExtensionNamesARM64(t *testing.T) {
|
||||
"ZBFMLSLT",
|
||||
"ZBFMMLA",
|
||||
"ZBFSCALE",
|
||||
"ZCLASTA",
|
||||
"ZCLASTB",
|
||||
"ZCMPEQ",
|
||||
"ZCMPGE",
|
||||
"ZCMPGT",
|
||||
"ZCMPHI",
|
||||
"ZCMPHS",
|
||||
"ZCMPNE",
|
||||
"ZLD2B",
|
||||
"ZLD2D",
|
||||
"ZLD2H",
|
||||
@@ -480,7 +488,7 @@ func TestExtensionNamesARM64(t *testing.T) {
|
||||
if strings.Join(got, ",") != strings.Join(want, ",") {
|
||||
t.Errorf("ExtensionNames(ARM64) = %v, want %v", got, want)
|
||||
}
|
||||
if n := len(arch.Extensions(arch.ARM64)); n != 483 {
|
||||
t.Errorf("the family registers %d instructions, want 483", n)
|
||||
if n := len(arch.Extensions(arch.ARM64)); n != 497 {
|
||||
t.Errorf("the family registers %d instructions, want 497", n)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user