|
From: | Anton Johansson |
Subject: | Re: [PATCH v6 08/12] target/hexagon: import lexer for idef-parser |
Date: | Mon, 18 Oct 2021 11:37:03 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
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?
Same as for fNEWREG. We followed the definition in macros.h as+"fHINTJR(RsV)" { /* Emit no token */ }Put this in the list of IDENTITY above
#define fHINTJR(TARGET) { /* Not modelled in qemu */ }
-- Anton Johansson, rev.ng Srls.
[Prev in Thread] | Current Thread | [Next in Thread] |