From patchwork Fri Jun 15 02:07:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 165032 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 7E8511007D1 for ; Fri, 15 Jun 2012 12:07:56 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1340330877; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Received:Date:Message-Id:From:To:CC: In-reply-to:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=kSos1SPt7au9t7SNwtkG7WiZBvY=; b=yjby27rKrpfX2xN wTN95DNNHezn8PJZijaXY7zZjUcM+cZa6qsHAz3WPrdPP5goQhxc2CSebyZaJwkM zAURgQTZUK5i6zriu3f+QfvNJA7HndArkEkdYMNP85jEGlZsRWCKahHK6rLfTJoL 3ZxNwMOut8UacUwWQH+809vpkTtk= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Received:Received:Date:Message-Id:From:To:CC:In-reply-to:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=m2QvkV6avwVvOw/IP+CjRzT3CKVU5YDwFx7za8SAW9ld7WEhfzrQ+cNU8189NV 4oVNgZdk5cINksE7vERjBAQbzNSmsMWickvdgOGpY/khB6bzPQ3Uhe58bcTzU7mr fJiUAlMCRZ1uiBTD8UfNoREZVREAcxsAW0lLp1nROuUsY=; Received: (qmail 29762 invoked by alias); 15 Jun 2012 02:07:42 -0000 Received: (qmail 29715 invoked by uid 22791); 15 Jun 2012 02:07:39 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED, RCVD_IN_HOSTKARMA_NO, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ra.se.axis.com (HELO ra.se.axis.com) (195.60.68.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jun 2012 02:07:26 +0000 Received: from localhost (localhost [127.0.0.1]) by ra.se.axis.com (Postfix) with ESMTP id 8EC741672D8; Fri, 15 Jun 2012 04:07:25 +0200 (CEST) Received: from ra.se.axis.com ([127.0.0.1]) by localhost (ra.se.axis.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Y-T7ZTKL0dgP; Fri, 15 Jun 2012 04:07:24 +0200 (CEST) Received: from seth.se.axis.com (seth.se.axis.com [10.0.2.172]) by ra.se.axis.com (Postfix) with ESMTP id 85DA21672CA; Fri, 15 Jun 2012 04:07:24 +0200 (CEST) Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.88.21.50]) by seth.se.axis.com (Postfix) with ESMTP id 5231C3E14A; Fri, 15 Jun 2012 04:07:24 +0200 (CEST) Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id q5F27Omt005020; Fri, 15 Jun 2012 04:07:24 +0200 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id q5F27NNC005016; Fri, 15 Jun 2012 04:07:23 +0200 Date: Fri, 15 Jun 2012 04:07:23 +0200 Message-Id: <201206150207.q5F27NNC005016@ignucius.se.axis.com> From: Hans-Peter Nilsson To: gcc-patches@gcc.gnu.org CC: gerald@pfeifer.com, richard.earnshaw@arm.com In-reply-to: <201206131353.q5DDrc80017579@ignucius.se.axis.com> (message from Hans-Peter Nilsson on Wed, 13 Jun 2012 15:53:38 +0200) Subject: [RFA:] Caveat for ARM in gcc-4.7/changes.html: unaligned accesses, take 2 MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Y is 28 for introduction of the quoted code in arch/arm/mm/alignment.c, AFAICT, so how about this one, ok now? brgds, H-P Index: changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v retrieving revision 1.113 diff -p -u -r1.113 changes.html --- changes.html 5 Jun 2012 11:03:53 -0000 1.113 +++ changes.html 15 Jun 2012 02:04:46 -0000 @@ -43,6 +43,19 @@ +
  • On ARM, when compiling for ARMv6 (but not ARMv6-M), ARMv7-A, + ARMv7-R, or ARMv7-M, the new option + -munaligned-access is active by default, which for + some source codes generates code that accesses memory on unaligned + adresses. This will require the kernel of those systems to enable + such accesses (controlled by CP15 register c1, refer + to ARM documentation). Alternatively or for compatibility with + kernels where unaligned accesses are not supported, all code has + to be compiled with -mno-unaligned-access. + Linux/ARM in official releases has automatically and + unconditionally supported unaligned accesses as emitted by GCC due + to this option being active since Linux version 2.6.28.
  • +
  • Support on ARM for the legacy floating-point accelerator (FPA) and the mixed-endian floating-point format that it used has been obsoleted. The ports that still use this format have been obsoleted as well.