S390: Implement roundtoint and converttoint and define TOINT_INTRINSICS.
authorStefan Liebler <stli@linux.ibm.com>
Wed, 11 Dec 2019 14:09:33 +0000 (15:09 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Wed, 11 Dec 2019 14:12:25 +0000 (15:12 +0100)
commit2763d3145a326aa9afa613fe9e1b444cf912a883
tree611638e02bb339186e8a1d48c903427b2799a816
parent433a2ba68cd91842546e0f0d43d65835634d570d
S390: Implement roundtoint and converttoint and define TOINT_INTRINSICS.

This patch implements roundtoint and convertoint for s390
by using the load-fp-integer and convert-to-fixed instructions.
Both functions are using "round to nearest with ties away from zero"
rounding mode and do not raise inexact exceptions.
sysdeps/s390/fpu/math_private.h [new file with mode: 0644]