From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14697 invoked by alias); 18 Oct 2005 09:15:28 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 14651 invoked by uid 22791); 18 Oct 2005 09:15:18 -0000 Received: from mail.renesas.com (HELO mail03.idc.renesas.com) (202.234.163.13) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 18 Oct 2005 09:15:18 +0000 Received: from mail03.idc.renesas.com ([127.0.0.1]) by mail03.idc.renesas.com. (SMSSMTP 4.1.9.35) with SMTP id M2005101818151407110 ; Tue, 18 Oct 2005 18:15:14 +0900 Received: (from root@localhost) by guardian04.idc.renesas.com with id j9I9FEhk018678; Tue, 18 Oct 2005 18:15:14 +0900 (JST) Received: from unknown [172.20.8.73] by guardian04.idc.renesas.com with SMTP id UAA18677 ; Tue, 18 Oct 2005 18:15:13 +0900 Received: from dnma02 (dnma02.rso.renesas.com [172.30.11.200]) by dnma01.rso.renesas.com (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0IOJ00F1YTPCPJ@dnma01.rso.renesas.com>; Tue, 18 Oct 2005 18:15:12 +0900 (JST) Received: from renesas.com ([10.145.105.179]) by dnma02.rso.renesas.com (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0IOJ00LP5TPC63@dnma02.rso.renesas.com>; Tue, 18 Oct 2005 18:15:12 +0900 (JST) Date: Tue, 18 Oct 2005 09:15:00 -0000 From: Kazuhiro Inaoka Subject: Re: [PATCH] m32r-*-as For a code depended for host word size. In-reply-to: <4354AA4B.3060704@redhat.com> To: Nick Clifton Cc: Andreas Schwab , binutils@sources.redhat.com, cgen@sources.redhat.com Message-id: <4354BC09.5010803@renesas.com> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_yiivOJjILsqkqDQa69zbpw)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) References: <434F6596.404@renesas.com> <4352FC6C.3070703@renesas.com> <4354AA4B.3060704@redhat.com> X-SW-Source: 2005-q4/txt/msg00012.txt.bz2 This is a multi-part message in MIME format. --Boundary_(ID_yiivOJjILsqkqDQa69zbpw) Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT Content-length: 211 > No need - I have checked this patch in and attributed it to Andreas. Thanks Nick, I checked your committed patch. But It's not so good. I think Andreas meant the attached patch. Regards, Kazuhiro Inaoka --Boundary_(ID_yiivOJjILsqkqDQa69zbpw) Content-type: text/plain; name=m32r.opc.patch Content-transfer-encoding: 7BIT Content-disposition: inline; filename=m32r.opc.patch Content-length: 570 Index: m32r.opc =================================================================== RCS file: /cvs/src/src/cpu/m32r.opc,v retrieving revision 1.8 diff -u -r1.8 m32r.opc --- m32r.opc 18 Oct 2005 07:53:17 -0000 1.8 +++ m32r.opc 18 Oct 2005 08:55:24 -0000 @@ -180,9 +180,7 @@ if (errmsg == NULL && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER) { - value &= 0xffff; - if (value & 0x8000) - value = ((value & 0xffff) ^ 0x8000) - 0x8000; + value = ((value & 0xffff) ^ 0x8000) - 0x8000; } *valuep = value; return errmsg; --Boundary_(ID_yiivOJjILsqkqDQa69zbpw)--