From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by sourceware.org (Postfix) with ESMTPS id 363C63858D1E for ; Fri, 17 Nov 2023 14:14:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 363C63858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 363C63858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::632 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700230474; cv=none; b=Ukg4tAB3YhO+soU9n5AzhZ9r7nDAHnVOqffiZ/xOT/JD3a9q3fBgETkTXr+6I+qjivhUuOE5kTXsTQwNfQgITcC9+gdwFfj6Ngtvx6OLKbVkTXEHafGLRS4bp26rEINH96cXudoGXCk7OmLOYfkC962kZtZOOiwSvC5dgLNxsEw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700230474; c=relaxed/simple; bh=IiDh/TEJw3sP+aQMeM8KhG77DeVO5TeOtFwtq6TEyiY=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=tk80CGsvA8rPKkYIoAvopDEpmGjx0khv0AUaSxGbemI+/c61PIdzW9lfrZGh1Wc6Pki2DbZU5kz1MkV35R5CvZ7M10ei9e4SWFP9+OwY60T+xePrFbB1GtP6+ZYwXVZRpCX6ED0fByhkDHIp5mCp95PtRGc4j1jzadKYZz5X7ec= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1ce1603f5cdso18213745ad.3 for ; Fri, 17 Nov 2023 06:14:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700230472; x=1700835272; darn=gcc.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wR49Nkfa37PdSg9xRYb3Bb7JS4DACtS2Om41GyzChzg=; b=jv9DjPof0S+bo11Nv2f9vx7MMDd20ouU+9vMo/w7iAmMipjvpdlCz/FGSE1+F53ON7 lfgGHxXzt+oN/v9VLG7eVC9uV2Xy9fCVQs69FgMziecnRLRyXms5a4fIniCCwZHC+NWa vDMcRr3JD/nf5KgZ8r5A8jpsLbYsu4J9cWRgtKEi6mgN44s2YtfmnVE3MhJTKtjpmhwI pqWPAUm53mdhlR2i2GhEFpWORRICGn7qpH/sJgb9YhBJjuNszf0EPPnhNbZVc1DN8jMT 3dppUaj/ia+e62PNtRmWsODS4puVpZa6tvSo4G6l0ibByDxrHhlnoW0KtK2OWxN3rKO9 tzIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700230472; x=1700835272; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wR49Nkfa37PdSg9xRYb3Bb7JS4DACtS2Om41GyzChzg=; b=U9C+026EJ0n373MemSYz+wwxLBRayDX4YMpQnhMyO2sK3hMyoV5fg8hRcEbnoLMbu1 M8Ue4TCrfXMhnkSlz4ISwiWbRAh4GyctpiTYeqdx/smK3Y3sbctuTu6wl8Tu+8ZBt89S EwbQpl/d+8hIO6wvNg6pFAKmsXfXC54sgvt2qkIHhCtnPLaQn4qm8xZN/4amO8FIpr5J Gd/YzKIYZagLnKA8eW6wSZk0Kr9FgqgR4ClOC8V6igjPRJ5pCJcKZjouoJ3Q+0PCnDfq uygp9WHx9QgarANJnAo1JB1IoVTP27GaZ/IGatOnBXZKoekFclm3kD1mLE34qIFfvQqC Kyjw== X-Gm-Message-State: AOJu0Yzd7OJMTnaxrYD5TTiaa9gAnLe0JmoEe6i+REuVdiuVvoeWGKQ7 xuDiQM44txFVeuxWlXL7SE5eMSTvj3PSzQ== X-Google-Smtp-Source: AGHT+IF/ANgy19nsFszaD65UKlnp6Ig3s3t6NiPXkcuf9rjELPIfye50ObZJJA8cSWtv8+Ep0bJNBg== X-Received: by 2002:a17:903:32c9:b0:1cc:7ec0:bc8a with SMTP id i9-20020a17090332c900b001cc7ec0bc8amr14247800plr.66.1700230472039; Fri, 17 Nov 2023 06:14:32 -0800 (PST) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id bj10-20020a170902850a00b001c74df14e6esm1426042plb.51.2023.11.17.06.14.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Nov 2023 06:14:31 -0800 (PST) Message-ID: <04f971ec-b214-4303-9c44-76d489607045@gmail.com> Date: Fri, 17 Nov 2023 07:14:26 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [committed] hppa: Revise REG+D address support to allow long displacements before reload Content-Language: en-US To: John David Anglin , Sam James Cc: John David Anglin , GCC Patches References: <3641c999-fe8e-4f75-a9f1-455d65cf39e6@gmail.com> <871qcpmawz.fsf@gentoo.org> <4d8dae42-cfe9-42a7-8c4d-1f1cbb82370f@gmail.com> <2c6d8866-66f1-49b8-858d-05c8fcb34486@bell.net> From: Jeff Law In-Reply-To: <2c6d8866-66f1-49b8-858d-05c8fcb34486@bell.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 11/17/23 01:27, John David Anglin wrote: > On 2023-11-16 10:00 p.m., Jeff Law wrote: >>>> I'm not seeing any obvious problems in the gcc testsuite.  It needs testing on packages that do extensive >>>> floating point calculations. >>> >>> OK, I'll focus on those. >> THe more likely scenario is xmpy which is used for integer multiply, >> but the operands have to be moved into FP registers because the >> operation happens in the FPU. > There are lots of xmpyu instructions in cc1 and cc1plus.  For example, > >   9fee8c:       08 03 02 5c     copy r3,ret0 >   9fee90:       37 9c 00 20     ldo 10(ret0),ret0 >   9fee94:       27 80 10 17     fldw 0(ret0),fr23 >   9fee98:       08 03 02 5c     copy r3,ret0 >   9fee9c:       37 9c 00 28     ldo 14(ret0),ret0 >   9feea0:       27 80 10 16     fldw 0(ret0),fr22 >   9feea4:       3a f6 47 18     xmpyu fr23,fr22,fr24 >   9feea8:       2f c1 12 18     fstd fr24,-10(sp) >   9feeac:       0f c1 10 9c     ldw -10(sp),ret0 >   9feeb0:       0f c9 10 9d     ldw -c(sp),ret1 > > There are 2169 xmpyu instructions in cc1plus in my current gcc bootstrap > on linux. > Yea, and as I said, it'll likely work for quite a while until you get spills in just the right scenario. We ran bootstraps, OS builds (our BSD and Mach systems), spec89, spec92, etc. Eventually it breaks :( jeff