feat(audit): probe the new operand shapes and measure attemptable files

Assisted-by: GLM 5.3 Flash
This commit is contained in:
2026-09-20 06:45:03 +02:00
parent de5d9f358e
commit 5399a8a724
5 changed files with 119 additions and 15 deletions
+7
View File
@@ -26,6 +26,13 @@ func TestGroundTruthARM64(t *testing.T) {
"../testdata/verify/bigframe_arm64.s",
"../testdata/verify/guard_arm64.s",
"../testdata/verify/indirect_arm64.s",
"../testdata/verify/exclusive_arm64.s",
"../testdata/verify/shifts_arm64.s",
"../testdata/verify/atomics_arm64.s",
"../testdata/verify/crypto_arm64.s",
"../testdata/verify/integer_arm64.s",
"../testdata/verify/simd_arm64.s",
"../testdata/verify/system_arm64.s",
} {
t.Run(path, func(t *testing.T) {
src, err := os.ReadFile(path)
+7
View File
@@ -115,6 +115,13 @@ func TestGroundTruthAMD64(t *testing.T) {
"../testdata/verify/bigframe_amd64.s",
"../testdata/verify/guard_amd64.s",
"../testdata/verify/indirect_amd64.s",
"../testdata/verify/widen_amd64.s",
"../testdata/verify/scalar_amd64.s",
"../testdata/verify/atomics_amd64.s",
"../testdata/verify/system_amd64.s",
"../testdata/verify/crypto_amd64.s",
"../testdata/verify/sse_amd64.s",
"../testdata/verify/avx_amd64.s",
} {
t.Run(path, func(t *testing.T) {
f, errs := parser.Parse(path, mustRead(t, path))
+4
View File
@@ -25,6 +25,10 @@ func TestGroundTruthLOONG64(t *testing.T) {
"../testdata/verify/bigframe_loong64.s",
"../testdata/verify/guard_loong64.s",
"../testdata/verify/indirect_loong64.s",
"../testdata/verify/movwfp_loong64.s",
"../testdata/verify/branchu_loong64.s",
"../testdata/verify/atomics_loong64.s",
"../testdata/verify/vector_loong64.s",
"trampoline_loong64.s",
} {
t.Run(path, func(t *testing.T) {
+4
View File
@@ -29,6 +29,10 @@ func TestGroundTruthRISCV(t *testing.T) {
"../testdata/verify/guard_riscv64.s",
"../testdata/verify/indirect_riscv64.s",
"../testdata/verify/misc_riscv64.s",
"../testdata/verify/rvcstore_riscv64.s",
"../testdata/verify/atomics_riscv64.s",
"../testdata/verify/vector_riscv64.s",
"../testdata/verify/bitmanip_riscv64.s",
"trampoline_riscv64.s",
} {
t.Run(path, func(t *testing.T) {