From patchwork Sun Jun 17 13:50:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 165340 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 15F07B714D for ; Sun, 17 Jun 2012 23:50:37 +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=1340545838; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=XryXEXI M9jSyIxtBuNsViwZVFh8=; b=fxMMvstv5tSmcHSNy+DAsWt9LX3dGWIIY2qJchQ GFfAEHwn+iyK1ddVS/BvWEh0IlhXEV/1d8RP5+nhMYu3wTHMInvyuq05XXLDo8c2 4xIa0RUB0hn5w0KV1BbZu0ztxcSB49vSZz550Q1c+qzmozSvj6Ak/uuheQWTj6Xb kGcc= 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:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=GSQBRC3Ness262bz6UQNyWYmS0urSkUk/nF7rLvhwivO7SFHEauVR1IJV6ksA2 jN2QlBicP5kwsF9vIujT5JvJ5pxVLDVnkT8A4uEuu3hm8tduIwqCGhSUMFCC4SdL sKnjrB6QCbaeMEKBuf3YXw2lF1DEJtLV54wSs2DS9xJ1k=; Received: (qmail 15037 invoked by alias); 17 Jun 2012 13:50:33 -0000 Received: (qmail 15028 invoked by uid 22791); 17 Jun 2012 13:50:31 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, TW_VC, TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 17 Jun 2012 13:50:15 +0000 Received: by yenl13 with SMTP id l13so3358340yen.20 for ; Sun, 17 Jun 2012 06:50:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.46.195 with SMTP id r43mr14545926yhb.86.1339941014554; Sun, 17 Jun 2012 06:50:14 -0700 (PDT) Received: by 10.147.111.19 with HTTP; Sun, 17 Jun 2012 06:50:14 -0700 (PDT) Date: Sun, 17 Jun 2012 15:50:14 +0200 Message-ID: Subject: [PATCH, i386]: Fix vcvtph2ps vec_select selector From: Uros Bizjak To: gcc-patches@gcc.gnu.org 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 Hello! 2012-06-17 Uros Bizjak * config/i386/sse.md (vcvtph2ps): Fix vec_select selector. Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline SVN, will be backported to release branches. Uros. Index: config/i386/sse.md =================================================================== --- config/i386/sse.md (revision 188703) +++ config/i386/sse.md (working copy) @@ -11647,7 +11647,7 @@ (unspec:V8SF [(match_operand:V8HI 1 "register_operand" "x")] UNSPEC_VCVTPH2PS) (parallel [(const_int 0) (const_int 1) - (const_int 1) (const_int 2)])))] + (const_int 2) (const_int 3)])))] "TARGET_F16C" "vcvtph2ps\t{%1, %0|%0, %1}" [(set_attr "type" "ssecvt")