diff options
author | Matheus Ferst | 2022-03-30 19:59:28 +0200 |
---|---|---|
committer | Daniel Henrique Barboza | 2022-04-20 23:00:30 +0200 |
commit | 95c1b71e25a9bafb64e4dd69f8834716332a7542 (patch) | |
tree | 44f7528b5138571bb04355e378c0e352f1c3bacf /include/fpu | |
parent | softfloat: add uint128_to_float128 (diff) | |
download | qemu-95c1b71e25a9bafb64e4dd69f8834716332a7542.tar.gz qemu-95c1b71e25a9bafb64e4dd69f8834716332a7542.tar.xz qemu-95c1b71e25a9bafb64e4dd69f8834716332a7542.zip |
softfloat: add int128_to_float128
Based on parts_sint_to_float, implements int128_to_float128 to convert a
signed 128-bit value received through an Int128 argument.
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20220330175932.6995-5-matheus.ferst@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'include/fpu')
-rw-r--r-- | include/fpu/softfloat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h index 8e026e5610..3994b7235d 100644 --- a/include/fpu/softfloat.h +++ b/include/fpu/softfloat.h @@ -183,6 +183,7 @@ floatx80 int64_to_floatx80(int64_t, float_status *status); float128 int32_to_float128(int32_t, float_status *status); float128 int64_to_float128(int64_t, float_status *status); +float128 int128_to_float128(Int128, float_status *status); float128 uint64_to_float128(uint64_t, float_status *status); float128 uint128_to_float128(Int128, float_status *status); |