Implement all missing instructions
This commit is contained in:
@@ -5,12 +5,20 @@ pub const TEST_KERNEL: Kernel = Kernel([
|
||||
src: File::Bank,
|
||||
dst: File::Grf { index: 0 },
|
||||
},
|
||||
Instruction::ADD {
|
||||
src0: File::Bank,
|
||||
src1: File::Grf { index: 0 },
|
||||
dst: File::Grf { index: 0 },
|
||||
Instruction::MOV {
|
||||
src: File::Bank,
|
||||
dst: File::Grf { index: 1 },
|
||||
},
|
||||
Instruction::MAC {
|
||||
src0: File::Grf { index: 0 },
|
||||
src1: File::Bank,
|
||||
src2: File::Grf { index: 1 },
|
||||
dst: File::Grf { index: 1 },
|
||||
},
|
||||
Instruction::FILL {
|
||||
src: File::Grf { index: 1 },
|
||||
dst: File::Bank,
|
||||
},
|
||||
Instruction::FILL { src: File::Grf { index: 0 }, dst: File::Bank },
|
||||
Instruction::EXIT,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
@@ -39,5 +47,4 @@ pub const TEST_KERNEL: Kernel = Kernel([
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user