From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26322 invoked by alias); 6 Apr 2003 14:21:05 -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 26315 invoked from network); 6 Apr 2003 14:21:04 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 6 Apr 2003 14:21:04 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 8EFA92B23; Sun, 6 Apr 2003 10:20:58 -0400 (EDT) Message-ID: <3E9037CA.2070009@redhat.com> Date: Sun, 06 Apr 2003 14:21: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: <3E8F2760.6030005@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00096.txt.bz2 > > I have applied the patch below to do this. > > Why did you want the code moved ? A long term goal is to eliminate files like simops.c so that the instruction is implemented directly in the .igen file. Eliminates the overhead of that external call; and finishes a gencode -> igen conversion started too long ago. Andrew > Cheers > Nick > > 2003-04-06 Nick Clifton > > * simops.c (OP_40): Delete. Move code to... > * v850-igen.c (): ...Here. Sign extend the first operand. > * simops.h (OP_40): Remove prototype. >