Add TODO about cycles

jsmoo
Nick Krichevsky 2022-04-07 18:13:35 -04:00
parent d419500279
commit 4e6e3f7680
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ fn make_ldnn_data(register: register::Single, data: &[u8]) -> ParseResult {
register,
value: *value,
},
// TODO: I don't love that the cycles are in a parsing function,
// but ultimately I want the cycles to be as close to the opcode as possible
// so that it's easier to change. Maybe I can change this once I end up with
// more of the instructions complete
cycles: 8,
},
// This can't fail if the previous .get(1) succeeded