From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5194 invoked by alias); 5 Dec 2003 02:00:26 -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 5179 invoked from network); 5 Dec 2003 02:00:25 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 5 Dec 2003 02:00:25 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id hB520O224824; Thu, 4 Dec 2003 21:00:24 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id hB520Nb00729; Thu, 4 Dec 2003 21:00:23 -0500 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id hB520Mv12479; Thu, 4 Dec 2003 18:00:22 -0800 Message-ID: <3FCFE6B6.3060606@redhat.com> Date: Fri, 05 Dec 2003 02:00:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Nick Clifton CC: gdb-patches@sources.redhat.com, binutils@sources.redhat.com Subject: Re: [RFA] gas port for sh4a References: <3FCD4560.60809@redhat.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------010504080004090605090500" X-SW-Source: 2003-12/txt/msg00177.txt.bz2 This is a multi-part message in MIME format. --------------010504080004090605090500 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 860 Nick Clifton wrote: > Hi Michael, > > >>2003-12-02 Alexandre Oliva >> >> * config/tc-sh.c: Add support for sh4a and no-fpu variants. >> * testsuite/gas/sh/basic.exp: Call tests for sh4a. >> * testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s, >> err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d, >> sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s: >> New files, tests for sh4a and related variants. > > > Approved - but before applying please could you or Alex fix up the > problem pointed out by Andrew Stubbs (namly that the new command line > switches are not documented in the -help output) and the fact that > these options are not documented in the gas/doc/c-sh64.texi file. > > One other thing - please could you add an entry to the gas/NEWS file > mentioning the new support. OK, committed with the following amendments: --------------010504080004090605090500 Content-Type: text/plain; name="sh64mod.submit" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sh64mod.submit" Content-length: 4598 2003-12-02 Alexandre Oliva * config/tc-sh.c: Add support for sh4a and no-fpu variants, with appropriate additions to md_show_usage. * testsuite/gas/sh/basic.exp: Call tests for sh4a. * testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s, err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d, sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s: New files, tests for sh4a and related variants. * doc/c-sh.texi: Document new -isa options. * doc/c-sh64.texi: Ditto. * NEWS: Mention new support for sh4a. Index: config/tc-sh.c =================================================================== RCS file: /cvs/cvsfiles/devo/gas/config/tc-sh.c,v retrieving revision 1.155.4.1 diff -p -r1.155.4.1 tc-sh.c *** config/tc-sh.c 22 Sep 2003 21:56:18 -0000 1.155.4.1 --- config/tc-sh.c 4 Dec 2003 23:34:38 -0000 *************** SH options:\n\ *** 3041,3052 **** -relax alter jump instructions for long displacements\n\ -small align sections to 4 byte boundaries, not 16\n\ -dsp enable sh-dsp insns, and disable floating-point ISAs.\n")); #ifdef HAVE_SH64 fprintf (stream, _("\ - -isa=[shmedia set default instruction set for SH64\n\ - | SHmedia\n\ - | shcompact\n\ - | SHcompact]\n\ -abi=[32|64] set size of expanded SHmedia operands and object\n\ file type\n\ -shcompact-const-crange emit code-range descriptors for constants in\n\ --- 3041,3062 ---- -relax alter jump instructions for long displacements\n\ -small align sections to 4 byte boundaries, not 16\n\ -dsp enable sh-dsp insns, and disable floating-point ISAs.\n")); + fprintf (stream, _("\ + -isa=[sh4\n\ + | sh4a\n\ + | dsp same as '-dsp'\n\ + | fp\n" + #ifdef HAVE_SH64 + "\ + | shmedia set default instruction set for SH64\n\ + | SHmedia\n\ + | shcompact\n\ + | SHcompact\n" + #endif + "\ + | any]\n")); #ifdef HAVE_SH64 fprintf (stream, _("\ -abi=[32|64] set size of expanded SHmedia operands and object\n\ file type\n\ -shcompact-const-crange emit code-range descriptors for constants in\n\ Index: doc/c-sh.texi =================================================================== RCS file: /cvs/cvsfiles/devo/gas/doc/c-sh.texi,v retrieving revision 1.6 diff -p -r1.6 c-sh.texi *** doc/c-sh.texi 17 May 2003 19:11:05 -0000 1.6 --- doc/c-sh.texi 4 Dec 2003 23:34:38 -0000 *************** Align sections to 4 byte boundaries, not *** 45,50 **** --- 45,59 ---- @item -dsp Enable sh-dsp insns, and disable sh3e / sh4 insns. + @item -isa=sh4 | sh4a + Specify the sh4 or sh4a instruction set. + @item -isa=dsp + Enable sh-dsp insns, and disable sh3e / sh4 insns. + @item -isa=fp + Enable sh2e, sh3e, sh4, and sh4a insn sets. + @item -isa=all + Enable sh1, sh2, sh2e, sh3, sh3e, sh4, sh4a, and sh-dsp insn sets. + @end table @node SH Syntax Index: doc/c-sh64.texi =================================================================== RCS file: /cvs/cvsfiles/devo/gas/doc/c-sh64.texi,v retrieving revision 1.6 diff -p -r1.6 c-sh64.texi *** doc/c-sh64.texi 17 May 2003 19:11:05 -0000 1.6 --- doc/c-sh64.texi 4 Dec 2003 23:34:38 -0000 *************** *** 22,27 **** --- 22,35 ---- @cindex SH64 ISA options @cindex ISA options, SH64 + @item -isa=sh4 | sh4a + Specify the sh4 or sh4a instruction set. + @item -isa=dsp + Enable sh-dsp insns, and disable sh3e / sh4 insns. + @item -isa=fp + Enable sh2e, sh3e, sh4, and sh4a insn sets. + @item -isa=all + Enable sh1, sh2, sh2e, sh3, sh3e, sh4, sh4a, and sh-dsp insn sets. @item -isa=shmedia | -isa=shcompact Specify the default instruction set. @code{SHmedia} specifies the 32-bit opcodes, and @code{SHcompact} specifies the 16-bit opcodes Index: NEWS =================================================================== RCS file: /cvs/src/src/gas/NEWS,v retrieving revision 1.51 diff -p -r1.51 NEWS *** NEWS 3 Dec 2003 17:42:12 -0000 1.51 --- NEWS 5 Dec 2003 01:52:34 -0000 *************** *** 1,9 **** -*- text -*- * Support for Renesas M32R2 added. ! * Limited support for Mapping Symbols as specified in the ARM ELF specification ! has been added to the arm assembler. * On ARM architectures, added a new gas directive ".unreq" that undoes definitions created by ".req". --- 1,11 ---- -*- text -*- + * Added support for sh4a and variants. + * Support for Renesas M32R2 added. ! * Limited support for Mapping Symbols as specified in the ARM ELF ! specification has been added to the arm assembler. * On ARM architectures, added a new gas directive ".unreq" that undoes definitions created by ".req". --------------010504080004090605090500--