On 06/01/2015 02:24 PM, Aurelien Jarno wrote: > At the same time move the trap code from op_ct into gen_trap and use it > for all new functions. The value needs to be stored back to register > before the exception, but also before the brcond (as we don't use > temp locals). That's why we can't use wout helper. > > Cc: Alexander Graf <ag...@suse.de> > Cc: Richard Henderson <r...@twiddle.net> > Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> > --- > target-s390x/insn-data.def | 10 ++++++ > target-s390x/translate.c | 80 > ++++++++++++++++++++++++++++++++++++++++------ > 2 files changed, 81 insertions(+), 9 deletions(-)
Reviewed-by: Richard Henderson <r...@twiddle.net> r~