summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2025-04-13 18:58:40 -0700
committeriximeow <me@iximeow.net>2025-04-13 18:58:40 -0700
commit47a4ca07e8ab14d5548d8fc63d2c1730520a7432 (patch)
treea8fdc204d7f9eef6a30ed537f1c33564a2ffe5f4 /src/lib.rs
parent96847c9d1f17d745fd1538ee18c9411df0e2b138 (diff)
the rest of duplexes, oops
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b5ffe05..26665ea 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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