public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-28  6:11 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-28  6:11 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5c2c3272f798710863738c13e839239ad03f697b

commit 5c2c3272f798710863738c13e839239ad03f697b
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Fri Jul 28 02:11:25 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index 41346b4b534..cc53aae56b5 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,38 @@
+==================== Branch work127-vpair, patch #34 ====================
+
+Rename insns; Add reduction; Add overloads.
+
+2023-07-28  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/mma.md (UNSPEC_REDUCE_F32): New unspec.
+	(UNSPEC_REDUCE_F64): New unspec.
+	(reduce_v4sf): New insn.
+	(reduce_v8sf): Likewise.
+	(reduce_v2df): Likewise.
+	(reduce_v4df): Likewise.
+	* config/rs6000/rs6000-builtin.cc (fold_builtin_overload_fp): New helper
+	function.
+	(rs6000_gimple_fold_builtin): Add support for the fp overloaded built-in
+	functions.
+	* config/rs6000/rs6000-builtins.def (__builtin*_fp_*): Rename fp
+	overloadd built-in functions.  Add support for reduction built-ins.
+	* config/rs6000/rs6000-overload.def (__builtin_*_f32): Add overloded fp
+	built-in functions.
+	(__builtin_*_f64): Likewise.
+
+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 work127-vpair, patch #33 ====================
 
 Add -mvpair-arithmetic.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-28 17:04 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-28 17:04 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:117c3253b742f2363431a31611a0934bf910ad5d

commit 117c3253b742f2363431a31611a0934bf910ad5d
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Fri Jul 28 13:04:18 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index cc53aae56b5..323f493e311 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,13 @@
+==================== Branch work127-vpair, patch #35 ====================
+
+Update insn counts.
+
+2023-07-28  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/testsuite/
+
+	* gcc.target/powerpc/fp-overload-f64-vector.c: Update counts.
+
 ==================== Branch work127-vpair, patch #34 ====================
 
 Rename insns; Add reduction; Add overloads.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-27  3:56 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-27  3:56 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d549c880a9a7783833bb0b8653d03ff7fc29a099

commit d549c880a9a7783833bb0b8653d03ff7fc29a099
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Jul 26 23:56:25 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index 63b6b005db5..41346b4b534 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,33 @@
+==================== Branch work127-vpair, patch #33 ====================
+
+Add -mvpair-arithmetic.
+
+2023-07-26  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/mma.md (mov<mode>, VPAIR iterator): Enable V4DFmode nd
+	V8SFmode with -mvpair-arithmetic.
+	(<vpair_op><mode>2): Likewise.
+	(nabs<mode>2): Likewise.
+	(<vpair_op><mode>3): Likewise.
+	(fma<mode>4): Likewise.
+	(fms<mode>4): Likewise.
+	(nfma<mode>4): Likewise.
+	(nfms<mode>4): Likewise.
+	* config/rs6000/rs6000-cpus.h (OTHER_POWER10_MASKS): Add
+	-mvpair-arithmetic.
+	(POWERPC_MASKS): Likewise.
+	* config/rs6000/rs6000.cc (rs6000_init_hard_regno_mode_ok): Only
+	initialize the V4DFmode and V8SFmode reload handlers if
+	-mvpair-arithmetic.
+	(rs6000_option_override_internal): Make sure -mma is set if
+	-mvpair-arithmetic.
+	(rs6000_opt_masks): Add -mvpair-arithmetic.
+	* config/rs6000/rs6000.h (VECTOR_ALIGNMENT_P): Add V4DFmode and
+	V8SFmode.
+	* config/rs6000/rs6000.opt (-mvpair-arithmetic): New option.
+
 ==================== Branch work127-vpair, patch #32 ====================
 
 Add vector pair built-ins; Add min/max vector pair.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-26 16:59 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-26 16:59 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9ab2a061a0214a8e85d688e2e1b48c88f81b37b6

