feat(arch): the SVE2.1 last-active vector and compare families

Assisted-by: GLM 5.3 Flash
This commit is contained in:
petrbalvin committed 2026-10-07 20:35:41 +02:00
1 parent 12a5cfff52
commit bd85f8838d
4 files changed
+147 -9

No files matched your search

+10 -2
View File
@@ -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)
}
}