]> gcc.gnu.org Git - gcc.git/commit - gcc/config/rs6000/rs6000-builtins.def
Add IEEE 128-bit overload round_to_odd built-in functions.
authorMichael Meissner <meissner@linux.ibm.com>
Mon, 1 Aug 2022 22:47:17 +0000 (18:47 -0400)
committerMichael Meissner <meissner@linux.ibm.com>
Mon, 1 Aug 2022 22:47:17 +0000 (18:47 -0400)
commit4be82f7fc943d0b81763b41201eb8db418edfb69
tree7c001cccb2a9de79fc5b83ca38cc91e9088a138a
parent9d372165b0bea41a27d374661115c18c5ed89d15
Add IEEE 128-bit overload round_to_odd built-in functions.

This patch adds support for overloading the IEEE 128-bit round to odd
built-in functions bewteeen KFmode and TFmode arguments.

2022-08-01   Michael Meissner  <meissner@linux.ibm.com>

gcc/

* config/rs6000/rs6000-builtins.def
(__builtin_addf128_round_to_odd_kf): Rename KFmode round to odd
built-in functions with a KF suffix to allow overloading.
(__builtin_divf128_round_to_odd_kf): Likewise.
(__builtin_fmaf128_round_to_odd_kf): Likewise.
(__builtin_mulf128_round_to_odd_kf): Likewise.
(__builtin_sqrtf128_round_to_odd_kf): Likewise.
(__builtin_subf128_round_to_odd_kf): Likewise.
(__builtin_truncf128_round_to_odd_kf): Likewise.
(__builtin_addf128_round_to_odd_tf): Add TFmode round to odd
built-in functions.
(__builtin_fmaf128_round_to_odd_tf): Likewise.
(__builtin_mulf128_round_to_odd_tf): Likewise.
(__builtin_sqrtf128_round_to_odd_tf): Likewise.
(__builtin_subf128_round_to_odd_tf): Likewise.
(__builtin_truncf128_round_to_odd_tf): Likewise.
* config/rs6000/rs6000-overload.def
(__builtin_addf128_round_to_odd): Make IEEE 128-bit round to odd
built-in functions overloaded.
(__builtin_divf128_round_to_odd): Likewise.
(__builtin_fmaf128_round_to_odd): Likewise.
(__builtin_mulf128_round_to_odd): Likewise.
(__builtin_sqrtf128_round_to_odd): Likewise.
(__builtin_subf128_round_to_odd): Likewise.
(__builtin_truncf128_round_to_odd): Likewise.
gcc/config/rs6000/rs6000-builtins.def
gcc/config/rs6000/rs6000-overload.def
This page took 0.060822 seconds and 5 git commands to generate.