diff options
author | Takashi YOSHII <yoshii.takashi@renesas.com> | 2009-06-25 03:41:53 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2009-06-25 03:41:53 +0000 |
commit | b4589acca420c16a7d67c77b8e36afa9a0a8d8ce (patch) | |
tree | 3843c02f76c72dec1624bb5ee5b5fea477e10540 /gcc | |
parent | 6ae467eadc27db1267c9793a9b2f632ecb156bad (diff) | |
download | gcc-b4589acca420c16a7d67c77b8e36afa9a0a8d8ce.zip gcc-b4589acca420c16a7d67c77b8e36afa9a0a8d8ce.tar.gz gcc-b4589acca420c16a7d67c77b8e36afa9a0a8d8ce.tar.bz2 |
invoke.texi (SH Options): Document -m2a, -m2a-single, -m2a-single-only and -m2a-nofpu.
* doc/invoke.texi (SH Options): Document -m2a, -m2a-single,
-m2a-single-only and -m2a-nofpu.
* config/sh/sh.opt: Document m2a generates FPU code.
From-SVN: r148926
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/sh/sh.opt | 6 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 24 |
3 files changed, 33 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 27d436c..b755995 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2009-06-23 Takashi YOSHII <yoshii.takashi@renesas.com> + + PR target/40515 + * doc/invoke.texi (SH Options): Document -m2a, -m2a-single, + -m2a-single-only and -m2a-nofpu. + * config/sh/sh.opt: Document m2a generates FPU code. + 2009-06-24 Anatoly Sokolov <aesok@post.ru> * defaults.h (CAN_ELIMINATE): Provide default. diff --git a/gcc/config/sh/sh.opt b/gcc/config/sh/sh.opt index 8aa0c9f..f365b2b 100644 --- a/gcc/config/sh/sh.opt +++ b/gcc/config/sh/sh.opt @@ -49,7 +49,7 @@ Generate SH2 code m2a Target RejectNegative Condition(SUPPORT_SH2A) -Generate SH2a code +Generate default double-precision SH2a-FPU code m2a-nofpu Target RejectNegative Condition(SUPPORT_SH2A_NOFPU) @@ -57,11 +57,11 @@ Generate SH2a FPU-less code m2a-single Target RejectNegative Condition(SUPPORT_SH2A_SINGLE) -Generate default single-precision SH2a code +Generate default single-precision SH2a-FPU code m2a-single-only Target RejectNegative Condition(SUPPORT_SH2A_SINGLE_ONLY) -Generate only single-precision SH2a code +Generate only single-precision SH2a-FPU code m2e Target RejectNegative Condition(SUPPORT_SH2E) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 15ff566..1078ce5 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -778,7 +778,9 @@ See RS/6000 and PowerPC Options. -mscore5 -mscore5u -mscore7 -mscore7d} @emph{SH Options} -@gccoptlist{-m1 -m2 -m2e -m3 -m3e @gol +@gccoptlist{-m1 -m2 -m2e @gol +-m2a-nofpu -m2a-single-only -m2a-single -m2a @gol +-m3 -m3e @gol -m4-nofpu -m4-single-only -m4-single -m4 @gol -m4a-nofpu -m4a-single-only -m4a-single -m4a -m4al @gol -m5-64media -m5-64media-nofpu @gol @@ -14934,6 +14936,26 @@ Generate code for the SH2. @item -m2e Generate code for the SH2e. +@item -m2a-nofpu +@opindex m2a-nofpu +Generate code for the SH2a without FPU, or for a SH2a-FPU in such a way +that the floating-point unit is not used. + +@item -m2a-single-only +@opindex m2a-single-only +Generate code for the SH2a-FPU, in such a way that no double-precision +floating point operations are used. + +@item -m2a-single +@opindex m2a-single +Generate code for the SH2a-FPU assuming the floating-point unit is in +single-precision mode by default. + +@item -m2a +@opindex m2a +Generate code for the SH2a-FPU assuming the floating-point unit is in +double-precision mode by default. + @item -m3 @opindex m3 Generate code for the SH3. |