Re: [PATCH v3 11/20] target/riscv: tb flag for shadow stack instructions

2024-08-06 Thread Richard Henderson
On 8/7/24 10:06, Deepak Gupta wrote: Shadow stack instructions can be decoded as zimop / zcmop or shadow stack instructions depending on whether shadow stack are enabled at current privilege. This requires a TB flag so that correct TB generation and correct TB lookup happens. `DisasContext` gets

[PATCH v3 11/20] target/riscv: tb flag for shadow stack instructions

2024-08-06 Thread Deepak Gupta
Shadow stack instructions can be decoded as zimop / zcmop or shadow stack instructions depending on whether shadow stack are enabled at current privilege. This requires a TB flag so that correct TB generation and correct TB lookup happens. `DisasContext` gets a field indicating whether bcfi is enab