Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
by smtp.lore.kernel.org (Postfix) with ESMTP id 03096C433EF
for ; Mon, 18 Oct 2021 14:23:07 +0000 (UTC)
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mail.kernel.org (Postfix) with ESMTPS id ABC4060F46
for ; Mon, 18 Oct 2021 14:23:06 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org ABC4060F46
Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=nongnu.org
Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org
Received: from localhost ([::1]:43288 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1mcTXd-0002h9-MX
for qemu-devel@archiver.kernel.org; Mon, 18 Oct 2021 10:23:05 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48962)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from ) id 1mcP53-0007e9-JY
for qemu-devel@nongnu.org; Mon, 18 Oct 2021 05:37:17 -0400
Received: from rev.ng ([5.9.113.41]:45873)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from ) id 1mcP51-0007wk-Do
for qemu-devel@nongnu.org; Mon, 18 Oct 2021 05:37:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=rev.ng;
s=dkim; h=In-Reply-To:From:Reply-To:References:Cc:To:Subject:MIME-Version:
Date:Message-ID:Content-Type:Sender:Content-Transfer-Encoding:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
List-Post:List-Owner:List-Archive;
bh=A74e++R0hmjDHC/fIW3jHzQ0iq+g7OQQqBqa2mnRHuI=; b=bYUc29XB80UKpnrgkXvta9FyOM
+u4/wWsu7HtAeGOhPD8GNqlsO5BCBxeKIS01anAnVeNiScj4jLZbxRSVnMonxap8jguNd5OF8vU04
WJeny0gKLd700iZMWHdHik4b/yM5L2ARR7CJiADIxcQ+IQwxyem7UHr7nWh9F12fToxE=;
Content-Type: multipart/alternative;
boundary="------------JxWxlde6HYOSjWv3m98qrCdX"
Message-ID: <49378670-138d-563b-9071-3fae6c95f265@rev.ng>
Date: Mon, 18 Oct 2021 11:37:03 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.2.0
Subject: Re: [PATCH v6 08/12] target/hexagon: import lexer for idef-parser
Content-Language: en-US
To: Taylor Simpson ,
Alessandro Di Federico ,
"qemu-devel@nongnu.org"
Cc: Brian Cain , "babush@rev.ng" ,
"nizzo@rev.ng" ,
"richard.henderson@linaro.org" ,
Alessandro Di Federico
References: <20210720123031.1101682-1-ale.qemu@rev.ng>
<20210720123031.1101682-9-ale.qemu@rev.ng>
Organization: rev.ng
In-Reply-To:
Received-SPF: pass client-ip=5.9.113.41; envelope-from=anjo@rev.ng; helo=rev.ng
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001,
NICE_REPLY_A=-0.001, SPF_HELO_PASS=-0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Mailman-Approved-At: Mon, 18 Oct 2021 10:20:50 -0400
X-BeenThere: qemu-devel@nongnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org
Sender: "Qemu-devel"
Reply-to: anjo@rev.ng
X-ACL-Warn: , Anton Johansson
From: Anton Johansson via
This is a multi-part message in MIME format.
--------------JxWxlde6HYOSjWv3m98qrCdX
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
On 9/7/21 18:08, Taylor Simpson wrote:
>> +"fNEWREG" |
>> +"fCAST4s" { yylval->cast.bit_width = 32;
>> + yylval->cast.signedness = SIGNED;
>> + return CAST; }
> This doesn't look right - is fNEWREG the same as fCAST4s?
We followed the definition of fNEWREG in macros.h where it is given as
#define fNEWREG(VAL) ((uint32_t) (VAL))
>> +"fCONSTLL" { return CONSTLL; }
>> +"fCONSTULL" { return CONSTULL; }
> These can just be converts.
What is meant by "converts" here?
>> +"fHINTJR(RsV)" { /* Emit no token */ }
> Put this in the list of IDENTITY above
Same as for fNEWREG. We followed the definition in macros.h as
#define fHINTJR(TARGET) { /* Not modelled in qemu */ }
where it no-ops.
--
Anton Johansson,
rev.ng Srls.
--------------JxWxlde6HYOSjWv3m98qrCdX
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
On 9/7/21 18:08, Taylor Simpson wrote:
+"fNEWREG" |
+"fCAST4s" { yylval->cast.bit_width = 32;
+ yylval->cast.signedness = SIGNED;
+ return CAST; }
This doesn't look right - is fNEWREG the same as fCAST4s?
We followed the definition of fNEWREG in macros.h where it is
given as
#define fNEWREG(VAL) ((uint32_t) (VAL))
+"fCONSTLL" { return CONSTLL; }
+"fCONSTULL" { return CONSTULL; }
These can just be converts.
What is meant by "converts" here?
+"fHINTJR(RsV)" { /* Emit no token */ }
Put this in the list of IDENTITY above
Same as for fNEWREG. We followed the definition in macros.h as
#define fHINTJR(TARGET) { /* Not modelled in qemu */ }
where it no-ops.
--
Anton Johansson,
rev.ng Srls.
--------------JxWxlde6HYOSjWv3m98qrCdX--