Re: [Qemu-devel] [PATCH v1 37/41] s390x/tcg: Implement VECTOR SUBTRACT WITH BORROW COMPUTE BORROW INDICATION

2019-04-16 Thread David Hildenbrand
On 13.04.19 08:11, Richard Henderson wrote: > On 4/11/19 12:08 AM, David Hildenbrand wrote: >> +static DisasJumpType op_vsbcbi(DisasContext *s, DisasOps *o) >> +{ >> +if (get_field(s->fields, m5) != ES_128) { >> +gen_program_exception(s, PGM_SPECIFICATION); >> +return

Re: [Qemu-devel] [PATCH v1 37/41] s390x/tcg: Implement VECTOR SUBTRACT WITH BORROW COMPUTE BORROW INDICATION

2019-04-13 Thread Richard Henderson
On 4/11/19 12:08 AM, David Hildenbrand wrote: > +static DisasJumpType op_vsbcbi(DisasContext *s, DisasOps *o) > +{ > +if (get_field(s->fields, m5) != ES_128) { > +gen_program_exception(s, PGM_SPECIFICATION); > +return DISAS_NORETURN; > +} > + > +

[Qemu-devel] [PATCH v1 37/41] s390x/tcg: Implement VECTOR SUBTRACT WITH BORROW COMPUTE BORROW INDICATION

2019-04-11 Thread David Hildenbrand
Reuse s390_vec_sub() to perform two 128-bit subtraction, calculating the borrow. Signed-off-by: David Hildenbrand --- target/s390x/helper.h | 1 + target/s390x/insn-data.def | 2 ++ target/s390x/translate_vx.inc.c | 13 + target/s390x/vec_int_helper.c | 16