🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Monika Chaddha Thu, 09 Sep 2004 10:00
RE:Fix for cmp and cmpi instruction in m16.igen
#1316
Author: Monika Chaddha
Date: Thu, 09 Sep 2004 10:00
73 lines
2878 bytes
I had sent this bug but didn't get any reply regarding this. Please give
me review comments regarding this.

Regards
Monika

-----Original Message-----
From: bug-gdb-bounces+monika=acmet.com@gnu.org
[mailto:bug-gdb-bounces+monika=acmet.com@gnu.org] On Behalf Of Monika
Chaddha
Sent: Monday, September 06, 2004 11:50 AM
To: bug-gdb@gnu.org; gdb-patches@sources.redhat.com
Cc: acmet@vsnl.net
Subject: Fix for cmp and cmpi instruction in m16.igen

Defect report:-
-------------
File
-----
/src/sim/mips/m16.igen

Defects
--------

1. Mnemonic for CMP instruction is putted as

   "sltiu r<TRX>, r<TRY>"

   While it should be as

   "cmp r<TRX>, r<TRY>"

2. Mnemonic for CMPI instruction is putted as

   "sltiu r<TRX>, <IMMED>"

   While it should be as

   "cmpi r<TRX>, <IMMED>"

Patch
-----

GDB Version no:  6.0

File: /src/sim/mips/m16.igen

 11101,3.RX,3.RY,01010:RR:16::CMP
-"sltiu r<TRX>, r<TRY>"
+"cmp r<TRX>, r<TRY>"
 *mips16:
 *vr4100:
 {
   do_xor (SD_, TRX, TRY, T8IDX);
 }

 01110,3.RX,8.IMMED:RI:16::CMPI
-"sltiu r<TRX>, <IMMED>"
+"cmpi r<TRX>, <IMMED>"
 *mips16:
 *vr4100:
 {
   do_xori (SD_, TRX, T8IDX, IMMED);
 }




_______________________________________________
Bug-gdb mailing list
Bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads