gcc/libgfortran
Thomas Koenig 5d98fe096b Implement MATMUL and DOT_PRODUCT for unsigned.
gcc/fortran/ChangeLog:

	* arith.cc (gfc_arith_uminus): Fix warning.
	(gfc_arith_minus): Correctly truncate unsigneds.
	* check.cc (gfc_check_dot_product): Handle unsigned arguments.
	(gfc_check_matmul): Likewise.
	* expr.cc (gfc_get_unsigned_expr): New function.
	* gfortran.h (gfc_get_unsigned_expr): Add prototype.
	* iresolve.cc (gfc_resolve_matmul): If using UNSIGNED, use the
	signed integer version.
	* gfortran.texi: Document MATMUL and DOT_PRODUCT for unsigned.
	* simplify.cc (compute_dot_product): Handle unsigneds.

libgfortran/ChangeLog:

	* m4/iparm.m4: Add UNSIGED if type is m.
	* m4/matmul.m4: If type is GFC_INTEGER, use GFC_UINTEGER instead.
	Whitespace fixes.
	* m4/matmul_internal.m4: Whitespace fixes.

	* generated/matmul_c10.c: Regenerated.
	* generated/matmul_c16.c: Regenerated.
	* generated/matmul_c17.c: Regenerated.
	* generated/matmul_c4.c: Regenerated.
	* generated/matmul_c8.c: Regeneraated.
	* generated/matmul_i1.c: Regenerated.
	* generated/matmul_i16.c: Regenerated.
	* generated/matmul_i2.c: Regenerated.
	* generated/matmul_i4.c: Regenerated.
	* generated/matmul_i8.c: Regenerated.
	* generated/matmul_r10.c: Regenerated.
	* generated/matmul_r16.c: Regenerated.
	* generated/matmul_r17.c: Regenerated.
	* generated/matmul_r4.c: Regenerated.
	* generated/matmul_r8.c: Regenerated.
	* libgfortran.h: Add array types for unsiged.

gcc/testsuite/ChangeLog:

	* gfortran.dg/unsigned_25.f90: New test.
	* gfortran.dg/unsigned_26.f90: New test.
2024-09-24 21:51:42 +02:00
..
caf Fortran: Fix [Coarray] ICE in conv_caf_send, at fortran/trans-intrinsic.c:1950 [PR84246] 2024-08-20 09:32:09 +02:00
config libgfortran: implement fpu-macppc for Darwin, support IEEE arithmetic 2024-08-18 18:54:27 +02:00
generated Implement MATMUL and DOT_PRODUCT for unsigned. 2024-09-24 21:51:42 +02:00
ieee Update copyright years. 2024-01-03 12:19:35 +01:00
intrinsics Fortran: add SELECTED_LOGICAL_KIND 2024-04-29 16:24:20 +02:00
io Implement first part of unsigned integers for Fortran. 2024-09-07 17:12:17 +02:00
m4 Implement MATMUL and DOT_PRODUCT for unsigned. 2024-09-24 21:51:42 +02:00
runtime Fortran: Fix rejecting class arrays of different ranks as storage association argument and add un/pack_class. [PR96992] 2024-07-11 09:47:44 +02:00
acinclude.m4
aclocal.m4
c99_protos.h Update copyright years. 2024-01-03 12:19:35 +01:00
ChangeLog Daily bump. 2024-09-08 00:17:46 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-2021
ChangeLog-2022
ChangeLog-2023 Rotate ChangeLog files. 2024-01-03 11:29:39 +01:00
config.h.in
configure nvptx, libgfortran: Switch out of "minimal" mode 2024-06-06 13:41:47 +02:00
configure.ac nvptx, libgfortran: Switch out of "minimal" mode 2024-06-06 13:41:47 +02:00
configure.host libgfortran: implement fpu-macppc for Darwin, support IEEE arithmetic 2024-08-18 18:54:27 +02:00
gfortran.map Implement first part of unsigned integers for Fortran. 2024-09-07 17:12:17 +02:00
ISO_Fortran_binding.h Update copyright years. 2024-01-03 12:19:35 +01:00
kinds-override.h Update copyright years. 2024-01-03 12:19:35 +01:00
libgfortran.h Implement MATMUL and DOT_PRODUCT for unsigned. 2024-09-24 21:51:42 +02:00
libgfortran.spec.in libgfortran: avoid duplicate libraries in spec 2023-12-19 22:10:55 +01:00
libtool-version
Makefile.am Fortran: Fix rejecting class arrays of different ranks as storage association argument and add un/pack_class. [PR96992] 2024-07-11 09:47:44 +02:00
Makefile.in Fortran: Fix rejecting class arrays of different ranks as storage association argument and add un/pack_class. [PR96992] 2024-07-11 09:47:44 +02:00
mk-kinds-h.sh Implement first part of unsigned integers for Fortran. 2024-09-07 17:12:17 +02:00
mk-sik-inc.sh
mk-srk-inc.sh