commit 9ab2a061a0214a8e85d688e2e1b48c88f81b37b6
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Jul 26 12:59:23 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index 6282f1f5c4a..63b6b005db5 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,62 @@
+==================== Branch work127-vpair, patch #32 ====================
+
+Add vector pair built-ins; Add min/max vector pair.
+
+2023-07-26  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/mma.md (UNSPEC_VPAIR_V4DF): New unspec.
+	(UNSPEC_VPAIR_V8SF): Likewise.
+	(VPAIR_BINARY): Add smin and smax.
+	(vpair_op): Likewise.
+	(VPAIR_WRAPPER): New int iterator.
+	(VPAIR_SUBTYPE): New int attribute.
+	(VPAIR_SUBTYPE_LOWER): Likewise.
+	(VPAIR_TYPE_LOWER): Likewise.
+	(vpair_<vpair_op><VPAIR_TYPE_LOWER>2): New wrappers for __vector_pair
+	unary built-in functions.
+	(vpair_nabs<VPAIR_TYPE_LOWER>): New combiner insn for vector pair
+	negative absolute value.
+	(vpair_<vpair_op><VPAIR_TYPE_LOWER>3): New wrappers for __vector_pair
+	binary built-in functions.
+	(vpair_fma<VPAIR_TYPE_LOWER>4): New wrappers for __vector_pair fma
+	built-in functions.
+	(vpair_fms<VPAIR_TYPE_LOWER>4): Likewise.
+	(vpair_nfma<VPAIR_TYPE_LOWER>4): Likewise.
+	(vpair_nfms<VPAIR_TYPE_LOWER>4): Likewise.
+	* config/rs6000/rs6000-builtins.md (__builtin_vpair_abs_v4df): New
+	vector pair built-in function.
+	(__builtin_vpair_neg_v4df): Likewise.
+	(__builtin_vpair_nabs_v4df): Likewise.
+	(__builtin_vpair_sqrt_v4df): Likewise.
+	(__builtin_vpair_add_v4df): Likewise.
+	(__builtin_vpair_sub_v4df): Likewise.
+	(__builtin_vpair_mul_v4df): Likewise.
+	(__builtin_vpair_div_v4df): Likewise.
+	(__builtin_vpair_copysign_v4df): Likewise.
+	(__builtin_vpair_smin_v4df): Likewise.
+	(__builtin_vpair_smax_v4df): Likewise.
+	(__builtin_vpair_fma_v4df): Likewise.
+	(__builtin_vpair_fms_v4df): Likewise.
+	(__builtin_vpair_nfma_v4df): Likewise.
+	(__builtin_vpair_nfms_v4df): Likewise.
+	(__builtin_vpair_abs_v8sf): Likewise.
+	(__builtin_vpair_neg_v8sf): Likewise.
+	(__builtin_vpair_nabs_v8sf): Likewise.
+	(__builtin_vpair_sqrt_v8sf): Likewise.
+	(__builtin_vpair_add_v8sf): Likewise.
+	(__builtin_vpair_sub_v8sf): Likewise.
+	(__builtin_vpair_mul_v8sf): Likewise.
+	(__builtin_vpair_div_v8sf): Likewise.
+	(__builtin_vpair_copysign_v8sf): Likewise.
+	(__builtin_vpair_smin_v8sf): Likewise.
+	(__builtin_vpair_smax_v8sf): Likewise.
+	(__builtin_vpair_fma_v8sf): Likewise.
+	(__builtin_vpair_fms_v8sf): Likewise.
+	(__builtin_vpair_nfma_v8sf): Likewise.
+	(__builtin_vpair_nfms_v8sf): Likewise.
+
 ==================== Branch work127-vpair, patch #31 ====================
 
 Add V4DF and V8SF copysign.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-26  5:54 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-26  5:54 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:10a053963dc0c5912f86d800f2e5905e5a1fb3ce

commit 10a053963dc0c5912f86d800f2e5905e5a1fb3ce
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Jul 26 01:54:17 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index 10b753cb4db..6282f1f5c4a 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,32 @@
+==================== Branch work127-vpair, patch #31 ====================
+
+Add V4DF and V8SF copysign.
+
+2023-07-26  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/mma.md (VPAIR_BINARY): Add copysign.
+	(vpair_op): Likewise.
+
+==================== Branch work127-vpair, patch #30 ====================
+
+Add V4DF and V8SF internal types.
+
+2023-07-26  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/rs6000.h (RS6000_BTI_V4DF): Add V4DF and V8SF internal
+	types.
+	(RS6000_BTI_V8SF): Likewise.
+	(V4DF_type_node): Likewise.
+	(V8SF_type_node): Likewise.
+	(ptr_V4DF_type_node): Likewise.
+	(ptr_V8SF_type_node): Likewise.
+	* config/rs6000/rs6000-builtin.cc (rs6000_init_builtins): Initialize the
+	V4DF and V8SF types.
+
 ==================== Branch work127-vpair, patch #29 ====================
 
 Replace UNSPEC_COPYSIGN with copysign

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-25 23:27 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-25 23:27 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b82f67d8d7e321d7a08b059556623e5527d3b74f

