Public bug reported:
I was trying to use QEMU/TCG to emulate some stuff that uses SVM.
I know SVM is only partially implemented but I gave it a try anyway.
I found that if SVM is enabled in the same basic block in which there's a call
to VMSAVE/etc,
the call fails as illegal op because the flags
>
> > +"fLSBNEW(P"{LOWER_PRE}"N)" { yylval->rvalue.type = PREDICATE;
> > + yylval->rvalue.pre.id = yytext[9];
> > + yylval->rvalue.bit_width = 32;
> > + yylval->rvalue.is_dotnew = true;
> > + ret
>
> > +/**
> > + * Semantic record of the IMM token, identifying an immediate constant
> > + */
> > +typedef struct HexImm {
> > +union {
> > +char id;/**< Identifier of the immediate
> */
> > +uint64_t value; /**< Immediate value (for VALUE type
> immediate
On Wed, Apr 28, 2021 at 5:55 PM Taylor Simpson wrote:
>
>
>
> >From: Paolo Montesel
> >Sent: Wednesday, April 28, 2021 5:25 AM
> >To: Taylor Simpson
> >Cc: Alessandro Di Federico ; qemu-devel@nongnu.org; Brian
> >Cain ; ni...@rev.ng; >phi...@re
> > +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 &&
> > + lo->imm
Thanks for the feedback, it helped us improve the implementation quite a bit.
> > +| rvalue QMARK rvalue COLON rvalue
> > +{
> > +@1.last_column = @5.last_column;
> > +bool is_64bit = ($3.bit_width == 64) || ($5.bit_width == 64);
> > +int bit_width = (is_64bit) ? 64 : 32;
> > +if (
On Thu, Mar 4, 2021 at 1:10 PM Alex Bennée wrote:
>
>
> Philippe Mathieu-Daudé writes:
>
> > Add a job to build the Debian based Hexagon cross-toolchain image.
> >
> > This image requires a lot of compute time, too much for the common
> > shared runners. To avoid having the job to timeout, it has
> > +/* Copy rules */
> > +#define fLSBOLD(VAL) (fGETBIT(0, VAL))
> > +#define fSATH(VAL) fSATN(16, VAL)
> > +#define fSATUH(VAL) fSATUN(16, VAL)
> > +#define fVSATH(VAL) fVSATN(16, VAL)
> > +#define fVSATUH(VAL) fVSATUN(16, VAL)
> > +#define fSATUB(VAL) fSATUN(8, VAL)
> > +#define fSATB(VAL) fSATN