Add support for address-aligned-mode

This commit is contained in:
2023-12-11 18:52:16 +01:00
parent beaa224252
commit d519d9a37b
4 changed files with 139 additions and 40 deletions

View File

@@ -3,20 +3,21 @@ use pim_isa::{File, Instruction, Kernel};
pub const TEST_KERNEL: Kernel = Kernel([
Instruction::MOV {
src: File::Bank,
dst: File::Grf { index: 0 },
dst: File::GrfA { index: 0 },
},
Instruction::MOV {
src: File::Bank,
dst: File::Grf { index: 1 },
dst: File::GrfA { index: 1 },
},
Instruction::MAC {
src0: File::Grf { index: 0 },
src1: File::Bank,
src2: File::Grf { index: 1 },
dst: File::Grf { index: 1 },
src0: File::Bank,
src1: File::GrfA { index: 0 },
src2: File::GrfA { index: 1 },
dst: File::GrfA { index: 1 },
aam: false
},
Instruction::FILL {
src: File::Grf { index: 1 },
src: File::GrfA { index: 1 },
dst: File::Bank,
},
Instruction::EXIT,