From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96452 invoked by alias); 8 Oct 2015 14:06:07 -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 96442 invoked by uid 89); 8 Oct 2015 14:06:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Oct 2015 14:06:06 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 653763C for ; Thu, 8 Oct 2015 07:06:04 -0700 (PDT) Received: from e105545-lin (e105545-lin.cambridge.arm.com [10.2.206.27]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8D4793F236 for ; Thu, 8 Oct 2015 07:06:04 -0700 (PDT) Date: Thu, 08 Oct 2015 14:06:00 -0000 From: Ramana Radhakrishnan To: gcc-patches@gcc.gnu.org Subject: [Patch PR target/67366 0/2] Handle misaligned loads and stores for scalars on STRICT_ALIGNMENT targets Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2015-10/txt/msg00841.txt.bz2 This set of 2 patches attempts to fix PR target/67366 by introducing use of the movmisalign optabs in gimple-fold.c to allow detecting memcpys of the form shown in the testcase in the PR. Patch 1/2 fixes the ARM backend to produce movmisalign patterns when unaligned access is supported. Patch 2/2 fixes gimple-fold.c to handle the appropriate cases and deals with the testsuite fall out that this caused on ARM.