Implement ADD and JUMP instructions
This commit is contained in:
@@ -1,25 +1,23 @@
|
||||
use pim_isa::{File, Instruction, Kernel};
|
||||
|
||||
pub const TEST_KERNEL: Kernel = Kernel([
|
||||
Instruction::FILL {
|
||||
src: File::Grf { index: 0 },
|
||||
dst: File::Bank,
|
||||
},
|
||||
Instruction::MOV {
|
||||
src: File::Bank,
|
||||
dst: File::Grf { index: 1 },
|
||||
dst: File::Grf { index: 0 },
|
||||
},
|
||||
Instruction::JUMP {
|
||||
offset: 1,
|
||||
count: 12,
|
||||
Instruction::ADD {
|
||||
src0: File::Bank,
|
||||
src1: File::Grf { index: 0 },
|
||||
dst: File::Grf { index: 0 },
|
||||
},
|
||||
Instruction::FILL { src: File::Grf { index: 0 }, dst: File::Bank },
|
||||
Instruction::EXIT,
|
||||
Instruction::NOP,
|
||||
Instruction::EXIT,
|
||||
Instruction::NOP,
|
||||
Instruction::EXIT,
|
||||
Instruction::NOP,
|
||||
Instruction::EXIT,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
Instruction::NOP,
|
||||
|
||||
Reference in New Issue
Block a user