diff options
author | Pitchumani Sivanupandi <pitchumani.s@atmel.com> | 2016-06-28 17:56:37 +0000 |
---|---|---|
committer | Denis Chertykov <denisc@gcc.gnu.org> | 2016-06-28 20:56:37 +0300 |
commit | 0f0f4f914dc0c6667b1ee57ca9461fc26ec67bb3 (patch) | |
tree | 8ee3efc2958cf9a0b9edfed5fa6b853a535a229b | |
parent | ba6be749f94e6033b8b5bcc23939b7b2f68b7c3f (diff) | |
download | gcc-0f0f4f914dc0c6667b1ee57ca9461fc26ec67bb3.zip gcc-0f0f4f914dc0c6667b1ee57ca9461fc26ec67bb3.tar.gz gcc-0f0f4f914dc0c6667b1ee57ca9461fc26ec67bb3.tar.bz2 |
re PR target/58655 ([avr] -mfract-convert-truncate not documented)
PR target/58655
* config/avr/avr.opt (-mfract-convert-truncate): Update description.
* doc/invoke.texi (AVR Options): Document it.
From-SVN: r237825
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/avr/avr.opt | 2 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 8 |
3 files changed, 13 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc515b7..ddbe6f1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-06-28 Pitchumani Sivanupandi <pitchumani.s@atmel.com> + + PR target/58655 + * config/avr/avr.opt (-mfract-convert-truncate): Update description. + * doc/invoke.texi (AVR Options): Document it. + 2016-06-28 Walter Lee <walt@tilera.com> * config/tilegx/linux.h: Do not include arch/icache.h diff --git a/gcc/config/avr/avr.opt b/gcc/config/avr/avr.opt index 05aa4b6..1af792b 100644 --- a/gcc/config/avr/avr.opt +++ b/gcc/config/avr/avr.opt @@ -97,7 +97,7 @@ Warn if the ISR is misspelled, i.e. without __vector prefix. Enabled by default. mfract-convert-truncate Target Report Mask(FRACT_CONV_TRUNC) -Allow to use truncation instead of rounding towards 0 for fractional int types. +Allow to use truncation instead of rounding towards zero for fractional fixed-point types. nodevicelib Driver Target Report RejectNegative diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 2c87c53..4f24dae 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -644,8 +644,8 @@ Objective-C and Objective-C++ Dialects}. @emph{AVR Options} @gccoptlist{-mmcu=@var{mcu} -maccumulate-args -mbranch-cost=@var{cost} @gol -mcall-prologues -mint8 -mn_flash=@var{size} -mno-interrupts @gol --mrelax -mrmw -mstrict-X -mtiny-stack -nodevicelib -Waddr-space-convert @gol --Wmisspelled-isr} +-mrelax -mrmw -mstrict-X -mtiny-stack -mfract-convert-truncate -nodevicelib @gol +-Waddr-space-convert -Wmisspelled-isr} @emph{Blackfin Options} @gccoptlist{-mcpu=@var{cpu}@r{[}-@var{sirevision}@r{]} @gol @@ -14621,6 +14621,10 @@ sbiw r26, const ; X -= const @opindex mtiny-stack Only change the lower 8@tie{}bits of the stack pointer. +@item -mfract-convert-truncate +@opindex mfract-convert-truncate +Allow to use truncation instead of rounding towards zero for fractional fixed-point types. + @item -nodevicelib @opindex nodevicelib Don't link against AVR-LibC's device specific library @code{lib<mcu>.a}. |