Re: [PATCH 04/21] Hexagon (target/hexagon) Add overrides for allocframe/deallocframe

2023-04-26 Thread Richard Henderson
On 4/26/23 01:41, Taylor Simpson wrote: +#ifndef CONFIG_HEXAGON_IDEF_PARSER +/* frame = ((LR << 32) | FP) ^ (FRAMEKEY << 32)) */ +static void gen_frame_scramble(TCGv_i64 result) +{ +TCGv_i64 framekey = tcg_temp_new_i64(); +tcg_gen_extu_i32_i64(framekey, hex_gpr[HEX_REG_FRAMEKEY]); +

[PATCH 04/21] Hexagon (target/hexagon) Add overrides for allocframe/deallocframe

2023-04-25 Thread Taylor Simpson
These instructions have implicit writes to registers, so we don't want them to be helpers when idef-parser is off. Signed-off-by: Taylor Simpson --- target/hexagon/gen_tcg.h | 32 + target/hexagon/genptr.c | 44 2 files