From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22493 invoked by alias); 15 Aug 2011 17:23:46 -0000 Received: (qmail 22484 invoked by uid 22791); 15 Aug 2011 17:23:45 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate7.uk.ibm.com (HELO mtagate7.uk.ibm.com) (194.196.100.167) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 15 Aug 2011 17:23:31 +0000 Received: from d06nrmr1806.portsmouth.uk.ibm.com (d06nrmr1806.portsmouth.uk.ibm.com [9.149.39.193]) by mtagate7.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p7FHNUoL022404 for ; Mon, 15 Aug 2011 17:23:30 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p7FHNUI02662580 for ; Mon, 15 Aug 2011 18:23:30 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p7FHNTBh024692 for ; Mon, 15 Aug 2011 11:23:29 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id p7FHNSmQ024681; Mon, 15 Aug 2011 11:23:28 -0600 Message-Id: <201108151723.p7FHNSmQ024681@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 15 Aug 2011 19:23:28 +0200 Subject: Re: i370 port To: mutazilah@gmail.com (Paul Edwards) Date: Mon, 15 Aug 2011 17:23:00 -0000 From: "Ulrich Weigand" Cc: gcc@gcc.gnu.org In-Reply-To: <7871BF4412B24A3384E88BA9E8D449B1@pauldell> from "Paul Edwards" at Aug 16, 2011 01:25:58 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-08/txt/msg00278.txt.bz2 Paul Edwards wrote: > Unfortunately it's not quite right, seemingly not loading R9 properly: > > LR 9,13 > AR 9,13 > MVC 0(10,9),0(2) That's weird. What does the reload dump (.greg) say? > And it had a knock-on effect too, producing bad code elsewhere: > > < SLR 2,2 > < SLR 3,3 > < ST 2,128(13) > < ST 3,4+128(13) > < ST 2,136(13) > < ST 3,4+136(13) > < ST 2,144(13) > < ST 3,4+144(13) > --- > > MVC 128(8,13),=F'0' > > MVC 136(8,13),=F'0' > > MVC 144(8,13),=F'0' > > But I guess that is another can of worms to investigate. It seems the literal is not marked as being doubleword. That might be related to the fact that const_int's do not carry a mode, so you cannot just look at the literal's mode to determine the required size, but have to take the full instruction into account ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com