[PATCH], PR target/84914, Fix complex long double multiply/divide on PowerPC -mabi=ieeelongdouble

Segher Boessenkool segher@kernel.crashing.org
Tue Mar 27 23:33:00 GMT 2018


On Fri, Mar 23, 2018 at 03:19:03PM -0400, Michael Meissner wrote:
> 2018-03-23  Michael Meissner  <meissner@linux.vnet.ibm.com>
> 
> 	PR target/84914
> 	* config/rs6000/rs6000.c (create_complex_muldiv): New helper
> 	function to create the function decl for complex long double
> 	multiply and divide for -mabi=ieeelongdouble.
> 	(init_float128_ieee): Call it.
> 
> [gcc/testsuite]
> 2018-03-23  Michael Meissner  <meissner@linux.vnet.ibm.com>
> 
> 	PR target/84914
> 	* gcc.target/powerpc/mulkc-2.c: New tests to make sure complex
> 	long double multiply/divide uses the correct function.
> 	* gcc.target/powerpc/mulkc-3.c: Likewise.
> 	* gcc.target/powerpc/divkc-2.c: Likewise.
> 	* gcc.target/powerpc/divkc-3.c: Likewise.

Okay for trunk.  Thanks!


Segher



More information about the Gcc-patches mailing list