RE: [PATCH 7/8] Hexagon (target/hexagon) Use direct block chaining for direct jump/branch

2022-10-20 Thread Taylor Simpson
aro.org > Subject: Re: [PATCH 7/8] Hexagon (target/hexagon) Use direct block chaining > for direct jump/branch > > > Do we want to perform this logic at gen_write_new_pc_addr() as well? > > Although, in that case, we would need a separate ctx->branch_dest to hold a > TCGv

Re: [PATCH 7/8] Hexagon (target/hexagon) Use direct block chaining for direct jump/branch

2022-10-20 Thread Matheus Tavares Bernardino
Taylor Simpson wrote: > > diff --git a/target/hexagon/translate.h b/target/hexagon/translate.h > index eae358cf33..e60dbf0e7a 100644 > --- a/target/hexagon/translate.h > +++ b/target/hexagon/translate.h > @@ -54,6 +54,9 @@ typedef struct DisasContext { > bool qreg_is_predicated[NUM_QREGS]; >

[PATCH 7/8] Hexagon (target/hexagon) Use direct block chaining for direct jump/branch

2022-10-19 Thread Taylor Simpson
Direct block chaining is documented here https://qemu.readthedocs.io/en/latest/devel/tcg.html#direct-block-chaining Recall that Hexagon allows packets with multiple jumps where only the first one with a true predicate will actually jump. So, we can only use direct block chaining when the packet