summary refs log tree commit diff stats
path: root/net/netmap.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2019-02-18 13:27:07 +0100
committerCornelia Huck <cohuck@redhat.com>2019-03-04 11:49:31 +0100
commitdce0a58fd6427e4c9d1399ced70a04276db71a5f (patch)
treede084749ad5476ddd015a8dc456855f4032268b0 /net/netmap.c
parentcf97f9ff94662433f997c40d023b90e2506655de (diff)
downloadfocaccia-qemu-dce0a58fd6427e4c9d1399ced70a04276db71a5f.tar.gz
focaccia-qemu-dce0a58fd6427e4c9d1399ced70a04276db71a5f.zip
s390x/tcg: Implement XxC and checks for most FP instructions
With the floating-point extension facility
- CONVERT FROM LOGICAL
- CONVERT TO LOGICAL
- CONVERT TO FIXED
- CONVERT FROM FIXED
- LOAD FP INTEGER
have both, a rounding mode specification and the inexact-exception control
(XxC). Other instructions will be handled separatly.

Check for valid rounding modes and forward also the XxC (via m4). To avoid
a lot of boilerplate code and changes to the helpers, combine both, the
m3 and m4 field in a combined 32 bit TCG variable. Perform checks at
a central place, taking in account if the m3 or m4 field was ignore
before the floating-point extension facility was introduced.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190218122710.23639-13-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'net/netmap.c')
0 files changed, 0 insertions, 0 deletions