diff options
author | iximeow <me@iximeow.net> | 2025-04-05 20:27:17 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2025-04-05 20:27:17 -0700 |
commit | e0c61e4ec692e763ea856fbf7a2f2d88d5e68757 (patch) | |
tree | c9faecd9cd0a08114543931509e36ac4b0a70aeb /tests/from_brain.rs | |
parent | 8bcec993e3c5b9832ccee91e94eb5de6e80c9b24 (diff) |
theoretically all non-system instructions...
Diffstat (limited to 'tests/from_brain.rs')
-rw-r--r-- | tests/from_brain.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/from_brain.rs b/tests/from_brain.rs index 27963ba..eb7624e 100644 --- a/tests/from_brain.rs +++ b/tests/from_brain.rs @@ -1117,6 +1117,10 @@ fn inst_1101() { test_display(&0b1101_0010_000_10100_11_100110_011_10110u32.to_le_bytes(), "{ P2 = tlbmatch(R21:20, R6) }"); test_display(&0b1101_0010_000_10100_11_100110_100_10110u32.to_le_bytes(), "{ P2 = boundscheck(R21:20, R7:6):raw:lo }"); test_display(&0b1101_0010_000_10100_11_100110_101_10110u32.to_le_bytes(), "{ P2 = boundscheck(R21:20, R7:6):raw:hi }"); + + test_display(&0b1101_0010_100_10100_11_100110_000_10110u32.to_le_bytes(), "{ P2 = cmp.gt(R21:20, R7:6) }"); + test_display(&0b1101_0010_100_10100_11_100110_010_10110u32.to_le_bytes(), "{ P2 = cmp.eq(R21:20, R7:6) }"); + test_display(&0b1101_0010_100_10100_11_100110_100_10110u32.to_le_bytes(), "{ P2 = cmp.gtu(R21:20, R7:6) }"); } #[test] |