public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Michael Meissner <meissner@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/meissner/heads/work128-vpair)] Update ChangeLog.vpair
Date: Fri, 28 Jul 2023 19:33:29 +0000 (GMT)	[thread overview]
Message-ID: <20230728193329.5F6C53858CDA@sourceware.org> (raw)

https://gcc.gnu.org/g:18787bce0308785275c245416ff069df03baf10e

commit 18787bce0308785275c245416ff069df03baf10e
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Fri Jul 28 15:33:25 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index b55043b9f20..7d6dc4430c0 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,60 @@
+==================== Branch work128-vpair, patch #20 ====================
+
+Add fp built-in overload support.
+
+2023-07-28  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/mma.md (UNSPEC_VPAIR_V4DF): New unspec.
+	(UNSPEC_VPAIR_V8SF): Likewise.
+	(UNSPEC_REDUCE_F32): Likewise.
+	(UNSPEC_REDUCE_F64): Likewise.
+	(VPAIR_UNARY): New code iterator.
+	(VPAIR_BINARY): Likewise.
+	(vpair_op): New code attribute.
+	(VPAIR_WRAPPER): New int iterator.
+	(VPAIR_VECTOR): New int attribute.
+	(vpair_type): Likewise.
+	(vpair_<vpair_op><vpair_type>2): New insns to support arithmetic
+	operations on vector pairs.
+	(vpair_nabs<vpair_type>2): Likewise.
+	(vpair_<vpair_op><vpair_type>3): Likewise.
+	(vpair_fma<vpair_type>4): Likewise.
+	(vpair_fms<vpair_type>4): Likewise.
+	(vpair_nfma<vpair_type>): Likewise.
+	(vpair_nfms<vpair_type>): Likewise.
+	(reduce_v4sf): Likewise.
+	(reduce_v8sf): Likewise.
+	(reduce_v2df): Likewise.
+	(reduce_v4df): Likewise.
+	* config/rs6000/rs6000-builtin.cc (fold_builtin_overload_fp): New helper
+	function for floating point overloaded built-in functions.
+	(rs6000_gimple_fold_builtin): Add support for floating point overloaded
+	built-in functions that map directly to gimple.
+	* config/rs6000/rs6000-builtins.def (__builtin_*_f32_scalar): New
+	built-in functions for overloaded floating point support.
+	(__builtin_*_f32_vector): Likewise.
+	(__builtin_*_f32_vpair): Likewise.
+	(__builtin_*_f64_scalar): Likewise.
+	(__builtin_*_f64_vector): Likewise.
+	(__builtin_*_f64_vpair): Likewise.
+	* config/rs6000/rs6000-overload.def (__builtin_*_f32): Likewise.
+	(__builtin_*_f64): Likewise.
+	* doc/extend.texi (PowerPC Built-in functions): Document the floating
+	point overloaded built-in function.
+
+gcc/testsuite/
+
+	* gcc.target/powerpc/fp-overload-f32-scalar.c: New test.
+	* gcc.target/powerpc/fp-overload-f32-vector.c: Likewise.
+	* gcc.target/powerpc/fp-overload-f32-vpair.c: Likewise.
+	* gcc.target/powerpc/fp-overload-f64-scalar.c: Likewise.
+	* gcc.target/powerpc/fp-overload-f64-vector.c: Likewise.
+	* gcc.target/powerpc/fp-overload-f64-vpair.c: Likewise.
+	* gcc.target/powerpc/fp-overload.h: New include file for fp overloaded
+	built-in functions.
+
 ==================== Branch work128-vpair, baseline ====================
 
 2023-07-28   Michael Meissner  <meissner@linux.ibm.com>

                 reply	other threads:[~2023-07-28 19:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230728193329.5F6C53858CDA@sourceware.org \
    --to=meissner@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).