[gcc(refs/users/meissner/heads/work260-float)] Update ChangeLog.*

Michael Meissner meissner@gcc.gnu.org
Fri Sep 4 01:35:21 GMT 2026


https://gcc.gnu.org/g:8f4eaee0af691a6aee61f9bd2846185cd41f4e75

commit 8f4eaee0af691a6aee61f9bd2846185cd41f4e75
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Thu Sep 3 21:34:40 2026 -0400

    Update ChangeLog.*

Diff:
---
 gcc/ChangeLog.float | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gcc/ChangeLog.float b/gcc/ChangeLog.float
index 5b185d98f080..52ba7cab6bd8 100644
--- a/gcc/ChangeLog.float
+++ b/gcc/ChangeLog.float
@@ -1,3 +1,28 @@
+==================== Branch work260-float, patch #210 ====================
+
+Pass/return HFmode and BFmode as SFmode.
+
+2026-09-03  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/rs6000-call.cc (rs6000_promote_function_mode): Pass and
+	return BFmode and HFmode as SFmode.
+	* config/rs6000/rs6000-internal.h
+	(rs6000_promote_function_mode_convert): New declaration.
+	* config/rs6000/rs6000.cc (TARGET_PROMOTE_FUNCTION_MODE_CONVERT):
+	Override default.
+	(rs6000_function_value): Return BFmode/HFmode as SFmode.
+	* doc/tm.texi: Regenerate.
+	* doc/tm.texi.in: (TARGET_PROMOTE_FUNCTION_MODE_CONVERT): New hook.
+	* expr.cc (expand_expr_real_1): Add support for doing a conversion if
+	the argument is passed as a different mode instead of doing a SUBREG.
+	* target.def (promote_function_mode_convert): Add a new target hook to
+	possibly do a real conversion if a function argument is passed ass a
+	different mode.
+	* targhooks.cc (default_promot_function_mode_convert): Likewise.
+	* targhooks.h (default_promot_function_mode_convert): Likewise.
+
 ==================== Branch work260-float, patch #209 ====================
 
 Add _Float16 and __bf16 tests.


More information about the Gcc-cvs mailing list