diff options
author | iximeow <me@iximeow.net> | 2025-04-13 18:58:40 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2025-04-13 18:58:40 -0700 |
commit | 47a4ca07e8ab14d5548d8fc63d2c1730520a7432 (patch) | |
tree | a8fdc204d7f9eef6a30ed537f1c33564a2ffe5f4 /src/lib.rs | |
parent | 96847c9d1f17d745fd1538ee18c9411df0e2b138 (diff) |
the rest of duplexes, oops
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -2164,32 +2164,46 @@ fn decode_packet< ctx.parse(subinstr_l1, subinstr_l1)?; }, 0b0001 => { + ctx.parse(subinstr_l2, subinstr_l1)?; }, 0b0010 => { + ctx.parse(subinstr_l2, subinstr_l2)?; }, 0b0011 => { + ctx.parse(subinstr_a, subinstr_a)?; }, 0b0100 => { + ctx.parse(subinstr_l1, subinstr_a)?; }, 0b0101 => { + ctx.parse(subinstr_l2, subinstr_a)?; }, 0b0110 => { + ctx.parse(subinstr_s1, subinstr_a)?; }, 0b0111 => { + ctx.parse(subinstr_s2, subinstr_a)?; }, 0b1000 => { + ctx.parse(subinstr_s1, subinstr_l1)?; }, 0b1001 => { + ctx.parse(subinstr_s1, subinstr_l2)?; }, 0b1010 => { + ctx.parse(subinstr_s1, subinstr_s1)?; }, 0b1011 => { + ctx.parse(subinstr_s2, subinstr_s1)?; }, 0b1100 => { + ctx.parse(subinstr_s2, subinstr_l1)?; }, 0b1101 => { + ctx.parse(subinstr_s2, subinstr_l2)?; }, 0b1110 => { + ctx.parse(subinstr_s2, subinstr_s2)?; }, _ => { // 0b1111 is the last possible pattern, but _ makes this exhaustive anyway |