tests/scratch.rs: the Instr literals carry the era fields win and off (0), left out by the merge of ca2-mixer onto the era tree
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
3a7fba7c0e
commit
795472e6b8
1 changed files with 2 additions and 2 deletions
|
|
@ -240,10 +240,10 @@ fn written_words_unbiased_and_rehit_rates() {
|
||||||
// ---------------------------------------------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
fn ins(op: Op, dst: u8, src: u8) -> Instr {
|
fn ins(op: Op, dst: u8, src: u8) -> Instr {
|
||||||
Instr { op, dst, src, src2: 0, imm: 0, imm2: 0, rot: 1, bit: 0, mask: 1, width: 1 }
|
Instr { op, dst, src, src2: 0, imm: 0, imm2: 0, rot: 1, bit: 0, mask: 1, width: 1, win: 0, off: 0 }
|
||||||
}
|
}
|
||||||
fn add_imm(dst: u8, src: u8, imm: u32) -> Instr {
|
fn add_imm(dst: u8, src: u8, imm: u32) -> Instr {
|
||||||
Instr { op: Op::Add, dst, src, src2: 0, imm, imm2: imm, rot: 1, bit: 0, mask: 1, width: 1 }
|
Instr { op: Op::Add, dst, src, src2: 0, imm, imm2: imm, rot: 1, bit: 0, mask: 1, width: 1, win: 0, off: 0 }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A hand-built program of class `c` named `name` (its seed is the name, so its fill words and init words are
|
/// A hand-built program of class `c` named `name` (its seed is the name, so its fill words and init words are
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue