From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11923 invoked by alias); 7 Sep 2004 20:29:15 -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 11909 invoked from network); 7 Sep 2004 20:29:14 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 7 Sep 2004 20:29:14 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i87KSwS2022514 for ; Tue, 7 Sep 2004 16:29:03 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i87KSr320288; Tue, 7 Sep 2004 16:28:58 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 45BD428D2; Tue, 7 Sep 2004 16:28:50 -0400 (EDT) Message-ID: <413E1A02.3020306@gnu.org> Date: Tue, 07 Sep 2004 20:29:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040831 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: introduce SH 2a simulator References: <412BABA3.7020300@gnu.org> <20040907153406.GA7258@cygbert.vinschen.de> In-Reply-To: <20040907153406.GA7258@cygbert.vinschen.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00112.txt.bz2 > Hi, > > On Aug 24 16:57, Andrew Cagney wrote: > >>> Can you revise the ChangeLogs as follows: >>> [...] >>> and repost. >>> Andrew > > > I'm doing that for Alex now. Is it really necessary to add the > "Commited by ..." line? It helps us track both who authored and who integrated a committed work. > If the answer is "yes", imagine it as > already added in the ChangeLogs below. Ok, approved, and thanks. Andrew > Corinna > > > include/gdb/ChangeLog: > > 2004-??-?? Michael Snyder > > * sim-sh.h: Add new sh2a banked registers. > > sim/sh/ChangeLog: > > 2004-??-?? Corinna Vinschen > > * interp.c (RAISE_EXCEPTION_IF_IN_DELAY_SLOT): New macro. > (in_delay_slot): New flag variable. > (Delay_Slot): Set in_delay_slot. > (sim_resume): Reset in_delay_slot after leaving code switch. > * gencode.c (op tab): Call RAISE_EXCEPTION_IF_IN_DELAY_SLOT for all > instructions not allowed in delay slots. > > 2004-??-?? Michael Snyder > > Introduce SH2a support. > * interp.c: Change type of jump table to short. Add various macros. > (sim_load): Save the bfd machine code. > (sim_create_inferior): Ditto. > (union saved_state_type): Add tbr, ibnr and ibcr registers. > Move bfd_mach to end of struct. Add regstack pointer. > (init_dsp): Don't swap contents of sh_dsp_table any more. Instead > use it directly in its own switch statement. Allocate space for 512 > register banks. > (do_long_move_insn): New function. > (do_blog_insn): Ditto. > (trap): Use trap #13 and trap #14 to set ibnr and ibcr. > * gencode.c: Move movx/movy insns into separate switch statement. > (op tab): Add sh2a insns. Reject instructions that are disabled > on that chip. > (gensim_caselist): Generate default case here instead of in caller. > (gensim): Generate two separate switch statements. Call > gensim_caselist once for each (for movsxy_tab and for tab). > Add tokens for r15 and multiple regs. > (conflict_warn, warn_conflicts): Add for debugging. > > sim/testsuite/sim/sh/ChangeLog: > > 2004-??-?? Michael Snyder > > Introduce SH2a support. > * allinsn.exp: Add new tests. > * fsca.s: New file. > * fsrra.s: New file. > * fail.s: New file, make sure fail works. > * pass.s: New file, make sure pass works. >