From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25138 invoked by alias); 16 Jan 2013 20:51:43 -0000 Received: (qmail 25129 invoked by uid 22791); 16 Jan 2013 20:51:41 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mo-p00-ob.rzone.de (HELO mo-p00-ob.rzone.de) (81.169.146.160) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Jan 2013 20:51:33 +0000 X-RZG-AUTH: :LXoWVUeid/7A29J/hMvvT2k715jHQaJercGObUOFkj18odoYNahU4Q== X-RZG-CLASS-ID: mo00 Received: from [192.168.0.22] (business-188-111-022-002.static.arcor-ip.net [188.111.22.2]) by smtp.strato.de (joses mo15) (RZmta 31.12 AUTH) with ESMTPA id U07b7bp0GJG5EN for ; Wed, 16 Jan 2013 21:51:31 +0100 (CET) Message-ID: <50F712D2.7050403@gjlay.de> Date: Wed, 16 Jan 2013 20:51:00 -0000 From: Georg-Johann Lay User-Agent: Thunderbird 2.0.0.24 (X11/20100302) MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org Subject: [wwwdocs,avr,committed]: Mention avr specific improvments Content-Type: multipart/mixed; boundary="------------010000080901050608040901" X-IsSubscribed: yes 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 X-SW-Source: 2013-01/txt/msg00882.txt.bz2 This is a multi-part message in MIME format. --------------010000080901050608040901 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-length: 102 http://gcc.gnu.org/ml/gcc-cvs-wwwdocs/2013/msg00015.html http://gcc.gnu.org/gcc-4.8/changes.html#avr --------------010000080901050608040901 Content-Type: text/x-patch; name="avr-changes.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="avr-changes.diff" Content-length: 1899 Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v retrieving revision 1.85 diff -u -p -r1.85 changes.html --- changes.html 16 Jan 2013 09:38:30 -0000 1.85 +++ changes.html 16 Jan 2013 20:40:40 -0000 @@ -390,6 +390,45 @@ B b(42); // OK

New Targets and Target Specific Improvements

+

AVR

+
    +
  • + Support for the "Embedded C" fixed-point has been + added. For details, see the + + GCC wiki and the + + user manual. The support is not complete. +
  • +
  • A new print modifier %r for register operands in inline + assembler is supported. It will print the raw register number without the + register prefix 'r': +
    +    /* Return the most significant byte of 'val', a 64-bit value.  */
    +
    +    unsigned char msb (long long val)
    +    {
    +      unsigned char c;
    +      __asm__ ("mov %0, %r1+7" : "=r" (c) : "r" (val));
    +      return c;
    +    }
    + The inline assembler in this example will generate code like +
    +    mov r24, 8+7
    + provided c is allocated to R24 and + val is allocated to + R8R15. This works because + the GNU assembler accepts plain register numbers without register prefix. +
  • +
  • + Static initializers with 3-byte symbols are supported now: +
    +    extern const __memx char foo;
    +    const __memx void *pfoo = &foo;
    + This requires at least Binutils 2.23. +
  • +
+

IA-32/x86-64

  • Allow -mpreferred-stack-boundary=3 for the x86-64 --------------010000080901050608040901--