[PATCH] [libgomp] Add a stream communication framework to GOMP

Antoniu Pop antoniu.pop@gmail.com
Fri Apr 25 11:24:00 GMT 2008


Hi,

This patch extends libgomp with stream communication primitives and
adds the respective builtins. More information on the stream extension
and the streamization pass will be published in the GCC Summit '08
(http://www.gccsummit.org/2008/view_abstract.php?content_key=19).

This patch is needed for the automatic loop streamization pass
(subsequent patches).

Trunk plus patch have been bootstrapped and tested on amd64-linux.

Antoniu

ChangeLog:

2008-04-22  Antoniu Pop  <antoniu.pop@gmail.com>
            Sebastian Pop  <sebastian.pop@amd.com>

libgomp/
	* stream.c: New.

	* libgomp.h (gomp_stream, gomp_stream_create,
	gomp_stream_push, gomp_stream_head, gomp_stream_pop,
	gomp_stream_eos_p, gomp_stream_set_eos, gomp_stream_destroy,
	gomp_stream_align_push, gomp_stream_align_pop): Declared.

	* libgomp_g.h (GOMP_stream_create, GOMP_stream_push,
	GOMP_stream_head, GOMP_stream_pop, GOMP_stream_eos_p,
	GOMP_stream_set_eos, GOMP_stream_destroy, GOMP_stream_align_push,
	GOMP_stream_align_pop): Declared.

	* Makefile.am: Added stream.c to libgomp_la_SOURCES.

	* Makefile.in: Regenerate.

gcc/
	* builtin-types.def (BT_FN_BOOL_PTR, BT_FN_PTR_SIZE_UINT,
	BT_FN_VOID_PTR_PTR_INT): New types.

	* fortran/types.def (BT_FN_BOOL_PTR, BT_FN_PTR_SIZE_UINT,
	BT_FN_VOID_PTR_PTR, BT_FN_VOID_PTR_INT, BT_FN_VOID_PTR_PTR_INT):
	New types.

	* omp-builtins.def (BUILT_IN_GOMP_STREAM_CREATE,
	BUILT_IN_GOMP_STREAM_PUSH, BUILT_IN_GOMP_STREAM_HEAD,
	BUILT_IN_GOMP_STREAM_POP, BUILT_IN_GOMP_STREAM_EOS_P,
	BUILT_IN_GOMP_STREAM_SET_EOS, BUILT_IN_GOMP_STREAM_DESTROY,
	BUILT_IN_GOMP_STREAM_ALIGN_PUSH, BUILT_IN_GOMP_STREAM_ALIGN_POP):
	New builtins.


---------- Forwarded message ----------
From:  <apop@gcc12.fsffrance.org>
Date: Thu, Apr 24, 2008 at 6:12 PM
Subject: [regtest] Results for 2008_04_23_17_03_25_gomp_streams.diff
on x86_64-unknown-linux-gnu
To: antoniu.pop@gmail.com


Checker: (2008_04_24_16_12_40): (cat /home/apop/results/testing/patched/report
 there are no regressions with your patch.
 Checker: (2008_04_24_16_12_40): tac)
 Checker: (2008_04_24_16_12_40): FAILs with patched version:
 Checker: (2008_04_24_16_12_40): (cat /home/apop/results/testing/patched/failed
 gcc.sum gcc.dg/vect/vect-vfa-slp.c
 libstdc++.sum 22_locale/time_get/get_date/wchar_t/4.cc
 Checker: (2008_04_24_16_12_40): tac)
 Checker: (2008_04_24_16_12_40): FAILs with pristine version:
 Checker: (2008_04_24_16_12_40): (cat /home/apop/results//trunk/134625/failed
 gcc.sum gcc.dg/vect/vect-vfa-slp.c
 libstdc++.sum 22_locale/time_get/get_date/wchar_t/4.cc
 Checker: (2008_04_24_16_12_40): tac)
 Checker: (2008_04_24_16_12_40): The files used for the validation of
your patch are stored in
/home/apop/results/patched/2008_04_24_16_12_40 on the tester machine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2008_04_23_17_03_25_gomp_streams.diff
Type: text/x-diff
Size: 20015 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080425/67eea8cd/attachment.bin>


More information about the Gcc-patches mailing list