From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22166 invoked by alias); 27 Jun 2016 11:41:43 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 20111 invoked by uid 89); 27 Jun 2016 11:41:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*atmel.com, fractional, Attached, U*8 X-HELO: ussmtp01.atmel.com Received: from nasmtp01.atmel.com (HELO ussmtp01.atmel.com) (192.199.1.245) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 27 Jun 2016 11:41:32 +0000 Received: from apsmtp01.atmel.com (10.168.254.30) by DVREDG01.corp.atmel.com (10.42.103.30) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 27 Jun 2016 05:41:25 -0600 Received: from PENCHT01.corp.atmel.com (10.168.5.161) by apsmtp01.corp.atmel.com (10.168.254.30) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 27 Jun 2016 19:46:46 +0800 Received: from [10.40.233.193] (10.168.5.13) by cas-ap.atmel.com (10.168.5.161) with Microsoft SMTP Server id 14.3.235.1; Mon, 27 Jun 2016 19:41:24 +0800 Subject: Re: [patch, avr,wwwdocs] PR 58655 To: Denis Chertykov References: <1466504822.3012.7.camel@atmel.com> <576966A2.4060102@gjlay.de> <576A3199.3090502@atmel.com> CC: GCC Patches , Georg-Johann Lay From: Pitchumani Sivanupandi Message-ID: <577110E3.4090500@atmel.com> Date: Mon, 27 Jun 2016 12:10:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <576A3199.3090502@atmel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-06/txt/msg01801.txt.bz2 Ping! On Wednesday 22 June 2016 12:05 PM, Pitchumani Sivanupandi wrote: > On Tuesday 21 June 2016 09:39 PM, Georg-Johann Lay wrote: >> Pitchumani Sivanupandi schrieb: >>> Attached patches add documentation for -mfract-convert-truncate option >>> and add that info to release notes (gcc-4.9 changes). >>> >>> If OK, could someone commit please? I do not have commit access. >>> >>> Regards, >>> Pitchumani >>> >>> gcc/ChangeLog >>> >>> 2016-06-21 Pitchumani Sivanupandi >>> >>> PR target/58655 >>> * doc/invoke.texi (AVR Options): Document -mfract-convert-truncate >>> option. >>> >>> --- a/wwwdocs/htdocs/gcc-4.9/changes.html >>> +++ b/wwwdocs/htdocs/gcc-4.9/changes.html >>> @@ -579,6 +579,14 @@ auto incr(T x) { return x++; } >>> size when compiling for the M-profile processors. >>> >>> >>> +

AVR

>>> +
    >>> +
  • >>> + A new command-line option -mfract-convert-truncate has been added. >> >> tags around the option. >> >>> + It allows compiler to use truncation instead of rounding towards >>> + 0 for fractional int types. >> >> "zero" instead of "0", and it's for fixed-point types, not for int >> types. >> >>> +
  • >>> +
>>>

IA-32/x86-64

>>>
    >>>
  • -mfpmath=sse is now implied by >>> -ffast-math > ... >>> @emph{Blackfin Options} >>> @gccoptlist{-mcpu=@var{cpu}@r{[}-@var{sirevision}@r{]} @gol >>> @@ -14586,6 +14586,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 0 for fractional >>> int types. >> >> Same here: "zero" and "fixed-point". >> >>> + >>> @item -nodevicelib >>> @opindex nodevicelib >>> Don't link against AVR-LibC's device specific library >>> @code{lib.a}. >> > Thanks Johann. > > Updated the patches. > > Regards, > Pitchumani > > gcc/ChangeLog > > 2016-06-22 Pitchumani Sivanupandi > > PR target/58655 > * config/avr/avr.opt (-mfract-convert-truncate): Update description. > * doc/invoke.texi (AVR Options): Document it. > >