55 ------------------------------------------------------------------------------
66 The MIT License (MIT)
77
8- Copyright (c) 2022-2024 Aarno Labs LLC
8+ Copyright (c) 2022-2025 Aarno Labs LLC
99
1010 Permission is hereby granted, free of charge, to any person obtaining a copy
1111 of this software and associated documentation files (the "Software"), to deal
@@ -47,7 +47,7 @@ module TR = CHTraceResult
4747
4848
4949let testname = " bCHDisassembleMIPSInstructionTest"
50- let lastupdated = " 2023-03-10 "
50+ let lastupdated = " 2025-08-05 "
5151
5252
5353let make_dw (s : string ) = TR. tget_ok (D. string_to_doubleword s)
@@ -68,7 +68,6 @@ let _missing_I_opcodes = [
6868let _missing_I_opcode_branches = [
6969 " bgezal" ;
7070 " bltzal" ;
71- " teqi" ;
7271 " blezl" ;
7372 ]
7473
@@ -156,6 +155,8 @@ let mips_I_opcode_be_branch () =
156155 (" bltzl" , " 0x46d864" , " 04620005" , " bltzl $v1, 0x46d87c" );
157156 (" bne" , " 0x405560" , " 1615ffdf" , " bne $s0, $s5, 0x4054e0" );
158157 (" bnel" , " 0x46dd90" , " 5462000a" , " bnel $v1, $v0, 0x46ddbc" );
158+ (" teqi" , " 0x105f8" , " 046c0000" , " teqi $v1, 0" );
159+ (" tnei" , " 0x10810" , " 06ce0000" , " tnei $s6, 0" );
159160 ] in
160161 begin
161162 TS. new_testsuite (testname ^ " _mips_I_opcode_be_branch" ) lastupdated;
@@ -225,6 +226,7 @@ let mips_R_opcode_be () =
225226 (" srl" , " 0x40b290" , " 00032e02" , " srl $a1, $v1, 0x18" );
226227 (" srlv" , " 0x46d804" , " 00851806" , " srlv $v1, $a1, $a0" );
227228 (" teq" , " 0x415748" , " 006001f4" , " teq $v1, $zero" );
229+ (" tltu" , " 0xc7c8" , " 02820033" , " tltu $s4, $v0" );
228230 (" xor" , " 0x40b29c" , " 00451026" , " xor $v0, $v0, $a1" );
229231 ] in
230232 begin
0 commit comments