From patchwork Tue Oct 26 21:17:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 69292 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 22BFDB70D1 for ; Wed, 27 Oct 2010 08:18:06 +1100 (EST) Received: (qmail 3720 invoked by alias); 26 Oct 2010 21:17:45 -0000 Received: (qmail 3702 invoked by uid 22791); 26 Oct 2010 21:17:39 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL, BAYES_00, NO_DNS_FOR_FROM, TW_VZ, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga03.intel.com (HELO mga03.intel.com) (143.182.124.21) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Oct 2010 21:17:35 +0000 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101.ch.intel.com with ESMTP; 26 Oct 2010 14:17:32 -0700 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([10.3.194.135]) by azsmga001.ch.intel.com with ESMTP; 26 Oct 2010 14:17:32 -0700 Received: by gnu-6.sc.intel.com (Postfix, from userid 500) id 35CB921FD8; Tue, 26 Oct 2010 14:17:32 -0700 (PDT) Date: Tue, 26 Oct 2010 14:17:32 -0700 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Cc: Ian Lance Taylor Subject: PATCH: Fix split_stack_return Message-ID: <20101026211731.GA3834@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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 Hi Ian, I am checking in this patch since wrong instruction is generated for my vzeroupper work. H.J. ---- 2010-10-26 H.J. Lu * config/i386/i386.md (split_stack_return): Replace unspec_volatile with unspec. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 2eb2a72..cfd3f65 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -11752,8 +11751,8 @@ ;; In order to support the call/return predictor, we use a return ;; instruction which the middle-end doesn't see. (define_insn "split_stack_return" - [(unspec_volatile [(match_operand:SI 0 "const_int_operand" "")] - UNSPEC_STACK_CHECK)] + [(unspec [(match_operand:SI 0 "const_int_operand" "")] + UNSPEC_STACK_CHECK)] "" { if (operands[0] == const0_rtx)