On Mon, 2016-07-25 at 19:42 +0530, Richard Henderson wrote: > For some targets, we also restore part of the flags computation with this > mechanism. With more trickery, ARM is (intending to?) compute exception > syndrome information with this. As I understand it, this is very much akin > to > the PPC gen_set_access_type, so perhaps in future there's some savings to be > had there
Indeed. Another issue we have is generating the opcode bits in DSISR. Now thankfully for most modern CPUs this is no longer done in HW but at the moment, I dont like how we call cpu_ldl_code() in powerpc_excp. Cheers, Ben.