From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13870 invoked by alias); 31 May 2013 09:14:55 -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 13858 invoked by uid 89); 31 May 2013 09:14:55 -0000 X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,TW_EQ autolearn=ham version=3.3.1 Received: from gate.crashing.org (HELO gate.crashing.org) (63.228.1.57) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 31 May 2013 09:14:53 +0000 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id r4V9Elc6027828; Fri, 31 May 2013 04:14:47 -0500 In-Reply-To: <20130530232609.GA32097@ibm-tiger.the-meissners.org> References: <20130520204053.GA21090@ibm-tiger.the-meissners.org> <20130521234717.GA27879@ibm-tiger.the-meissners.org> <20130530232609.GA32097@ibm-tiger.the-meissners.org> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: David Edelsohn , GCC Patches , Pat Haugen , Peter Bergner Content-Transfer-Encoding: 7bit From: Segher Boessenkool Subject: Re: [PATCH, rs6000] power8 patches, patch #4, new power8 builtins Date: Fri, 31 May 2013 09:14:00 -0000 To: Michael Meissner X-SW-Source: 2013-05/txt/msg01845.txt.bz2 > Ok, I tracked down what the problem is. We never implemented the > EQV, ORC, or > NAND insns in the GPRs. When I added the power8 vector versions, > the split > wide types pass tried to do its thing in the GPRs, it creates a bad > insn. I > originally saw it in the atomic ops, because I was testing all of the > combinations provided, but I can reproduce it just by using > __int128_t. The boolc3_internal1 pattern uses non-canonical RTL for eqv: (xor (not x) y) instead of (not (xor x y)). You'll need to add a correct pattern, or wait for my patch series (which I'll start sending later today) to get in. (There are problems with the dot forms of xor, nand, nor, and eqv as well, but I don't think you will hit that?) Segher