From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12032 invoked by alias); 5 Apr 2003 18:58:46 -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 12018 invoked from network); 5 Apr 2003 18:58:44 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 5 Apr 2003 18:58:44 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 794222B23; Sat, 5 Apr 2003 13:58:40 -0500 (EST) Message-ID: <3E8F2760.6030005@redhat.com> Date: Sat, 05 Apr 2003 18:58:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nick Clifton Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: v850 simulator does not sign extend first operand to divh References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00091.txt.bz2 > Hi Guys, > > May I apply the patch below please ? It makes the v850 simulator > sign extend its first operand, which is how the instruction should > behave. > > Cheers > Nick > > 2003-04-03 Nick Clifton > > * simops.c (OP_40): Make divh sign extend its first operand. > Yes, but can you please put the fixed code directly in v850.igen (deleting OP_40): // DIVH rrrrr!0,000010,RRRRR!0:I:::divh "divh r, r" { COMPAT_1 (OP_40 ()); } Andrew