use pim_isa::{File, Instruction, Kernel}; pub const TEST_KERNEL: Kernel = Kernel([ Instruction::MOV { src: File::Bank, dst: File::GrfA { index: 0 }, }, Instruction::MOV { src: File::Bank, dst: File::GrfB { index: 0 }, }, Instruction::ADD { src0: File::GrfA { index: 0 }, src1: File::GrfA { index: 0 }, dst: File::GrfA { index: 0 }, aam: false, }, Instruction::ADD { src0: File::GrfB { index: 0 }, src1: File::GrfB { index: 0 }, dst: File::GrfB { index: 0 }, aam: false, }, // Instruction::MOV { // src: File::Bank, // dst: File::GrfA { index: 1 }, // }, // Instruction::MOV { // src: File::Bank, // dst: File::GrfB { index: 1 }, // }, // Instruction::MAC { // src0: File::Bank, // src1: File::GrfA { index: 0 }, // src2: File::GrfB { index: 0 }, // dst: File::GrfB { index: 0 }, // aam: false, // }, // Instruction::MAC { // src0: File::Bank, // src1: File::GrfA { index: 1 }, // src2: File::GrfB { index: 1 }, // dst: File::GrfB { index: 1 }, // aam: false, // }, Instruction::FILL { src: File::GrfA { index: 0 }, dst: File::Bank, }, Instruction::FILL { src: File::GrfB { index: 0 }, dst: File::Bank, }, Instruction::EXIT, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, Instruction::NOP, ]);