feat(arch): the FP8-to-halfword conversion pairs
Assisted-by: GLM 5.3 Flash
This commit is contained in:
1 parent
107ca512b2
commit
718181e7a7
4 files changed
+34
-2
No files matched your search
@@ -814,6 +814,10 @@ func TestArm64AssembleExtensionStage4Golden(t *testing.T) {
|
||||
{"ZBF1CVTLT Z11.B, Z6.H", 0x65093966},
|
||||
{"ZBF2CVT Z11.B, Z6.H", 0x65083d66},
|
||||
{"ZBF2CVTLT Z11.B, Z6.H", 0x65093d66},
|
||||
{"ZF1CVT Z11.B, Z6.H", 0x65083166},
|
||||
{"ZF1CVTLT Z11.B, Z6.H", 0x65093166},
|
||||
{"ZF2CVT Z11.B, Z6.H", 0x65083566},
|
||||
{"ZF2CVTLT Z11.B, Z6.H", 0x65093566},
|
||||
{"ZBFADD Z23.H, Z13.H, P1.M, Z13.H", 0x650086ed},
|
||||
{"ZBFADD Z7.H, Z6.H, Z23.H", 0x650700d7},
|
||||
{"ZBFCLAMP Z7.H, Z6.H, Z23.H", 0x642724d7},
|
||||
|
||||
@@ -321,6 +321,10 @@ func TestExtensionNamesARM64(t *testing.T) {
|
||||
"ZBF1CVTLT",
|
||||
"ZBF2CVT",
|
||||
"ZBF2CVTLT",
|
||||
"ZF1CVT",
|
||||
"ZF1CVTLT",
|
||||
"ZF2CVT",
|
||||
"ZF2CVTLT",
|
||||
"ZBFADD",
|
||||
"ZBFCLAMP",
|
||||
"ZBFMAX",
|
||||
@@ -493,7 +497,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 != 503 {
|
||||
t.Errorf("the family registers %d instructions, want 503", n)
|
||||
if n := len(arch.Extensions(arch.ARM64)); n != 507 {
|
||||
t.Errorf("the family registers %d instructions, want 507", n)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user