From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by sourceware.org (Postfix) with ESMTPS id DA8B13858D32 for ; Mon, 24 Apr 2023 09:47:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DA8B13858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-5ef6ddd0498so43405136d6.3 for ; Mon, 24 Apr 2023 02:47:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682329622; x=1684921622; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FXOvNJmPieXdUm8yMUx4EIPGHDZ0qHTOL+aWIOPxrBk=; b=DI4su8uucBGJT22gl+bHj/AfAiRDzSVFJFksysDheZtaL6fQwGqlhb884XGSCa5fpp Cnr6bYXVO5/uw77bMDsTVkp9iUserRQ0hMB2NSlxaPVgwQmDsYC1M3i6alIsN3LrktaN kuDfBRNqFF5ZvNUqDTcjfNDBAWJhiogMRlrSrChwNrVtfVyBpcY2qTSxo1uFzL/voxN8 okugWjbIJcTMkRzv7rV+JgV2N449my3rsP5u8QcMftcTBKPJt2IsaTDOKPfwapzF9Cys 1elKawF0/D1dtIKnL3pfHu/3p+R6jqV8n8xlc5z/AFOdAzDQNGKmp6WPif6MEdVK6EM9 ndrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682329622; x=1684921622; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FXOvNJmPieXdUm8yMUx4EIPGHDZ0qHTOL+aWIOPxrBk=; b=A6PcxwEowANBPVlTO+xKaZcQbYSX20B3tIGkWso7geucr+PVmhRm/0SIOUPUPJTPSx zzELPKd+fXnpmHWTJlApMLAtnMHqP9Z6McgZf/hFc2S3ZwrGY+mNag3CNf9imIAffy2R /hP1CkzlTyAqLVRnoqkneh6A7aJds48agEwTE29+eOtjkpk8/bCQw7FpUbWl1F/rYQa8 trddSRgs0txEYlVq/x2wmsNyPMqF/ZrZ0hK0n8qZGpVBoSHJqf59QVGx7dX+GugCZ3n5 JAqFjBIz9qxhgXnRG1Y0SWjDGkwYXh43ZWdh0G2oQ0x5z9EmdJvXpvmcC6yVhJW4PyH7 A6fw== X-Gm-Message-State: AAQBX9f/o+3b4FW8oMcWjvtaojPmTnBui0A+UB/fgUox289JMQ2E4OJl YJmXxkzyx2jThinPacFgXoCNz1WjMCpcJiyf3xc= X-Google-Smtp-Source: AKy350a9Ke+/cVdEFdHZaEnjTYTB8l1Q/F5uYZxOxMU6OaMcinhjHhs/GjcUXjO7EMj7xPsocjRP1iSt9k5VWKT8lBw= X-Received: by 2002:a05:6214:1bcd:b0:5b8:6efe:77f4 with SMTP id m13-20020a0562141bcd00b005b86efe77f4mr24327471qvc.46.1682329622069; Mon, 24 Apr 2023 02:47:02 -0700 (PDT) MIME-Version: 1.0 References: <283c45ca085ced958cbce6e64331252c83a5899f.1682268126.git.segher@kernel.crashing.org> <20230424091727.GM19790@gate.crashing.org> In-Reply-To: <20230424091727.GM19790@gate.crashing.org> From: Uros Bizjak Date: Mon, 24 Apr 2023 11:46:50 +0200 Message-ID: Subject: Re: [PATCH] Turn on LRA on all targets To: Segher Boessenkool Cc: gcc-patches@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,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 Mon, Apr 24, 2023 at 11:19=E2=80=AFAM Segher Boessenkool wrote: > > On Sun, Apr 23, 2023 at 11:06:41PM +0200, Uros Bizjak wrote: > > > I send this patch now so that people can start testing. I don't plan= to > > > commit this for another week at least, for a week after GCC 13 releas= e I > > > guess? How does that plan sound to people? > > > > An old patch to enable Alpha is at > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66207 > > Ah, good to hear it worked way back then already! > > We still need someone to test this on alpha now, years later, and give > a final okay, but hearing this is encouraging :-) Please note that bootstrap worked on alpha*EV6*, not plain alpha. Plain alpha is !BWX architecture and uses {un,}aligned_memory_operand predicates that call resolve_reload_operand function. Unfortunately, this function peeks deep into reload internals (reg_equiv_memory_loc) that has no equivalent in LRA. As said in the comment, this internal function resolves what reload is going to do with OP if it is a register. Uros.