Re: [PATCH 3/4] target/s390x: Improve cc computation for SUBTRACT LOGICAL

2020-10-20 Thread David Hildenbrand
On 17.10.20 04:29, Richard Henderson wrote: > The resulting cc is only dependent on the result and the > borrow-out. So save those things rather than the inputs. > > Borrow-out for 64-bit inputs is had via tcg_gen_sub2_i64 directly > into cc_src. Borrow-out for 32-bit inputs is had via extractio

[PATCH 3/4] target/s390x: Improve cc computation for SUBTRACT LOGICAL

2020-10-16 Thread Richard Henderson
The resulting cc is only dependent on the result and the borrow-out. So save those things rather than the inputs. Borrow-out for 64-bit inputs is had via tcg_gen_sub2_i64 directly into cc_src. Borrow-out for 32-bit inputs is had via extraction from a normal 64-bit sub (with zero-extended inputs)