On Thu, 24 Jun 2021 03:55:35 +
Taylor Simpson wrote:
> > +void gen_deposit_op(Context *c,
> > +YYLTYPE *locp,
> > +HexValue *dest,
> > +HexValue *value,
> > +HexValue *index,
> > +HexCast
> > +void gen_setbits(Context *c, YYLTYPE *locp, HexValue *hi, HexValue *lo,
> > + HexValue *dst, HexValue *val)
> > +{
> > +yyassert(c, locp, hi->type == IMMEDIATE &&
> > + hi->imm.type == VALUE &&
> > + lo->type == IMMEDIATE &&
> > +
On Thu, 24 Jun 2021 03:55:35 +
Taylor Simpson wrote:
> > + | rvalue '[' rvalue ']'
> > + {
> > + @1.last_column = @4.last_column;
> > + if ($3.type == IMMEDIATE) {
> > + $$ = gen_tmp(c, &@1, $1.bit_width);
> > + OUT(c,
t; Subject: [PATCH v5 10/14] target/hexagon: import parser for idef-parser
>
> From: Paolo Montesel
>
> Signed-off-by: Alessandro Di Federico
> Signed-off-by: Paolo Montesel
> ---
> diff --git a/target/hexagon/idef-parser/idef-parser.y b/target/hexagon/idef-
> parser
t; Subject: [PATCH v5 10/14] target/hexagon: import parser for idef-parser
>
> From: Paolo Montesel
>
> Signed-off-by: Alessandro Di Federico
> Signed-off-by: Paolo Montesel
> ---
> diff --git a/target/hexagon/idef-parser/parser-helpers.h
> b/target/hexagon/idef-parser
From: Paolo Montesel
Signed-off-by: Alessandro Di Federico
Signed-off-by: Paolo Montesel
---
target/hexagon/idef-parser/idef-parser.y | 961 +++
target/hexagon/idef-parser/parser-helpers.c | 2396 +
target/hexagon/idef-parser/parser-helpers.h | 347 +++