summaryrefslogtreecommitdiff
path: root/libgomp/loop_ull.c
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-06 20:30:31 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-06 20:30:31 +0000
commit78722ce50a01112370341d096d0c9b8343e4cfd6 (patch)
treea2b2cd2fdac472b2ebf9ad3e954efc65dd417f3a /libgomp/loop_ull.c
parent5e0e96f0552f6a39b0013bb534487ced29269e12 (diff)
downloadgcc-78722ce50a01112370341d096d0c9b8343e4cfd6.tar.gz
2008-06-06 Andreas Tobler <a.tobler@schweiz.org>
PR bootstrap/36452 * loop_ull.c (GOMP_loop_ull_static_start): Adjust API. (GOMP_loop_ull_dynamic_start): Likewise. (GOMP_loop_ull_guided_start): Likewise. (GOMP_loop_ull_ordered_static_start): Likewise. (GOMP_loop_ull_ordered_dynamic_start): Likewise. (GOMP_loop_ull_ordered_guided_start): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136503 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/loop_ull.c')
-rw-r--r--libgomp/loop_ull.c51
1 files changed, 30 insertions, 21 deletions
diff --git a/libgomp/loop_ull.c b/libgomp/loop_ull.c
index 7dab05326f9..d5d1eb8cc52 100644
--- a/libgomp/loop_ull.c
+++ b/libgomp/loop_ull.c
@@ -483,48 +483,57 @@ extern __typeof(gomp_loop_ull_ordered_guided_next) GOMP_loop_ull_ordered_guided_
__attribute__((alias ("gomp_loop_ull_ordered_guided_next")));
#else
bool
-GOMP_loop_ull_static_start (gomp_ull start, gomp_ull end, gomp_ull incr, gomp_ull chunk_size,
- gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_static_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_static_start (start, end, incr, chunk_size, istart, iend);
+ return gomp_loop_ull_static_start (up, start, end, incr, chunk_size, istart,
+ iend);
}
bool
-GOMP_loop_ull_dynamic_start (gomp_ull start, gomp_ull end, gomp_ull incr, gomp_ull chunk_size,
- gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_dynamic_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_dynamic_start (start, end, incr, chunk_size, istart, iend);
+ return gomp_loop_ull_dynamic_start (up, start, end, incr, chunk_size, istart,
+ iend);
}
bool
-GOMP_loop_ull_guided_start (gomp_ull start, gomp_ull end, gomp_ull incr, gomp_ull chunk_size,
- gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_guided_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_guided_start (start, end, incr, chunk_size, istart, iend);
+ return gomp_loop_ull_guided_start (up, start, end, incr, chunk_size, istart,
+ iend);
}
bool
-GOMP_loop_ull_ordered_static_start (gomp_ull start, gomp_ull end, gomp_ull incr,
- gomp_ull chunk_size, gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_ordered_static_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_ordered_static_start (start, end, incr, chunk_size,
- istart, iend);
+ return gomp_loop_ull_ordered_static_start (up, start, end, incr, chunk_size,
+ istart, iend);
}
bool
-GOMP_loop_ull_ordered_dynamic_start (gomp_ull start, gomp_ull end, gomp_ull incr,
- gomp_ull chunk_size, gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_ordered_dynamic_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_ordered_dynamic_start (start, end, incr, chunk_size,
- istart, iend);
+ return gomp_loop_ull_ordered_dynamic_start (up, start, end, incr, chunk_size,
+ istart, iend);
}
bool
-GOMP_loop_ull_ordered_guided_start (gomp_ull start, gomp_ull end, gomp_ull incr,
- gomp_ull chunk_size, gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_ordered_guided_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_ordered_guided_start (start, end, incr, chunk_size,
- istart, iend);
+ return gomp_loop_ull_ordered_guided_start (up, start, end, incr, chunk_size,
+ istart, iend);
}
bool