test(arch): pin the golden vectors of the last four families
Assisted-by: GLM 5.3 Flash
This commit is contained in:
1 parent
aeb109a64c
commit
7aba29ac67
3 files changed
+77
No files matched your search
@@ -846,6 +846,30 @@ func TestArm64AssembleExtensionStage4Golden(t *testing.T) {
|
||||
{"ZST2Q [Z8.Q, Z9.Q], P3, (R6<<4)(RSP)", 0xe4660fe8},
|
||||
{"ZST3D [Z8.D, Z9.D, Z10.D], P3, (R6<<3)(RSP)", 0xe5c66fe8},
|
||||
{"ZST4Q [Z8.Q, Z9.Q, Z10.Q, Z11.Q], P3, (R6<<4)(RSP)", 0xe4e60fe8},
|
||||
// The rest of the BFloat16 wall.
|
||||
{"ZBFCVT Z13.S, P1.M, Z22.H", 0x658aa5b6},
|
||||
{"ZBFCVT Z13.S, P1.Z, Z22.H", 0x649ac5b6},
|
||||
{"ZBFCVTNT Z13.S, P1.M, Z22.H", 0x648aa5b6},
|
||||
{"ZBFDOT Z7.H, Z6.H, Z23.S", 0x646780d7},
|
||||
{"ZBFMLA Z23.H, Z13.H, P1.M, Z22.H", 0x653705b6},
|
||||
{"ZBFMLALB Z7.H, Z6.H, Z23.S", 0x64e780d7},
|
||||
{"ZBFMLALT Z7.H, Z6.H, Z23.S", 0x64e784d7},
|
||||
{"ZBFMLS Z23.H, Z13.H, P1.M, Z22.H", 0x653725b6},
|
||||
{"ZBFMLSLB Z7.H, Z6.H, Z23.S", 0x64e7a0d7},
|
||||
{"ZBFMLSLT Z7.H, Z6.H, Z23.S", 0x64e7a4d7},
|
||||
{"ZBFMMLA Z7.H, Z6.H, Z23.S", 0x6467e4d7},
|
||||
{"ZBFSCALE Z23.H, Z13.H, P1.M, Z13.H", 0x650986ed},
|
||||
// The last-active vector shape and the compares to a predicate.
|
||||
{"ZCLASTA Z15.B, Z0.B, P3, Z0.B", 0x05288de0},
|
||||
{"ZCLASTB Z15.B, Z0.B, P3, Z0.B", 0x05298de0},
|
||||
{"ZCMPEQ Z0.H, Z2.H, P0.Z, P14.H", 0x2440a04e},
|
||||
{"ZCMPEQ Z0.D, Z12.S, P0.Z, P14.S", 0x2480218e},
|
||||
{"ZCMPHS Z0.H, Z2.H, P0.Z, P14.H", 0x2440004e},
|
||||
{"ZCMPNE Z0.D, Z12.S, P0.Z, P14.S", 0x2480219e},
|
||||
// The vector-length arithmetic.
|
||||
{"ADDPL $9, R11, RSP", 0x046b513f},
|
||||
{"ADDVL $9, R11, RSP", 0x042b513f},
|
||||
{"RDVL $1, R27", 0x04bf503b},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
words := assembleArm64Words(t, arm64ExtProbeHead+"\t"+tt.stmt+"\n\tRET\n")
|
||||
|
||||
Reference in new issue
Block a user