commit b82f67d8d7e321d7a08b059556623e5527d3b74f
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Jul 25 19:27:10 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index e9deed6db2c..10b753cb4db 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,20 @@
+==================== Branch work127-vpair, patch #29 ====================
+
+Replace UNSPEC_COPYSIGN with copysign
+
+2023-07-25  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/rs6000.md (UNSPEC_COPYSIGN): Delete.
+	(copysign<mode>3_fcpsg): Use copysign RTL instead of UNSPEC.
+	(copysign<mode>3_hard): Likewise.
+	(copysign<mode>3_soft): Likewise.
+	* config/rs6000/vector.md (vector_copysign<mode>3): Use copysign RTL
+	instead of UNSPEC.
+	* config/rs6000/vsx.md (vsx_copysign<mode>3): Use copysign RTL instead
+	of UNSPEC.
+
 ==================== Branch work127-vpair, patch #28 ====================
 
 Allow __vector_pair to be returned and passed as an argument.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-25 22:58 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-25 22:58 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0ea633e85ecaa973b914efc9ea50ab6e5f46604d

commit 0ea633e85ecaa973b914efc9ea50ab6e5f46604d
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Jul 25 18:58:51 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index b4d54f75193..e9deed6db2c 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,4 +1,17 @@
-==================== Branch work127-vpair, patch #26 ====================
+==================== Branch work127-vpair, patch #28 ====================
+
+Allow __vector_pair to be returned and passed as an argument.
+
+2023-07-25  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/rs6000-call.cc (USE_ALTIVEC_FOR_ARG_P): Add support for
+	passing and returning __vector_pair types.
+	(rs6000_return_in_memory): Likewise.
+	(rs6000_function_arg): Likewise.
+
+==================== Branch work127-vpair, patch #27 ====================
 
 Make max insns error easier to debug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-25 21:56 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-25 21:56 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:77049aecfef8b3fabea74d571336f4f43d83d65a

commit 77049aecfef8b3fabea74d571336f4f43d83d65a
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Jul 25 17:56:43 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index 7c893d1b125..b4d54f75193 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,5 +1,16 @@
 ==================== Branch work127-vpair, patch #26 ====================
 
+Make max insns error easier to debug.
+
+2023-07-25  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* lra-constraints.cc (lra_constraints): Print out the insn that we can't
+	reload.
+
+==================== Branch work127-vpair, patch #26 ====================
+
 Add v8sf extract support.
 
 2023-07-19  Michael Meissner  <meissner@linux.ibm.com>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-19 16:52 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-19 16:52 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:a2cf1dc63ad23e10403c78e2032ccab4b910a765

commit a2cf1dc63ad23e10403c78e2032ccab4b910a765
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Jul 19 12:52:48 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index 3e9ac16e987..7c893d1b125 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,17 @@
+==================== Branch work127-vpair, patch #26 ====================
+
+Add v8sf extract support.
+
+2023-07-19  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/rs6000.cc (rs6000_expand_vector_extract): Add support to
+	extract v8sf with a constant index.
+	* config/rs6000/vsx.md (V4SF_V8SF): New iterator.
+	(vsx_extract_<mode>): Rename vsx_extract_v4sf, and add support for
+	extracting SFmode values V8SFmode.
+
 ==================== Branch work127-vpair, patch #25 ====================
 
 Add v4df extract support.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-19 16:49 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-19 16:49 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:759603dec6b2966ed3bca54386e09294bc294549

commit 759603dec6b2966ed3bca54386e09294bc294549
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Jul 19 12:49:10 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index 1c8ea7a5fd7..3e9ac16e987 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,17 @@
+==================== Branch work127-vpair, patch #25 ====================
+
+Add v4df extract support.
+
+2023-07-19  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/rs6000.cc (rs6000_expand_vector_extract): Add support to
+	extract v4df with a constant index.
+	* config/rs6000/vsx.md (vsx_extract_v4df): New insn.
+
+==================== Branch work127-vpair, patch #24 ====================
+
 Add initial V8SF and V4DF vector extract.
 
 2023-07-18  Michael Meissner  <meissner@linux.ibm.com>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-19  6:57 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-19  6:57 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:da01c5ea88e424bbda61cd68f5ae0791a0ceb96a

commit da01c5ea88e424bbda61cd68f5ae0791a0ceb96a
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Wed Jul 19 02:57:21 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index 6c966469266..1c8ea7a5fd7 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,13 @@
+Add initial V8SF and V4DF vector extract.
+
+2023-07-18  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/vector.md (VEC_E): Add V8SF and V4DF.
+	(VEC_base): Likewise.
+	(VEC_base_l): Likewise.
+
 ==================== Branch work127-vpair, patch #23 ====================
 
 Add movoo insn deleted by accident.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-19  0:07 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-19  0:07 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:fa324a3a7a67e2b7bcf53e4ae33e97c530244c9b

commit fa324a3a7a67e2b7bcf53e4ae33e97c530244c9b
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Jul 18 20:07:48 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index 2cd82c29e56..6c966469266 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,13 @@
+==================== Branch work127-vpair, patch #23 ====================
+
+Add movoo insn deleted by accident.
+
+2023-07-18  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/mma.md (movoo): Restore insn.
+
 ==================== Branch work127-vpair, patch #22 ====================
 
 Add V8SF and V4DF constants.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-18 22:12 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-18 22:12 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d1858b00bcca3949413765f01c3e3c02dcee3d1c

commit d1858b00bcca3949413765f01c3e3c02dcee3d1c
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Jul 18 18:12:43 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index f8e76523014..2cd82c29e56 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,24 @@
+==================== Branch work127-vpair, patch #22 ====================
+
+Add V8SF and V4DF constants.
+
+2023-07-18  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/constraints.md (eP constraint): Update comment.
+	* config/rs6000/mma.md (mov<mode>, VPAIR iterator): Add spport for
+	loading constants.
+	* config/rs6000/predicates.md (vsx_prefixed_constant): Handle V8SFmode
+	and V4DFmode constants.
+	(easy_vector_constant): Update V8SFmode and V4DFmode support.
+	* config/rs6000/rs6000-protos.h (rs6000_split_vpair_constant): New
+	declaration.
+	* config/rs6000/rs6000.cc (rs6000_split_vpair_constant): New helper
+	function.
+	(rs6000_split_multireg_move): Handle splitting a vector pair constant
+	into 2 separate vector instructions.
+
 ==================== Branch work127-vpair, patch #21 ====================
 
 Update V8SF and V4DF support.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-18 17:42 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-18 17:42 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:80b5cb441616af3f76e72d4c573973cf7f6e7e72

commit 80b5cb441616af3f76e72d4c573973cf7f6e7e72
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Tue Jul 18 13:42:44 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index 464fe3f4c25..f8e76523014 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,65 @@
+==================== Branch work127-vpair, patch #21 ====================
+
+Update V8SF and V4DF support.
+
+2023-07-18  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/mma.md (VPAIR): Remove OOmode.
+	(VPAIN_ARITH): Delete.
+	(VPAIR_UNARY): Add sqrt.
+	(vpair_op): Likewise.
+	(movoo): Separate movoo from movv8sf and movv4df.
+	(mov<mode>, VPAIR iterator): Likewise.
+	(<vpair_op><mode>2): Use VPAIR, not VPAIR_ARITH.
+	(nabs<mode>2): New insn.
+	(<vpair_op><mode>3): Use VPAIR, not VPAIR_ARITH.
+	(fma<mode>4, VPAIR iterator): New insn.
+	(fms<mode>4, VPAIR iterator): Likewise.
+	(nfma<mode>4, VPAIR iterator): Likewise.
+	(nfms<mode>4, VPAIR iterator): Likewise.
+	* config/rs6000/predicates.md (easy_vector_constant): For now, don't
+	allow any non-zero vector constant for V8SFmode or V4DFmode.
+	* config/rs6000/rs6000.cc (rs6000_emit_move): Add support for V8SFmode
+	and V4DFmode.
+
+==================== Branch work127-vpair, patch #20 ====================
+
+Add vector pair support for V8SF and V4DF.
+
+This patch implements the basic floating point operations using vector pair for
+floats and doubles, using the vector_size attribute.
+
+2023-07-18  Michael Meissner  <meissner@linux.ibm.com>
+
+gcc/
+
+	* config/rs6000/mma.md (VPAIR): New mode iterator.
+	(VPAIR_UNARY): New code iterator.
+	(VPAIR_BINARY): Likewise.
+	(vpair_op): New code attribute.
+	(VPAIR_ARITH): New mode iterator.
+	(VPAIR_VECT): New mode attribute.
+	(mov<mode>): Convert movoo to movoo, movv8sf, and movf4df.
+	(<vpair_op><mode>2): Implement vector pair unary operations.
+	(<vpair_op><mode>3): Implement vector pair binary operations.
+	* config/rs6000/rs6000.cc (rs6000_hard_regno_mode_ok_uncached): Treat
+	V8SFmode and V4DFmode like OOmode.
+	(rs6000_modes_tieable_p): Likewise.
+	(rs6000_setup_reg_addr_masks): Likewise.
+	(rs6000_init_hard_regno_mode_ok): Likewise.
+	(reg_offset_addressing_ok_p): Likewise.
+	(rs6000_emit_move): Likewise.
+	(rs6000_preferred_reload_class): Likewise.
+	(rs6000_split_multireg_move): Likewise.
+	(rs6000_invalid_conversion): Likewise.
+	* config/rs6000/rs6000.h (VECTOR_PAIR_MODE_P): New macro.
+	* config/rs6000/rs6000.md (RELOAD): Set up reload handlers for V8SFmode
+	and V4DFmode.
+
+==================== Branch work127-vpair, setup ====================
+
 2023-07-17  Michael Meissner  <github@the-meissners.org>
 
 	* REVISION: Change branch name.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair
@ 2023-07-18  3:41 Michael Meissner
  0 siblings, 0 replies; 15+ messages in thread
From: Michael Meissner @ 2023-07-18  3:41 UTC (permalink / raw)
  To: gcc-cvs

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

commit 8b1c0ab1c073055e545bab382ce7cb9220f8c465
Author: Michael Meissner <meissner@linux.ibm.com>
Date:   Mon Jul 17 23:41:48 2023 -0400

    Update ChangeLog.vpair

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

diff --git a/gcc/ChangeLog.vpair b/gcc/ChangeLog.vpair
index ca1863eddf1..464fe3f4c25 100644
--- a/gcc/ChangeLog.vpair
+++ b/gcc/ChangeLog.vpair
@@ -1,3 +1,8 @@
+2023-07-17  Michael Meissner  <github@the-meissners.org>
+
+	* REVISION: Change branch name.
+	Pull in patches #1-7 from the main branch.
+
 ==================== Branch work127-vpair, baseline ====================
 
 2023-07-17   Michael Meissner  <meissner@linux.ibm.com>

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-07-28 17:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-28  6:11 [gcc(refs/users/meissner/heads/work127-vpair)] Update ChangeLog.vpair Michael Meissner
  -- strict thread matches above, loose matches on Subject: below --
2023-07-28 17:04 Michael Meissner
2023-07-27  3:56 Michael Meissner
2023-07-26 16:59 Michael Meissner
2023-07-26  5:54 Michael Meissner
2023-07-25 23:27 Michael Meissner
2023-07-25 22:58 Michael Meissner
2023-07-25 21:56 Michael Meissner
2023-07-19 16:52 Michael Meissner
2023-07-19 16:49 Michael Meissner
2023-07-19  6:57 Michael Meissner
2023-07-19  0:07 Michael Meissner
2023-07-18 22:12 Michael Meissner
2023-07-18 17:42 Michael Meissner
2023-07-18  3:41 Michael Meissner

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).