Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RE:Fix for cmp and cmpi instruction in m16.igen
@ 2004-09-09 10:01 Monika Chaddha
       [not found] ` <41447765.30805@gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Monika Chaddha @ 2004-09-09 10:01 UTC (permalink / raw)
  To: bug-gdb, gdb-patches


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


^ permalink raw reply	[flat|nested] 3+ messages in thread
* Fix for cmp and cmpi instruction in m16.igen
@ 2004-09-06  6:21 Monika Chaddha
  0 siblings, 0 replies; 3+ messages in thread
From: Monika Chaddha @ 2004-09-06  6:21 UTC (permalink / raw)
  To: bug-gdb, gdb-patches; +Cc: acmet

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);
 }



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-24 21:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 10:01 RE:Fix for cmp and cmpi instruction in m16.igen Monika Chaddha
     [not found] ` <41447765.30805@gnu.org>
     [not found]   ` <yov5fz5gnvty.fsf@ldt-sj3-010.sj.broadcom.com>
2004-09-24 21:23     ` Fix " Andrew Cagney
  -- strict thread matches above, loose matches on Subject: below --
2004-09-06  6:21 Monika Chaddha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox