From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by sourceware.org (Postfix) with ESMTPS id EFEB83844036 for ; Thu, 22 Apr 2021 19:34:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EFEB83844036 Received: by mail-qk1-x72c.google.com with SMTP id 66so7957362qkf.2 for ; Thu, 22 Apr 2021 12:34:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JIuk9K2v4R2e8pLCzmDKeeChNMIKOkGWpxKPKpxKJ/4=; b=Qib97c0rp8aFjviG+YptCbHcO8p4mLgNzF8b8mtUy8hNbabtIF9kKQH8gax1UF5qVc xsBv4AU+t6S0wDzCMcgRF6+frV+h1MhgLQScBJDdW4AwqvSObRQJRIWV02PmFCgrYPzr Umz+duhbk+VP8Yae2l8QaBqSTnnsU2B7n1s0gr2+qgdnqxIQj5nrkoZoY1J25WYA9uvF 5vTLPK2d7IFU7S7xhh2G+O9kU3a53j3D440jQSGtZ0tElAdimoLu7toM9J9cFNgVm/Lu wOjLBfAHg+xS1AjQFhQoPqejwrGg8chc17lDCdP4UqMx8qK8wPxhtAsSvUpgFo8qOWql 6JXA== X-Gm-Message-State: AOAM531NDDV/h+/M70vMSPwd0GYu3EBNlJDllmEtr2FKZpBeliexkkcs N2uL1r+OM92Bmtumr225Zs71to0z1zRubA== X-Google-Smtp-Source: ABdhPJzcGC4QVkvrGmWacsddsyPobhEmKJeBDKCM/8+B0BrTeKjbOQxbUOHKI5EYoNDT7XrWOg4HWw== X-Received: by 2002:a05:620a:670:: with SMTP id a16mr395696qkh.428.1619120067536; Thu, 22 Apr 2021 12:34:27 -0700 (PDT) Received: from ?IPv6:2804:7f0:4841:2d9e:8049:2b74:ae14:70d0? ([2804:7f0:4841:2d9e:8049:2b74:ae14:70d0]) by smtp.gmail.com with ESMTPSA id g4sm2920876qtg.86.2021.04.22.12.34.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Apr 2021 12:34:26 -0700 (PDT) Subject: Re: [PATCH] Print bfloat16 DWARF types correctly To: Tom Tromey , Luis Machado via Gdb-patches References: <20210414143528.1845401-1-luis.machado@linaro.org> <87tuo7fqu1.fsf@tromey.com> <87czuvfp7l.fsf@tromey.com> From: Luis Machado Message-ID: Date: Thu, 22 Apr 2021 16:34:22 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <87czuvfp7l.fsf@tromey.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, 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: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2021 19:34:29 -0000 On 4/15/21 2:10 PM, Tom Tromey wrote: > Luis> I didn't find anything in the DWARF spec that differentiates float > Luis> types through a different encoding field. That would've been the best > Luis> choice I think. > > Yeah. We could add an extension of course, assuming the compilers are > changeable. However then we'd probably still want to support existing > executables. FTR, I've raised this with the compiler folks and we're discussing how this should look like in DWARF. There's discussion going on about a possible DWARF extension proposal.