From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61288 invoked by alias); 7 Sep 2015 02:53:44 -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 61269 invoked by uid 89); 7 Sep 2015 02:53:42 -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,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f44.google.com Received: from mail-pa0-f44.google.com (HELO mail-pa0-f44.google.com) (209.85.220.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 07 Sep 2015 02:53:40 +0000 Received: by pacex6 with SMTP id ex6so81825329pac.0 for ; Sun, 06 Sep 2015 19:53:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:cc:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=Sfpnkep9LQ/mgLmWBtRND6MH3oaGz07NWVMImSR2ZVE=; b=V8H+ewl/M+TDpZ5cwTQgXbsH4o/+V84lrxsZ2uQiT0tgne7LPQ5Zd4Qcx/bpf5IItG oKAVXO0vEi9tTsNWssBMOn7gbwnyQgbeqLM2yBJax7tq5IyfzOzOFqljii0Qi+Jwy8T/ EjkaRPkwO2hAt+ANpG+n9WlT6i7kmcda0I5THhGwywZ2SL9jcYYMka6YWZYwH9WYg8Ve rOvWBhhw/PJg8LtUHrkY7rvMCHWL2G16s7xnZjAYXKTBlyWlrWpvazLJIKaMmFZfve3Y bzuEmH05wfKsDWbXW50VrJ3UmcMQ53/B4uZJtz8Y5dzEK0YN7VDrywKEM+pPIjIWHTTr IrYQ== X-Gm-Message-State: ALoCoQnkNTzyq+TskpmcNfxDyRFkbT85cfxHA91PKkWMjhVpbTdGUAIl0AztkI908UbCUEH5Vj+O X-Received: by 10.68.211.106 with SMTP id nb10mr40103558pbc.123.1441594418414; Sun, 06 Sep 2015 19:53:38 -0700 (PDT) Received: from [10.1.1.7] (58-6-183-210.dyn.iinet.net.au. [58.6.183.210]) by smtp.googlemail.com with ESMTPSA id xg3sm9979587pbb.64.2015.09.06.19.53.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Sep 2015 19:53:37 -0700 (PDT) From: Kugan Subject: [0/7] Type promotion pass and elimination of zext/sext To: "gcc-patches@gcc.gnu.org" Cc: Richard Biener Message-ID: <55ECFC2A.7050908@linaro.org> Date: Mon, 07 Sep 2015 02:55:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00400.txt.bz2 This a new version of the patch posted in https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00226.html. I have done more testing and spitted the patch to make it more easier to review. There are still couple of issues to be addressed and I am working on them. 1. AARCH64 bootstrap now fails with the commit 94f92c36a83d66a893c3bc6f00a038ba3dbe2a6f. simplify-rtx.c is mis-compiled in stage2 and fwprop.c is failing. It looks to me that there is a latent issue which gets exposed my patch. I can also reproduce this in x86_64 if I use the same PROMOTE_MODE which is used in aarch64 port. For the time being, I am using patch 0006-temporary-workaround-for-bootstrap-failure-due-to-co.patch as a workaround. This meeds to be fixed before the patches are ready to be committed. 2. vector-compare-1.c from c-c++-common/torture fails to assemble with -O3 -g Error: unaligned opcodes detected in executable segment. It works fine if I remove the -g. I am looking into it and needs to be fixed as well. In the meantime, I would appreciate if you take some time to review this. I have bootstrapped on x86_64-linux-gnu, arm-linux-gnu and aarch-64-linux-gnu (with the workaround) and regression tested. Thanks, Kugan