From e0c61e4ec692e763ea856fbf7a2f2d88d5e68757 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 5 Apr 2025 20:27:17 -0700 Subject: theoretically all non-system instructions... --- tests/from_brain.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') 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] -- cgit v1.1