From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x943.google.com (mail-ua1-x943.google.com [IPv6:2607:f8b0:4864:20::943]) by sourceware.org (Postfix) with ESMTPS id 61FE8385B835 for ; Fri, 10 Apr 2020 11:56:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 61FE8385B835 Received: by mail-ua1-x943.google.com with SMTP id c7so525365uap.12 for ; Fri, 10 Apr 2020 04:56:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JJQghnLQ3lUjvbF5e7fGNnRC9Qhz09JArZqZbPthaoI=; b=hX0/haMIDeY8yC6ic4mFmR03ZZ1vYkKZRNb+td9N5vWGMF25CEDXMzXEbqcXJ8FCRI Xw4ZJTliO/+xpnj1k870+93Fihd9rywZ4DrU88GMf3NvTLEiSdWyIg8rmbMRLo8rgdba 4uDHmykedzC5CPzQYiBgesaWsNR2h6Flscuru7oKnaMGnsU9pc0a/gnVBhGvf9kDNhH3 lh3oJHKNqvE5TZVPXFh9xi0ZSmZKBZ8wlWVWMpjG82OHKCissSO/eNgAjSLabL1l9uuc eJV3rJIFQdwXh7gCbfbZJUBbmE/NJq7N80t8CUefyOmsSQYliB0AqFIGk4R/DBmlpqsr 3waA== X-Gm-Message-State: AGi0PuaLNkB47mNsg0qbD5aQjMjs+hnHzbLfqrRmIdGK2sIsktAJiKWv yR34BXfp22p5evKXflc01pvBq8HXRgoIzmK61T8= X-Google-Smtp-Source: APiQypLsQ/ALbzSFmr1+VAx19KUG1WUMLxuCQ0Jn5AD/FbztMpGJTyqSfglo2/Tmj4WbI6qqO3LC9ZNCWcx6ns+SMq0= X-Received: by 2002:a9f:3381:: with SMTP id p1mr2558734uab.119.1586519795901; Fri, 10 Apr 2020 04:56:35 -0700 (PDT) MIME-Version: 1.0 References: <20200326150203.18185-1-shahab.vahedi@gmail.com> <20200406090643.GA1975@gmail.com> In-Reply-To: <20200406090643.GA1975@gmail.com> From: Claudiu Zissulescu Ianculescu Date: Fri, 10 Apr 2020 14:56:24 +0300 Message-ID: Subject: Re: [PATCH] arc: Add support for ARC HS extra registers in core files To: Shahab Vahedi , Nick Clifton Cc: Anton Kolesov , Binutils , Shahab Vahedi , Claudiu Zissulescu , Francois Bedard Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.3 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 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Fri, 10 Apr 2020 11:56:37 -0000 Thank you for the clarification. It looks all right from my side. Nick, am I allowed to push Shahab's patch? It does touches some generic files. Thanks, Claudiu On Mon, Apr 6, 2020 at 12:06 PM Shahab Vahedi wrote: > > Hi Claudiu, > > > > > > > Hi Shahab, > > > > > > I don't really like the ARC_V2 name. All ARC variants can have extra registers > > > from r32 to r59 called extension core registers :) I would go for something more > > > generic like ARC_EXT_REG, or something like that > > > > > I have looked into this a little bit further: > > As Anton mentioned, since NT_ARC_V2 is entangled with kernel's ptrace, it is > not a not a viable option to change it. > > Regarding the ".reg-arc-v2" section, there can be 3 registers in there: r30, > r58, and r59. The r58/r59 pair are the accumulator registers. r30 is the tricky > one. In ARCompact (ARC 600/700), r30 used to be called ILINK2 and was not a > userspace register. In ARCv2, that has changed. It is considered a general > purpose register, hence its inclusion in ".reg-arc-v2". I am afraid that the > name of this note indeed reflects how tied it is to ARCv2. > > > Cheers, > Shahab