From: Michael Snyder <msnyder@redhat.com>
To: Nick Clifton <nickc@redhat.com>
Cc: gdb-patches@sources.redhat.com, binutils@sources.redhat.com
Subject: Re: [RFA] gas port for sh4a
Date: Fri, 05 Dec 2003 02:00:00 -0000 [thread overview]
Message-ID: <3FCFE6B6.3060606@redhat.com> (raw)
In-Reply-To: <m34qwgo5bp.fsf@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 860 bytes --]
Nick Clifton wrote:
> Hi Michael,
>
>
>>2003-12-02 Alexandre Oliva <aoliva@redhat.com>
>>
>> * 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:
[-- Attachment #2: sh64mod.submit --]
[-- Type: text/plain, Size: 4598 bytes --]
2003-12-02 Alexandre Oliva <aoliva@redhat.com>
* 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".
next prev parent reply other threads:[~2003-12-05 2:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-03 2:07 Michael Snyder
2003-12-04 17:38 ` Nick Clifton
2003-12-05 2:00 ` Michael Snyder [this message]
2003-12-05 11:47 ` Alexandre Oliva
2003-12-05 19:38 ` Michael Snyder
2003-12-03 8:52 Stubbs, Andrew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FCFE6B6.3060606@redhat.com \
--to=msnyder@redhat.com \
--cc=binutils@sources.redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=nickc@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox