From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11267 invoked by alias); 14 Jul 2014 08:11:16 -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 11236 invoked by uid 89); 14 Jul 2014 08:11:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-lb0-f177.google.com Received: from mail-lb0-f177.google.com (HELO mail-lb0-f177.google.com) (209.85.217.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 14 Jul 2014 08:11:14 +0000 Received: by mail-lb0-f177.google.com with SMTP id u10so2561689lbd.36 for ; Mon, 14 Jul 2014 01:11:11 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.152.180.36 with SMTP id dl4mr9570682lac.26.1405325470977; Mon, 14 Jul 2014 01:11:10 -0700 (PDT) Received: by 10.152.104.140 with HTTP; Mon, 14 Jul 2014 01:11:10 -0700 (PDT) In-Reply-To: <53C38F48.6000200@arm.com> References: <53C38F48.6000200@arm.com> Date: Mon, 14 Jul 2014 08:11:00 -0000 Message-ID: Subject: Re: [PATCH, i386]: Optimize ix86_atomic_assign_expand_fenv a bit From: Uros Bizjak To: Kyrill Tkachov Cc: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2014-07/txt/msg00948.txt.bz2 On Mon, Jul 14, 2014 at 10:05 AM, Kyrill Tkachov wrote: >> Attached patch optimizes ix86_atomic_assign_expand_fenv by using >> register form of "fnstsw %ax" instead of "fnstsw ". This way a >> memory RW cycle is removed for a temporary. > > The patch you attached seems to be the hook implementation for alpha... Eh, the complete i386 patch follows the alpha hook. I have diffed from config/ directory instead of config/i386. Uros.