Introduce a bunch of new kernels

This commit is contained in:
2024-01-06 19:05:13 +01:00
parent 29d9cee52c
commit 4510a36a10
5 changed files with 428 additions and 103 deletions

View File

@@ -138,7 +138,7 @@ impl PimVM {
if pim_unit_index == 0 {
log::debug!(
"PimUnit {pim_unit_index} at {address:#x} (B{aam_grf_b_index}, A{aam_grf_a_index}) Execute PC {}: {inst:?}",
"PimUnit {pim_unit_index} at {address:#x} (B{aam_grf_b_index}, A{aam_grf_a_index}) Execute Read PC {}: {inst:?}",
pim_unit.pc
);
}
@@ -331,13 +331,13 @@ impl PimVM {
pim_unit.pc += 1;
}
if pim_unit_index == 0 {
log::debug!(
"PimUnit {pim_unit_index} JUMP to PC {}: {:?}",
pim_unit.pc,
self.kernel.0[pim_unit.pc as usize]
);
}
// if pim_unit_index == 0 {
// log::debug!(
// "PimUnit {pim_unit_index} JUMP to PC {}: {:?}",
// pim_unit.pc,
// self.kernel.0[pim_unit.pc as usize]
// );
// }
}
}
@@ -353,7 +353,7 @@ impl PimVM {
if pim_unit_index == 0 {
log::debug!(
"PimUnit {pim_unit_index} Execute PC {}: {inst:?}",
"PimUnit {pim_unit_index} Execute Write PC {}: {inst:?}",
pim_unit.pc
);
}