Re: [Qemu-devel] [PATCH 12/13] target-s390x: implement load-and-trap facility

2015-06-02 Thread Richard Henderson
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

[Qemu-devel] [PATCH 12/13] target-s390x: implement load-and-trap facility

2015-06-01 Thread Aurelien Jarno
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 Cc: Richard Henderso