From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by sourceware.org (Postfix) with ESMTPS id 6B6BE3857C7D for ; Tue, 12 Jul 2022 14:25:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6B6BE3857C7D Received: by mail-ej1-x629.google.com with SMTP id u12so14609219eja.8 for ; Tue, 12 Jul 2022 07:25:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KBOWrjcZkI4U0fIVX3CJEf3t67jAaeF92i/6mxVGQww=; b=Z/lizc9nr8Q996gYwlHZMiX/LTvfzo5h/qSuGccGvmqDJDHcLM18Qx+iGNaqn7oker Ag4mONQ5rrV/4mubP6eQHTaivay4AjlezH5nUjgnBxRNxhRaSfKx2hZv5OxnmS2qgpnR xtZzEwIGqY4DeeP4jG06qomZG6addQlqGgHY8VFAXcRD3ZUFQqvpvicarw+mxg05gS2q YkGMrD5eySgKfLftJ0qGn4cVwjfXqYUELfMkRGRfEd4Ot8Hp0tULDT6IBnll/jWp0p3B 1DrHIZeErlsLaNBdCADFAZC/V8q5gMvb4tDFkIQPQvuBsQCH64BR965WoTdnTcyRddQV MutA== X-Gm-Message-State: AJIora+qaRZFGjs5IFvwn4pIvptPdi+gAJZsPFJKe7nki0eYQcYPmVHA xWX3OWHNWJj+XEKqVGu0oundyQGdQ5o2Tlk8JqNtXG44oV8= X-Google-Smtp-Source: AGRyM1uHBT9Qb1xHnSIOr0SEpfehVvf3xxRSrmZvAkQumvKhM8W/Q3d49Z6uXgTnPMCjnK9UZrUTmF0LXXDx5p3k8iE= X-Received: by 2002:a17:906:8301:b0:6e4:896d:59b1 with SMTP id j1-20020a170906830100b006e4896d59b1mr24419123ejx.396.1657635902238; Tue, 12 Jul 2022 07:25:02 -0700 (PDT) MIME-Version: 1.0 References: <20220712135057.170969-1-ghostmansd@gmail.com> <20220712135057.170969-2-ghostmansd@gmail.com> In-Reply-To: From: Dmitry Selyutin Date: Tue, 12 Jul 2022 17:24:26 +0300 Message-ID: Subject: Re: [PATCH 1/1] ppc: support register names in macros To: lkcl Cc: lkcl via Binutils , Alan Modra , Jan Beulich Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, 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, UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2022 14:25:05 -0000 On Tue, Jul 12, 2022 at 5:18 PM lkcl wrote: > > On Tue, Jul 12, 2022 at 2:51 PM Dmitry Selyutin wrote: > > + { "eq", 2, PPC_OPERAND_CR_BIT }, > ne? > > + { "gt", 1, PPC_OPERAND_CR_BIT }, > ge? > > + { "lt", 0, PPC_OPERAND_CR_BIT }, > le? - { "cr0", 0, PPC_OPERAND_CR_REG }, - { "cr1", 1, PPC_OPERAND_CR_REG }, - { "cr2", 2, PPC_OPERAND_CR_REG }, - { "cr3", 3, PPC_OPERAND_CR_REG }, - { "cr4", 4, PPC_OPERAND_CR_REG }, - { "cr5", 5, PPC_OPERAND_CR_REG }, - { "cr6", 6, PPC_OPERAND_CR_REG }, - { "cr7", 7, PPC_OPERAND_CR_REG }, - { "eq", 2, PPC_OPERAND_CR_BIT }, - { "gt", 1, PPC_OPERAND_CR_BIT }, - { "lt", 0, PPC_OPERAND_CR_BIT }, - { "so", 3, PPC_OPERAND_CR_BIT }, - { "un", 3, PPC_OPERAND_CR_BIT } This code simply was moved. So it either has been wrong all this time, or it is correct. :-) -- Best regards, Dmitry Selyutin