diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2020-12-14 16:13:53 -0600 |
|---|---|---|
| committer | Cornelia Huck <cohuck@redhat.com> | 2020-12-21 18:11:33 +0100 |
| commit | ff26d287bddc189fd5a084cc96078da1257b0826 (patch) | |
| tree | b3933690ae362e092a809e2aa234002e1125818a /hw/net/virtio-net.c | |
| parent | 5b723a5d8df44b69b8ba350e643059c8fd889315 (diff) | |
| download | focaccia-qemu-ff26d287bddc189fd5a084cc96078da1257b0826.tar.gz focaccia-qemu-ff26d287bddc189fd5a084cc96078da1257b0826.zip | |
target/s390x: Improve cc computation for ADD LOGICAL
The resulting cc is only dependent on the result and the carry-out. So save those things rather than the inputs. Carry-out for 64-bit inputs is had via tcg_gen_add2_i64 directly into cc_src. Carry-out for 32-bit inputs is had via extraction from a normal 64-bit add (with zero-extended inputs). Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20201214221356.68039-2-richard.henderson@linaro.org> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions