From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17218 invoked by alias); 6 Sep 2004 06:21:50 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17205 invoked from network); 6 Sep 2004 06:21:46 -0000 Received: from unknown (HELO alice.acmet.com) (61.16.238.202) by sourceware.org with SMTP; 6 Sep 2004 06:21:46 -0000 Received: from monika (localhost [127.0.0.1]) by alice.acmet.com (8.11.6/8.11.6) with ESMTP id i866Rho31356; Mon, 6 Sep 2004 11:57:43 +0530 From: "Monika Chaddha" To: , Cc: Subject: Fix for cmp and cmpi instruction in m16.igen Date: Mon, 06 Sep 2004 06:21:00 -0000 Message-ID: <006101c493d9$7eeca200$5100a8c0@monika> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00099.txt.bz2 Defect report:- ------------- File ----- /src/sim/mips/m16.igen Defects -------- 1. Mnemonic for CMP instruction is putted as "sltiu r, r" While it should be as "cmp r, r" 2. Mnemonic for CMPI instruction is putted as "sltiu r, " While it should be as "cmpi r, " Patch ----- GDB Version no: 6.0 File: /src/sim/mips/m16.igen 11101,3.RX,3.RY,01010:RR:16::CMP -"sltiu r, r" +"cmp r, r" *mips16: *vr4100: { do_xor (SD_, TRX, TRY, T8IDX); } 01110,3.RX,8.IMMED:RI:16::CMPI -"sltiu r, " +"cmpi r, " *mips16: *vr4100: { do_xori (SD_, TRX, T8IDX, IMMED); }