libgfortran ChangeLog:

2005-11-27  Janne Blomqvist  <jb@gcc.gnu.org>

	* m4/*: Add const restrict to function arguments.
	* generated/*.c: Regenerate.

From-SVN: r107573
This commit is contained in:
Janne Blomqvist 2005-11-27 23:03:33 +02:00
parent 949446f557
commit 64acfd9910
186 changed files with 2734 additions and 1838 deletions

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_16) && defined (HAVE_GFC_LOGICAL_16)
extern void all_l16 (gfc_array_l16 *, gfc_array_l16 *, index_type *);
extern void all_l16 (gfc_array_l16 * const restrict,
gfc_array_l16 * const restrict, const index_type * const restrict);
export_proto(all_l16);
void
all_l16 (gfc_array_l16 *retarray, gfc_array_l16 *array, index_type *pdim)
all_l16 (gfc_array_l16 * const restrict retarray,
gfc_array_l16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_16 *base;
GFC_LOGICAL_16 *dest;
const GFC_LOGICAL_16 * restrict base;
GFC_LOGICAL_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ all_l16 (gfc_array_l16 *retarray, gfc_array_l16 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_16 *src;
const GFC_LOGICAL_16 * restrict src;
GFC_LOGICAL_16 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_4) && defined (HAVE_GFC_LOGICAL_4)
extern void all_l4 (gfc_array_l4 *, gfc_array_l4 *, index_type *);
extern void all_l4 (gfc_array_l4 * const restrict,
gfc_array_l4 * const restrict, const index_type * const restrict);
export_proto(all_l4);
void
all_l4 (gfc_array_l4 *retarray, gfc_array_l4 *array, index_type *pdim)
all_l4 (gfc_array_l4 * const restrict retarray,
gfc_array_l4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_4 *base;
GFC_LOGICAL_4 *dest;
const GFC_LOGICAL_4 * restrict base;
GFC_LOGICAL_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ all_l4 (gfc_array_l4 *retarray, gfc_array_l4 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_4 *src;
const GFC_LOGICAL_4 * restrict src;
GFC_LOGICAL_4 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_8) && defined (HAVE_GFC_LOGICAL_8)
extern void all_l8 (gfc_array_l8 *, gfc_array_l8 *, index_type *);
extern void all_l8 (gfc_array_l8 * const restrict,
gfc_array_l8 * const restrict, const index_type * const restrict);
export_proto(all_l8);
void
all_l8 (gfc_array_l8 *retarray, gfc_array_l8 *array, index_type *pdim)
all_l8 (gfc_array_l8 * const restrict retarray,
gfc_array_l8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_8 *base;
GFC_LOGICAL_8 *dest;
const GFC_LOGICAL_8 * restrict base;
GFC_LOGICAL_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ all_l8 (gfc_array_l8 *retarray, gfc_array_l8 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_8 *src;
const GFC_LOGICAL_8 * restrict src;
GFC_LOGICAL_8 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_16) && defined (HAVE_GFC_LOGICAL_16)
extern void any_l16 (gfc_array_l16 *, gfc_array_l16 *, index_type *);
extern void any_l16 (gfc_array_l16 * const restrict,
gfc_array_l16 * const restrict, const index_type * const restrict);
export_proto(any_l16);
void
any_l16 (gfc_array_l16 *retarray, gfc_array_l16 *array, index_type *pdim)
any_l16 (gfc_array_l16 * const restrict retarray,
gfc_array_l16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_16 *base;
GFC_LOGICAL_16 *dest;
const GFC_LOGICAL_16 * restrict base;
GFC_LOGICAL_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ any_l16 (gfc_array_l16 *retarray, gfc_array_l16 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_16 *src;
const GFC_LOGICAL_16 * restrict src;
GFC_LOGICAL_16 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_4) && defined (HAVE_GFC_LOGICAL_4)
extern void any_l4 (gfc_array_l4 *, gfc_array_l4 *, index_type *);
extern void any_l4 (gfc_array_l4 * const restrict,
gfc_array_l4 * const restrict, const index_type * const restrict);
export_proto(any_l4);
void
any_l4 (gfc_array_l4 *retarray, gfc_array_l4 *array, index_type *pdim)
any_l4 (gfc_array_l4 * const restrict retarray,
gfc_array_l4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_4 *base;
GFC_LOGICAL_4 *dest;
const GFC_LOGICAL_4 * restrict base;
GFC_LOGICAL_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ any_l4 (gfc_array_l4 *retarray, gfc_array_l4 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_4 *src;
const GFC_LOGICAL_4 * restrict src;
GFC_LOGICAL_4 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_8) && defined (HAVE_GFC_LOGICAL_8)
extern void any_l8 (gfc_array_l8 *, gfc_array_l8 *, index_type *);
extern void any_l8 (gfc_array_l8 * const restrict,
gfc_array_l8 * const restrict, const index_type * const restrict);
export_proto(any_l8);
void
any_l8 (gfc_array_l8 *retarray, gfc_array_l8 *array, index_type *pdim)
any_l8 (gfc_array_l8 * const restrict retarray,
gfc_array_l8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_8 *base;
GFC_LOGICAL_8 *dest;
const GFC_LOGICAL_8 * restrict base;
GFC_LOGICAL_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ any_l8 (gfc_array_l8 *retarray, gfc_array_l8 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_8 *src;
const GFC_LOGICAL_8 * restrict src;
GFC_LOGICAL_8 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_16) && defined (HAVE_GFC_INTEGER_16)
extern void count_16_l16 (gfc_array_i16 *, gfc_array_l16 *, index_type *);
extern void count_16_l16 (gfc_array_i16 * const restrict,
gfc_array_l16 * const restrict, const index_type * const restrict);
export_proto(count_16_l16);
void
count_16_l16 (gfc_array_i16 *retarray, gfc_array_l16 *array, index_type *pdim)
count_16_l16 (gfc_array_i16 * const restrict retarray,
gfc_array_l16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_16 *base;
GFC_INTEGER_16 *dest;
const GFC_LOGICAL_16 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ count_16_l16 (gfc_array_i16 *retarray, gfc_array_l16 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_16 *src;
const GFC_LOGICAL_16 * restrict src;
GFC_INTEGER_16 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_4) && defined (HAVE_GFC_INTEGER_16)
extern void count_16_l4 (gfc_array_i16 *, gfc_array_l4 *, index_type *);
extern void count_16_l4 (gfc_array_i16 * const restrict,
gfc_array_l4 * const restrict, const index_type * const restrict);
export_proto(count_16_l4);
void
count_16_l4 (gfc_array_i16 *retarray, gfc_array_l4 *array, index_type *pdim)
count_16_l4 (gfc_array_i16 * const restrict retarray,
gfc_array_l4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_4 *base;
GFC_INTEGER_16 *dest;
const GFC_LOGICAL_4 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ count_16_l4 (gfc_array_i16 *retarray, gfc_array_l4 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_4 *src;
const GFC_LOGICAL_4 * restrict src;
GFC_INTEGER_16 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_8) && defined (HAVE_GFC_INTEGER_16)
extern void count_16_l8 (gfc_array_i16 *, gfc_array_l8 *, index_type *);
extern void count_16_l8 (gfc_array_i16 * const restrict,
gfc_array_l8 * const restrict, const index_type * const restrict);
export_proto(count_16_l8);
void
count_16_l8 (gfc_array_i16 *retarray, gfc_array_l8 *array, index_type *pdim)
count_16_l8 (gfc_array_i16 * const restrict retarray,
gfc_array_l8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_8 *base;
GFC_INTEGER_16 *dest;
const GFC_LOGICAL_8 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ count_16_l8 (gfc_array_i16 *retarray, gfc_array_l8 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_8 *src;
const GFC_LOGICAL_8 * restrict src;
GFC_INTEGER_16 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_16) && defined (HAVE_GFC_INTEGER_4)
extern void count_4_l16 (gfc_array_i4 *, gfc_array_l16 *, index_type *);
extern void count_4_l16 (gfc_array_i4 * const restrict,
gfc_array_l16 * const restrict, const index_type * const restrict);
export_proto(count_4_l16);
void
count_4_l16 (gfc_array_i4 *retarray, gfc_array_l16 *array, index_type *pdim)
count_4_l16 (gfc_array_i4 * const restrict retarray,
gfc_array_l16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_16 *base;
GFC_INTEGER_4 *dest;
const GFC_LOGICAL_16 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ count_4_l16 (gfc_array_i4 *retarray, gfc_array_l16 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_16 *src;
const GFC_LOGICAL_16 * restrict src;
GFC_INTEGER_4 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_4) && defined (HAVE_GFC_INTEGER_4)
extern void count_4_l4 (gfc_array_i4 *, gfc_array_l4 *, index_type *);
extern void count_4_l4 (gfc_array_i4 * const restrict,
gfc_array_l4 * const restrict, const index_type * const restrict);
export_proto(count_4_l4);
void
count_4_l4 (gfc_array_i4 *retarray, gfc_array_l4 *array, index_type *pdim)
count_4_l4 (gfc_array_i4 * const restrict retarray,
gfc_array_l4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_4 *base;
GFC_INTEGER_4 *dest;
const GFC_LOGICAL_4 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ count_4_l4 (gfc_array_i4 *retarray, gfc_array_l4 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_4 *src;
const GFC_LOGICAL_4 * restrict src;
GFC_INTEGER_4 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_8) && defined (HAVE_GFC_INTEGER_4)
extern void count_4_l8 (gfc_array_i4 *, gfc_array_l8 *, index_type *);
extern void count_4_l8 (gfc_array_i4 * const restrict,
gfc_array_l8 * const restrict, const index_type * const restrict);
export_proto(count_4_l8);
void
count_4_l8 (gfc_array_i4 *retarray, gfc_array_l8 *array, index_type *pdim)
count_4_l8 (gfc_array_i4 * const restrict retarray,
gfc_array_l8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_8 *base;
GFC_INTEGER_4 *dest;
const GFC_LOGICAL_8 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ count_4_l8 (gfc_array_i4 *retarray, gfc_array_l8 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_8 *src;
const GFC_LOGICAL_8 * restrict src;
GFC_INTEGER_4 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_16) && defined (HAVE_GFC_INTEGER_8)
extern void count_8_l16 (gfc_array_i8 *, gfc_array_l16 *, index_type *);
extern void count_8_l16 (gfc_array_i8 * const restrict,
gfc_array_l16 * const restrict, const index_type * const restrict);
export_proto(count_8_l16);
void
count_8_l16 (gfc_array_i8 *retarray, gfc_array_l16 *array, index_type *pdim)
count_8_l16 (gfc_array_i8 * const restrict retarray,
gfc_array_l16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_16 *base;
GFC_INTEGER_8 *dest;
const GFC_LOGICAL_16 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ count_8_l16 (gfc_array_i8 *retarray, gfc_array_l16 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_16 *src;
const GFC_LOGICAL_16 * restrict src;
GFC_INTEGER_8 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_4) && defined (HAVE_GFC_INTEGER_8)
extern void count_8_l4 (gfc_array_i8 *, gfc_array_l4 *, index_type *);
extern void count_8_l4 (gfc_array_i8 * const restrict,
gfc_array_l4 * const restrict, const index_type * const restrict);
export_proto(count_8_l4);
void
count_8_l4 (gfc_array_i8 *retarray, gfc_array_l4 *array, index_type *pdim)
count_8_l4 (gfc_array_i8 * const restrict retarray,
gfc_array_l4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_4 *base;
GFC_INTEGER_8 *dest;
const GFC_LOGICAL_4 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ count_8_l4 (gfc_array_i8 *retarray, gfc_array_l4 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_4 *src;
const GFC_LOGICAL_4 * restrict src;
GFC_INTEGER_8 result;
src = base;
{

View file

@ -37,18 +37,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_8) && defined (HAVE_GFC_INTEGER_8)
extern void count_8_l8 (gfc_array_i8 *, gfc_array_l8 *, index_type *);
extern void count_8_l8 (gfc_array_i8 * const restrict,
gfc_array_l8 * const restrict, const index_type * const restrict);
export_proto(count_8_l8);
void
count_8_l8 (gfc_array_i8 *retarray, gfc_array_l8 *array, index_type *pdim)
count_8_l8 (gfc_array_i8 * const restrict retarray,
gfc_array_l8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_LOGICAL_8 *base;
GFC_INTEGER_8 *dest;
const GFC_LOGICAL_8 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -120,7 +123,7 @@ count_8_l8 (gfc_array_i8 *retarray, gfc_array_l8 *array, index_type *pdim)
while (base)
{
GFC_LOGICAL_8 *src;
const GFC_LOGICAL_8 * restrict src;
GFC_INTEGER_8 result;
src = base;
{

View file

@ -37,8 +37,11 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16)
static void
cshift1 (gfc_array_char * ret, const gfc_array_char * array,
const gfc_array_i16 * h, const GFC_INTEGER_16 * pwhich, index_type size)
cshift1 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i16 * const restrict h,
const GFC_INTEGER_16 * const restrict pwhich,
index_type size)
{
/* r.* indicates the return array. */
index_type rstride[GFC_MAX_DIMENSIONS];
@ -194,30 +197,36 @@ cshift1 (gfc_array_char * ret, const gfc_array_char * array,
}
}
void cshift1_16 (gfc_array_char *, const gfc_array_char *,
const gfc_array_i16 *, const GFC_INTEGER_16 *);
void cshift1_16 (gfc_array_char * const restrict,
const gfc_array_char * const restrict,
const gfc_array_i16 * const restrict,
const GFC_INTEGER_16 * const restrict);
export_proto(cshift1_16);
void
cshift1_16 (gfc_array_char * ret,
const gfc_array_char * array,
const gfc_array_i16 * h, const GFC_INTEGER_16 * pwhich)
cshift1_16 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i16 * const restrict h,
const GFC_INTEGER_16 * const restrict pwhich)
{
cshift1 (ret, array, h, pwhich, GFC_DESCRIPTOR_SIZE (array));
}
void cshift1_16_char (gfc_array_char * ret, GFC_INTEGER_4,
const gfc_array_char * array,
const gfc_array_i16 * h, const GFC_INTEGER_16 * pwhich,
GFC_INTEGER_4);
void cshift1_16_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4,
const gfc_array_char * const restrict array,
const gfc_array_i16 * const restrict h,
const GFC_INTEGER_16 * const restrict pwhich,
GFC_INTEGER_4);
export_proto(cshift1_16_char);
void
cshift1_16_char (gfc_array_char * ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * array,
const gfc_array_i16 * h, const GFC_INTEGER_16 * pwhich,
GFC_INTEGER_4 array_length)
cshift1_16_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * const restrict array,
const gfc_array_i16 * const restrict h,
const GFC_INTEGER_16 * const restrict pwhich,
GFC_INTEGER_4 array_length)
{
cshift1 (ret, array, h, pwhich, array_length);
}

View file

@ -37,8 +37,11 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4)
static void
cshift1 (gfc_array_char * ret, const gfc_array_char * array,
const gfc_array_i4 * h, const GFC_INTEGER_4 * pwhich, index_type size)
cshift1 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i4 * const restrict h,
const GFC_INTEGER_4 * const restrict pwhich,
index_type size)
{
/* r.* indicates the return array. */
index_type rstride[GFC_MAX_DIMENSIONS];
@ -194,30 +197,36 @@ cshift1 (gfc_array_char * ret, const gfc_array_char * array,
}
}
void cshift1_4 (gfc_array_char *, const gfc_array_char *,
const gfc_array_i4 *, const GFC_INTEGER_4 *);
void cshift1_4 (gfc_array_char * const restrict,
const gfc_array_char * const restrict,
const gfc_array_i4 * const restrict,
const GFC_INTEGER_4 * const restrict);
export_proto(cshift1_4);
void
cshift1_4 (gfc_array_char * ret,
const gfc_array_char * array,
const gfc_array_i4 * h, const GFC_INTEGER_4 * pwhich)
cshift1_4 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i4 * const restrict h,
const GFC_INTEGER_4 * const restrict pwhich)
{
cshift1 (ret, array, h, pwhich, GFC_DESCRIPTOR_SIZE (array));
}
void cshift1_4_char (gfc_array_char * ret, GFC_INTEGER_4,
const gfc_array_char * array,
const gfc_array_i4 * h, const GFC_INTEGER_4 * pwhich,
GFC_INTEGER_4);
void cshift1_4_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4,
const gfc_array_char * const restrict array,
const gfc_array_i4 * const restrict h,
const GFC_INTEGER_4 * const restrict pwhich,
GFC_INTEGER_4);
export_proto(cshift1_4_char);
void
cshift1_4_char (gfc_array_char * ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * array,
const gfc_array_i4 * h, const GFC_INTEGER_4 * pwhich,
GFC_INTEGER_4 array_length)
cshift1_4_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * const restrict array,
const gfc_array_i4 * const restrict h,
const GFC_INTEGER_4 * const restrict pwhich,
GFC_INTEGER_4 array_length)
{
cshift1 (ret, array, h, pwhich, array_length);
}

View file

@ -37,8 +37,11 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8)
static void
cshift1 (gfc_array_char * ret, const gfc_array_char * array,
const gfc_array_i8 * h, const GFC_INTEGER_8 * pwhich, index_type size)
cshift1 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i8 * const restrict h,
const GFC_INTEGER_8 * const restrict pwhich,
index_type size)
{
/* r.* indicates the return array. */
index_type rstride[GFC_MAX_DIMENSIONS];
@ -194,30 +197,36 @@ cshift1 (gfc_array_char * ret, const gfc_array_char * array,
}
}
void cshift1_8 (gfc_array_char *, const gfc_array_char *,
const gfc_array_i8 *, const GFC_INTEGER_8 *);
void cshift1_8 (gfc_array_char * const restrict,
const gfc_array_char * const restrict,
const gfc_array_i8 * const restrict,
const GFC_INTEGER_8 * const restrict);
export_proto(cshift1_8);
void
cshift1_8 (gfc_array_char * ret,
const gfc_array_char * array,
const gfc_array_i8 * h, const GFC_INTEGER_8 * pwhich)
cshift1_8 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i8 * const restrict h,
const GFC_INTEGER_8 * const restrict pwhich)
{
cshift1 (ret, array, h, pwhich, GFC_DESCRIPTOR_SIZE (array));
}
void cshift1_8_char (gfc_array_char * ret, GFC_INTEGER_4,
const gfc_array_char * array,
const gfc_array_i8 * h, const GFC_INTEGER_8 * pwhich,
GFC_INTEGER_4);
void cshift1_8_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4,
const gfc_array_char * const restrict array,
const gfc_array_i8 * const restrict h,
const GFC_INTEGER_8 * const restrict pwhich,
GFC_INTEGER_4);
export_proto(cshift1_8_char);
void
cshift1_8_char (gfc_array_char * ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * array,
const gfc_array_i8 * h, const GFC_INTEGER_8 * pwhich,
GFC_INTEGER_4 array_length)
cshift1_8_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * const restrict array,
const gfc_array_i8 * const restrict h,
const GFC_INTEGER_8 * const restrict pwhich,
GFC_INTEGER_4 array_length)
{
cshift1 (ret, array, h, pwhich, array_length);
}

View file

@ -38,15 +38,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_COMPLEX_10 dot_product_c10 (gfc_array_c10 * a, gfc_array_c10 * b);
extern GFC_COMPLEX_10 dot_product_c10 (gfc_array_c10 * const restrict a,
gfc_array_c10 * const restrict b);
export_proto(dot_product_c10);
/* Both parameters will already have been converted to the result type. */
GFC_COMPLEX_10
dot_product_c10 (gfc_array_c10 * a, gfc_array_c10 * b)
dot_product_c10 (gfc_array_c10 * const restrict a, gfc_array_c10 * const restrict b)
{
GFC_COMPLEX_10 *pa;
GFC_COMPLEX_10 *pb;
const GFC_COMPLEX_10 * restrict pa;
const GFC_COMPLEX_10 * restrict pb;
GFC_COMPLEX_10 res;
GFC_COMPLEX_10 conjga;
index_type count;

View file

@ -38,15 +38,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_COMPLEX_16 dot_product_c16 (gfc_array_c16 * a, gfc_array_c16 * b);
extern GFC_COMPLEX_16 dot_product_c16 (gfc_array_c16 * const restrict a,
gfc_array_c16 * const restrict b);
export_proto(dot_product_c16);
/* Both parameters will already have been converted to the result type. */
GFC_COMPLEX_16
dot_product_c16 (gfc_array_c16 * a, gfc_array_c16 * b)
dot_product_c16 (gfc_array_c16 * const restrict a, gfc_array_c16 * const restrict b)
{
GFC_COMPLEX_16 *pa;
GFC_COMPLEX_16 *pb;
const GFC_COMPLEX_16 * restrict pa;
const GFC_COMPLEX_16 * restrict pb;
GFC_COMPLEX_16 res;
GFC_COMPLEX_16 conjga;
index_type count;

View file

@ -38,15 +38,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_COMPLEX_4 dot_product_c4 (gfc_array_c4 * a, gfc_array_c4 * b);
extern GFC_COMPLEX_4 dot_product_c4 (gfc_array_c4 * const restrict a,
gfc_array_c4 * const restrict b);
export_proto(dot_product_c4);
/* Both parameters will already have been converted to the result type. */
GFC_COMPLEX_4
dot_product_c4 (gfc_array_c4 * a, gfc_array_c4 * b)
dot_product_c4 (gfc_array_c4 * const restrict a, gfc_array_c4 * const restrict b)
{
GFC_COMPLEX_4 *pa;
GFC_COMPLEX_4 *pb;
const GFC_COMPLEX_4 * restrict pa;
const GFC_COMPLEX_4 * restrict pb;
GFC_COMPLEX_4 res;
GFC_COMPLEX_4 conjga;
index_type count;

View file

@ -38,15 +38,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_COMPLEX_8 dot_product_c8 (gfc_array_c8 * a, gfc_array_c8 * b);
extern GFC_COMPLEX_8 dot_product_c8 (gfc_array_c8 * const restrict a,
gfc_array_c8 * const restrict b);
export_proto(dot_product_c8);
/* Both parameters will already have been converted to the result type. */
GFC_COMPLEX_8
dot_product_c8 (gfc_array_c8 * a, gfc_array_c8 * b)
dot_product_c8 (gfc_array_c8 * const restrict a, gfc_array_c8 * const restrict b)
{
GFC_COMPLEX_8 *pa;
GFC_COMPLEX_8 *pb;
const GFC_COMPLEX_8 * restrict pa;
const GFC_COMPLEX_8 * restrict pb;
GFC_COMPLEX_8 res;
GFC_COMPLEX_8 conjga;
index_type count;

View file

@ -37,15 +37,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_INTEGER_16 dot_product_i16 (gfc_array_i16 * a, gfc_array_i16 * b);
extern GFC_INTEGER_16 dot_product_i16 (gfc_array_i16 * const restrict a,
gfc_array_i16 * const restrict b);
export_proto(dot_product_i16);
/* Both parameters will already have been converted to the result type. */
GFC_INTEGER_16
dot_product_i16 (gfc_array_i16 * a, gfc_array_i16 * b)
dot_product_i16 (gfc_array_i16 * const restrict a, gfc_array_i16 * const restrict b)
{
GFC_INTEGER_16 *pa;
GFC_INTEGER_16 *pb;
const GFC_INTEGER_16 * restrict pa;
const GFC_INTEGER_16 * restrict pb;
GFC_INTEGER_16 res;
index_type count;
index_type astride;

View file

@ -37,15 +37,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_INTEGER_4 dot_product_i4 (gfc_array_i4 * a, gfc_array_i4 * b);
extern GFC_INTEGER_4 dot_product_i4 (gfc_array_i4 * const restrict a,
gfc_array_i4 * const restrict b);
export_proto(dot_product_i4);
/* Both parameters will already have been converted to the result type. */
GFC_INTEGER_4
dot_product_i4 (gfc_array_i4 * a, gfc_array_i4 * b)
dot_product_i4 (gfc_array_i4 * const restrict a, gfc_array_i4 * const restrict b)
{
GFC_INTEGER_4 *pa;
GFC_INTEGER_4 *pb;
const GFC_INTEGER_4 * restrict pa;
const GFC_INTEGER_4 * restrict pb;
GFC_INTEGER_4 res;
index_type count;
index_type astride;

View file

@ -37,15 +37,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_INTEGER_8 dot_product_i8 (gfc_array_i8 * a, gfc_array_i8 * b);
extern GFC_INTEGER_8 dot_product_i8 (gfc_array_i8 * const restrict a,
gfc_array_i8 * const restrict b);
export_proto(dot_product_i8);
/* Both parameters will already have been converted to the result type. */
GFC_INTEGER_8
dot_product_i8 (gfc_array_i8 * a, gfc_array_i8 * b)
dot_product_i8 (gfc_array_i8 * const restrict a, gfc_array_i8 * const restrict b)
{
GFC_INTEGER_8 *pa;
GFC_INTEGER_8 *pb;
const GFC_INTEGER_8 * restrict pa;
const GFC_INTEGER_8 * restrict pb;
GFC_INTEGER_8 res;
index_type count;
index_type astride;

View file

@ -35,14 +35,16 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_16)
extern GFC_LOGICAL_16 dot_product_l16 (gfc_array_l4 *, gfc_array_l4 *);
extern GFC_LOGICAL_16 dot_product_l16 (gfc_array_l4 * const restrict,
gfc_array_l4 * const restrict);
export_proto(dot_product_l16);
GFC_LOGICAL_16
dot_product_l16 (gfc_array_l4 * a, gfc_array_l4 * b)
dot_product_l16 (gfc_array_l4 * const restrict a,
gfc_array_l4 * const restrict b)
{
GFC_LOGICAL_4 *pa;
GFC_LOGICAL_4 *pb;
const GFC_LOGICAL_4 * restrict pa;
const GFC_LOGICAL_4 * restrict pb;
index_type count;
index_type astride;
index_type bstride;

View file

@ -35,14 +35,16 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_4)
extern GFC_LOGICAL_4 dot_product_l4 (gfc_array_l4 *, gfc_array_l4 *);
extern GFC_LOGICAL_4 dot_product_l4 (gfc_array_l4 * const restrict,
gfc_array_l4 * const restrict);
export_proto(dot_product_l4);
GFC_LOGICAL_4
dot_product_l4 (gfc_array_l4 * a, gfc_array_l4 * b)
dot_product_l4 (gfc_array_l4 * const restrict a,
gfc_array_l4 * const restrict b)
{
GFC_LOGICAL_4 *pa;
GFC_LOGICAL_4 *pb;
const GFC_LOGICAL_4 * restrict pa;
const GFC_LOGICAL_4 * restrict pb;
index_type count;
index_type astride;
index_type bstride;

View file

@ -35,14 +35,16 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_LOGICAL_8)
extern GFC_LOGICAL_8 dot_product_l8 (gfc_array_l4 *, gfc_array_l4 *);
extern GFC_LOGICAL_8 dot_product_l8 (gfc_array_l4 * const restrict,
gfc_array_l4 * const restrict);
export_proto(dot_product_l8);
GFC_LOGICAL_8
dot_product_l8 (gfc_array_l4 * a, gfc_array_l4 * b)
dot_product_l8 (gfc_array_l4 * const restrict a,
gfc_array_l4 * const restrict b)
{
GFC_LOGICAL_4 *pa;
GFC_LOGICAL_4 *pb;
const GFC_LOGICAL_4 * restrict pa;
const GFC_LOGICAL_4 * restrict pb;
index_type count;
index_type astride;
index_type bstride;

View file

@ -37,15 +37,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_REAL_10 dot_product_r10 (gfc_array_r10 * a, gfc_array_r10 * b);
extern GFC_REAL_10 dot_product_r10 (gfc_array_r10 * const restrict a,
gfc_array_r10 * const restrict b);
export_proto(dot_product_r10);
/* Both parameters will already have been converted to the result type. */
GFC_REAL_10
dot_product_r10 (gfc_array_r10 * a, gfc_array_r10 * b)
dot_product_r10 (gfc_array_r10 * const restrict a, gfc_array_r10 * const restrict b)
{
GFC_REAL_10 *pa;
GFC_REAL_10 *pb;
const GFC_REAL_10 * restrict pa;
const GFC_REAL_10 * restrict pb;
GFC_REAL_10 res;
index_type count;
index_type astride;

View file

@ -37,15 +37,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_REAL_16 dot_product_r16 (gfc_array_r16 * a, gfc_array_r16 * b);
extern GFC_REAL_16 dot_product_r16 (gfc_array_r16 * const restrict a,
gfc_array_r16 * const restrict b);
export_proto(dot_product_r16);
/* Both parameters will already have been converted to the result type. */
GFC_REAL_16
dot_product_r16 (gfc_array_r16 * a, gfc_array_r16 * b)
dot_product_r16 (gfc_array_r16 * const restrict a, gfc_array_r16 * const restrict b)
{
GFC_REAL_16 *pa;
GFC_REAL_16 *pb;
const GFC_REAL_16 * restrict pa;
const GFC_REAL_16 * restrict pb;
GFC_REAL_16 res;
index_type count;
index_type astride;

View file

@ -37,15 +37,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_REAL_4 dot_product_r4 (gfc_array_r4 * a, gfc_array_r4 * b);
extern GFC_REAL_4 dot_product_r4 (gfc_array_r4 * const restrict a,
gfc_array_r4 * const restrict b);
export_proto(dot_product_r4);
/* Both parameters will already have been converted to the result type. */
GFC_REAL_4
dot_product_r4 (gfc_array_r4 * a, gfc_array_r4 * b)
dot_product_r4 (gfc_array_r4 * const restrict a, gfc_array_r4 * const restrict b)
{
GFC_REAL_4 *pa;
GFC_REAL_4 *pb;
const GFC_REAL_4 * restrict pa;
const GFC_REAL_4 * restrict pb;
GFC_REAL_4 res;
index_type count;
index_type astride;

View file

@ -37,15 +37,16 @@ Boston, MA 02110-1301, USA. */
typedef GFC_ARRAY_DESCRIPTOR(GFC_MAX_DIMENSIONS, char) char_array;
extern GFC_REAL_8 dot_product_r8 (gfc_array_r8 * a, gfc_array_r8 * b);
extern GFC_REAL_8 dot_product_r8 (gfc_array_r8 * const restrict a,
gfc_array_r8 * const restrict b);
export_proto(dot_product_r8);
/* Both parameters will already have been converted to the result type. */
GFC_REAL_8
dot_product_r8 (gfc_array_r8 * a, gfc_array_r8 * b)
dot_product_r8 (gfc_array_r8 * const restrict a, gfc_array_r8 * const restrict b)
{
GFC_REAL_8 *pa;
GFC_REAL_8 *pb;
const GFC_REAL_8 * restrict pa;
const GFC_REAL_8 * restrict pb;
GFC_REAL_8 res;
index_type count;
index_type astride;

View file

@ -37,9 +37,12 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16)
static void
eoshift1 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i16 *h,
const char *pbound, const GFC_INTEGER_16 *pwhich, index_type size,
char filler)
eoshift1 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i16 * const restrict h,
const char * const restrict pbound,
const GFC_INTEGER_16 * const restrict pwhich,
index_type size, char filler)
{
/* r.* indicates the return array. */
index_type rstride[GFC_MAX_DIMENSIONS];
@ -218,32 +221,40 @@ eoshift1 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i16
}
}
void eoshift1_16 (gfc_array_char *, const gfc_array_char *,
const gfc_array_i16 *, const char *, const GFC_INTEGER_16 *);
void eoshift1_16 (gfc_array_char * const restrict,
const gfc_array_char * const restrict,
const gfc_array_i16 * const restrict, const char * const restrict,
const GFC_INTEGER_16 * const restrict);
export_proto(eoshift1_16);
void
eoshift1_16 (gfc_array_char *ret, const gfc_array_char *array,
const gfc_array_i16 *h, const char *pbound,
const GFC_INTEGER_16 *pwhich)
eoshift1_16 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i16 * const restrict h,
const char * const restrict pbound,
const GFC_INTEGER_16 * const restrict pwhich)
{
eoshift1 (ret, array, h, pbound, pwhich, GFC_DESCRIPTOR_SIZE (array), 0);
}
void eoshift1_16_char (gfc_array_char *, GFC_INTEGER_4,
const gfc_array_char *, const gfc_array_i16 *,
const char *, const GFC_INTEGER_16 *,
GFC_INTEGER_4, GFC_INTEGER_4);
void eoshift1_16_char (gfc_array_char * const restrict,
GFC_INTEGER_4,
const gfc_array_char * const restrict,
const gfc_array_i16 * const restrict,
const char * const restrict,
const GFC_INTEGER_16 * const restrict,
GFC_INTEGER_4, GFC_INTEGER_4);
export_proto(eoshift1_16_char);
void
eoshift1_16_char (gfc_array_char *ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char *array, const gfc_array_i16 *h,
const char *pbound, const GFC_INTEGER_16 *pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length
__attribute__((unused)))
eoshift1_16_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * const restrict array,
const gfc_array_i16 * const restrict h,
const char * const restrict pbound,
const GFC_INTEGER_16 * const restrict pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length __attribute__((unused)))
{
eoshift1 (ret, array, h, pbound, pwhich, array_length, ' ');
}

View file

@ -37,9 +37,12 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4)
static void
eoshift1 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i4 *h,
const char *pbound, const GFC_INTEGER_4 *pwhich, index_type size,
char filler)
eoshift1 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i4 * const restrict h,
const char * const restrict pbound,
const GFC_INTEGER_4 * const restrict pwhich,
index_type size, char filler)
{
/* r.* indicates the return array. */
index_type rstride[GFC_MAX_DIMENSIONS];
@ -218,32 +221,40 @@ eoshift1 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i4 *
}
}
void eoshift1_4 (gfc_array_char *, const gfc_array_char *,
const gfc_array_i4 *, const char *, const GFC_INTEGER_4 *);
void eoshift1_4 (gfc_array_char * const restrict,
const gfc_array_char * const restrict,
const gfc_array_i4 * const restrict, const char * const restrict,
const GFC_INTEGER_4 * const restrict);
export_proto(eoshift1_4);
void
eoshift1_4 (gfc_array_char *ret, const gfc_array_char *array,
const gfc_array_i4 *h, const char *pbound,
const GFC_INTEGER_4 *pwhich)
eoshift1_4 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i4 * const restrict h,
const char * const restrict pbound,
const GFC_INTEGER_4 * const restrict pwhich)
{
eoshift1 (ret, array, h, pbound, pwhich, GFC_DESCRIPTOR_SIZE (array), 0);
}
void eoshift1_4_char (gfc_array_char *, GFC_INTEGER_4,
const gfc_array_char *, const gfc_array_i4 *,
const char *, const GFC_INTEGER_4 *,
GFC_INTEGER_4, GFC_INTEGER_4);
void eoshift1_4_char (gfc_array_char * const restrict,
GFC_INTEGER_4,
const gfc_array_char * const restrict,
const gfc_array_i4 * const restrict,
const char * const restrict,
const GFC_INTEGER_4 * const restrict,
GFC_INTEGER_4, GFC_INTEGER_4);
export_proto(eoshift1_4_char);
void
eoshift1_4_char (gfc_array_char *ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char *array, const gfc_array_i4 *h,
const char *pbound, const GFC_INTEGER_4 *pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length
__attribute__((unused)))
eoshift1_4_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * const restrict array,
const gfc_array_i4 * const restrict h,
const char * const restrict pbound,
const GFC_INTEGER_4 * const restrict pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length __attribute__((unused)))
{
eoshift1 (ret, array, h, pbound, pwhich, array_length, ' ');
}

View file

@ -37,9 +37,12 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8)
static void
eoshift1 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i8 *h,
const char *pbound, const GFC_INTEGER_8 *pwhich, index_type size,
char filler)
eoshift1 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i8 * const restrict h,
const char * const restrict pbound,
const GFC_INTEGER_8 * const restrict pwhich,
index_type size, char filler)
{
/* r.* indicates the return array. */
index_type rstride[GFC_MAX_DIMENSIONS];
@ -218,32 +221,40 @@ eoshift1 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i8 *
}
}
void eoshift1_8 (gfc_array_char *, const gfc_array_char *,
const gfc_array_i8 *, const char *, const GFC_INTEGER_8 *);
void eoshift1_8 (gfc_array_char * const restrict,
const gfc_array_char * const restrict,
const gfc_array_i8 * const restrict, const char * const restrict,
const GFC_INTEGER_8 * const restrict);
export_proto(eoshift1_8);
void
eoshift1_8 (gfc_array_char *ret, const gfc_array_char *array,
const gfc_array_i8 *h, const char *pbound,
const GFC_INTEGER_8 *pwhich)
eoshift1_8 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i8 * const restrict h,
const char * const restrict pbound,
const GFC_INTEGER_8 * const restrict pwhich)
{
eoshift1 (ret, array, h, pbound, pwhich, GFC_DESCRIPTOR_SIZE (array), 0);
}
void eoshift1_8_char (gfc_array_char *, GFC_INTEGER_4,
const gfc_array_char *, const gfc_array_i8 *,
const char *, const GFC_INTEGER_8 *,
GFC_INTEGER_4, GFC_INTEGER_4);
void eoshift1_8_char (gfc_array_char * const restrict,
GFC_INTEGER_4,
const gfc_array_char * const restrict,
const gfc_array_i8 * const restrict,
const char * const restrict,
const GFC_INTEGER_8 * const restrict,
GFC_INTEGER_4, GFC_INTEGER_4);
export_proto(eoshift1_8_char);
void
eoshift1_8_char (gfc_array_char *ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char *array, const gfc_array_i8 *h,
const char *pbound, const GFC_INTEGER_8 *pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length
__attribute__((unused)))
eoshift1_8_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * const restrict array,
const gfc_array_i8 * const restrict h,
const char * const restrict pbound,
const GFC_INTEGER_8 * const restrict pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length __attribute__((unused)))
{
eoshift1 (ret, array, h, pbound, pwhich, array_length, ' ');
}

View file

@ -37,9 +37,12 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16)
static void
eoshift3 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i16 *h,
const gfc_array_char *bound, const GFC_INTEGER_16 *pwhich,
index_type size, char filler)
eoshift3 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i16 * const restrict h,
const gfc_array_char * const restrict bound,
const GFC_INTEGER_16 * const restrict pwhich,
index_type size, char filler)
{
/* r.* indicates the return array. */
index_type rstride[GFC_MAX_DIMENSIONS];
@ -236,36 +239,41 @@ eoshift3 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i16
}
}
extern void eoshift3_16 (gfc_array_char *, const gfc_array_char *,
const gfc_array_i16 *, const gfc_array_char *,
const GFC_INTEGER_16 *);
extern void eoshift3_16 (gfc_array_char * const restrict,
const gfc_array_char * const restrict,
const gfc_array_i16 * const restrict,
const gfc_array_char * const restrict,
const GFC_INTEGER_16 *);
export_proto(eoshift3_16);
void
eoshift3_16 (gfc_array_char *ret, const gfc_array_char *array,
const gfc_array_i16 *h, const gfc_array_char *bound,
const GFC_INTEGER_16 *pwhich)
eoshift3_16 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i16 * const restrict h,
const gfc_array_char * const restrict bound,
const GFC_INTEGER_16 * const restrict pwhich)
{
eoshift3 (ret, array, h, bound, pwhich, GFC_DESCRIPTOR_SIZE (array), 0);
}
extern void eoshift3_16_char (gfc_array_char *, GFC_INTEGER_4,
const gfc_array_char *,
const gfc_array_i16 *,
const gfc_array_char *,
const GFC_INTEGER_16 *, GFC_INTEGER_4,
GFC_INTEGER_4);
extern void eoshift3_16_char (gfc_array_char * const restrict,
GFC_INTEGER_4,
const gfc_array_char * const restrict,
const gfc_array_i16 * const restrict,
const gfc_array_char * const restrict,
const GFC_INTEGER_16 * const restrict,
GFC_INTEGER_4, GFC_INTEGER_4);
export_proto(eoshift3_16_char);
void
eoshift3_16_char (gfc_array_char *ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char *array, const gfc_array_i16 *h,
const gfc_array_char *bound,
const GFC_INTEGER_16 *pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length
__attribute__((unused)))
eoshift3_16_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * const restrict array,
const gfc_array_i16 * const restrict h,
const gfc_array_char * const restrict bound,
const GFC_INTEGER_16 * const restrict pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length __attribute__((unused)))
{
eoshift3 (ret, array, h, bound, pwhich, array_length, ' ');
}

View file

@ -37,9 +37,12 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4)
static void
eoshift3 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i4 *h,
const gfc_array_char *bound, const GFC_INTEGER_4 *pwhich,
index_type size, char filler)
eoshift3 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i4 * const restrict h,
const gfc_array_char * const restrict bound,
const GFC_INTEGER_4 * const restrict pwhich,
index_type size, char filler)
{
/* r.* indicates the return array. */
index_type rstride[GFC_MAX_DIMENSIONS];
@ -236,36 +239,41 @@ eoshift3 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i4 *
}
}
extern void eoshift3_4 (gfc_array_char *, const gfc_array_char *,
const gfc_array_i4 *, const gfc_array_char *,
const GFC_INTEGER_4 *);
extern void eoshift3_4 (gfc_array_char * const restrict,
const gfc_array_char * const restrict,
const gfc_array_i4 * const restrict,
const gfc_array_char * const restrict,
const GFC_INTEGER_4 *);
export_proto(eoshift3_4);
void
eoshift3_4 (gfc_array_char *ret, const gfc_array_char *array,
const gfc_array_i4 *h, const gfc_array_char *bound,
const GFC_INTEGER_4 *pwhich)
eoshift3_4 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i4 * const restrict h,
const gfc_array_char * const restrict bound,
const GFC_INTEGER_4 * const restrict pwhich)
{
eoshift3 (ret, array, h, bound, pwhich, GFC_DESCRIPTOR_SIZE (array), 0);
}
extern void eoshift3_4_char (gfc_array_char *, GFC_INTEGER_4,
const gfc_array_char *,
const gfc_array_i4 *,
const gfc_array_char *,
const GFC_INTEGER_4 *, GFC_INTEGER_4,
GFC_INTEGER_4);
extern void eoshift3_4_char (gfc_array_char * const restrict,
GFC_INTEGER_4,
const gfc_array_char * const restrict,
const gfc_array_i4 * const restrict,
const gfc_array_char * const restrict,
const GFC_INTEGER_4 * const restrict,
GFC_INTEGER_4, GFC_INTEGER_4);
export_proto(eoshift3_4_char);
void
eoshift3_4_char (gfc_array_char *ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char *array, const gfc_array_i4 *h,
const gfc_array_char *bound,
const GFC_INTEGER_4 *pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length
__attribute__((unused)))
eoshift3_4_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * const restrict array,
const gfc_array_i4 * const restrict h,
const gfc_array_char * const restrict bound,
const GFC_INTEGER_4 * const restrict pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length __attribute__((unused)))
{
eoshift3 (ret, array, h, bound, pwhich, array_length, ' ');
}

View file

@ -37,9 +37,12 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8)
static void
eoshift3 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i8 *h,
const gfc_array_char *bound, const GFC_INTEGER_8 *pwhich,
index_type size, char filler)
eoshift3 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i8 * const restrict h,
const gfc_array_char * const restrict bound,
const GFC_INTEGER_8 * const restrict pwhich,
index_type size, char filler)
{
/* r.* indicates the return array. */
index_type rstride[GFC_MAX_DIMENSIONS];
@ -236,36 +239,41 @@ eoshift3 (gfc_array_char *ret, const gfc_array_char *array, const gfc_array_i8 *
}
}
extern void eoshift3_8 (gfc_array_char *, const gfc_array_char *,
const gfc_array_i8 *, const gfc_array_char *,
const GFC_INTEGER_8 *);
extern void eoshift3_8 (gfc_array_char * const restrict,
const gfc_array_char * const restrict,
const gfc_array_i8 * const restrict,
const gfc_array_char * const restrict,
const GFC_INTEGER_8 *);
export_proto(eoshift3_8);
void
eoshift3_8 (gfc_array_char *ret, const gfc_array_char *array,
const gfc_array_i8 *h, const gfc_array_char *bound,
const GFC_INTEGER_8 *pwhich)
eoshift3_8 (gfc_array_char * const restrict ret,
const gfc_array_char * const restrict array,
const gfc_array_i8 * const restrict h,
const gfc_array_char * const restrict bound,
const GFC_INTEGER_8 * const restrict pwhich)
{
eoshift3 (ret, array, h, bound, pwhich, GFC_DESCRIPTOR_SIZE (array), 0);
}
extern void eoshift3_8_char (gfc_array_char *, GFC_INTEGER_4,
const gfc_array_char *,
const gfc_array_i8 *,
const gfc_array_char *,
const GFC_INTEGER_8 *, GFC_INTEGER_4,
GFC_INTEGER_4);
extern void eoshift3_8_char (gfc_array_char * const restrict,
GFC_INTEGER_4,
const gfc_array_char * const restrict,
const gfc_array_i8 * const restrict,
const gfc_array_char * const restrict,
const GFC_INTEGER_8 * const restrict,
GFC_INTEGER_4, GFC_INTEGER_4);
export_proto(eoshift3_8_char);
void
eoshift3_8_char (gfc_array_char *ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char *array, const gfc_array_i8 *h,
const gfc_array_char *bound,
const GFC_INTEGER_8 *pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length
__attribute__((unused)))
eoshift3_8_char (gfc_array_char * const restrict ret,
GFC_INTEGER_4 ret_length __attribute__((unused)),
const gfc_array_char * const restrict array,
const gfc_array_i8 * const restrict h,
const gfc_array_char * const restrict bound,
const GFC_INTEGER_8 * const restrict pwhich,
GFC_INTEGER_4 array_length,
GFC_INTEGER_4 bound_length __attribute__((unused)))
{
eoshift3 (ret, array, h, bound, pwhich, array_length, ' ');
}

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc0_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 *array);
extern void maxloc0_16_i16 (gfc_array_i16 * const restrict retarray,
gfc_array_i16 * const restrict array);
export_proto(maxloc0_16_i16);
void
maxloc0_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 *array)
maxloc0_16_i16 (gfc_array_i16 * const restrict retarray,
gfc_array_i16 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *base;
const GFC_INTEGER_16 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 *array)
}
extern void mmaxloc0_16_i16 (gfc_array_i16 *, gfc_array_i16 *, gfc_array_l4 *);
extern void mmaxloc0_16_i16 (gfc_array_i16 * const restrict,
gfc_array_i16 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_16_i16);
void
mmaxloc0_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 *array,
gfc_array_l4 * mask)
mmaxloc0_16_i16 (gfc_array_i16 * const restrict retarray,
gfc_array_i16 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_INTEGER_16 *base;
const GFC_INTEGER_16 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc0_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 *array);
extern void maxloc0_16_i4 (gfc_array_i16 * const restrict retarray,
gfc_array_i4 * const restrict array);
export_proto(maxloc0_16_i4);
void
maxloc0_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 *array)
maxloc0_16_i4 (gfc_array_i16 * const restrict retarray,
gfc_array_i4 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *base;
const GFC_INTEGER_4 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 *array)
}
extern void mmaxloc0_16_i4 (gfc_array_i16 *, gfc_array_i4 *, gfc_array_l4 *);
extern void mmaxloc0_16_i4 (gfc_array_i16 * const restrict,
gfc_array_i4 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_16_i4);
void
mmaxloc0_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 *array,
gfc_array_l4 * mask)
mmaxloc0_16_i4 (gfc_array_i16 * const restrict retarray,
gfc_array_i4 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_INTEGER_4 *base;
const GFC_INTEGER_4 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc0_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 *array);
extern void maxloc0_16_i8 (gfc_array_i16 * const restrict retarray,
gfc_array_i8 * const restrict array);
export_proto(maxloc0_16_i8);
void
maxloc0_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 *array)
maxloc0_16_i8 (gfc_array_i16 * const restrict retarray,
gfc_array_i8 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *base;
const GFC_INTEGER_8 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 *array)
}
extern void mmaxloc0_16_i8 (gfc_array_i16 *, gfc_array_i8 *, gfc_array_l4 *);
extern void mmaxloc0_16_i8 (gfc_array_i16 * const restrict,
gfc_array_i8 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_16_i8);
void
mmaxloc0_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 *array,
gfc_array_l4 * mask)
mmaxloc0_16_i8 (gfc_array_i16 * const restrict retarray,
gfc_array_i8 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_INTEGER_8 *base;
const GFC_INTEGER_8 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_10) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc0_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 *array);
extern void maxloc0_16_r10 (gfc_array_i16 * const restrict retarray,
gfc_array_r10 * const restrict array);
export_proto(maxloc0_16_r10);
void
maxloc0_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 *array)
maxloc0_16_r10 (gfc_array_i16 * const restrict retarray,
gfc_array_r10 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_10 *base;
const GFC_REAL_10 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 *array)
}
extern void mmaxloc0_16_r10 (gfc_array_i16 *, gfc_array_r10 *, gfc_array_l4 *);
extern void mmaxloc0_16_r10 (gfc_array_i16 * const restrict,
gfc_array_r10 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_16_r10);
void
mmaxloc0_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 *array,
gfc_array_l4 * mask)
mmaxloc0_16_r10 (gfc_array_i16 * const restrict retarray,
gfc_array_r10 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_REAL_10 *base;
const GFC_REAL_10 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_16) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc0_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 *array);
extern void maxloc0_16_r16 (gfc_array_i16 * const restrict retarray,
gfc_array_r16 * const restrict array);
export_proto(maxloc0_16_r16);
void
maxloc0_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 *array)
maxloc0_16_r16 (gfc_array_i16 * const restrict retarray,
gfc_array_r16 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_16 *base;
const GFC_REAL_16 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 *array)
}
extern void mmaxloc0_16_r16 (gfc_array_i16 *, gfc_array_r16 *, gfc_array_l4 *);
extern void mmaxloc0_16_r16 (gfc_array_i16 * const restrict,
gfc_array_r16 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_16_r16);
void
mmaxloc0_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 *array,
gfc_array_l4 * mask)
mmaxloc0_16_r16 (gfc_array_i16 * const restrict retarray,
gfc_array_r16 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_REAL_16 *base;
const GFC_REAL_16 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_4) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc0_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 *array);
extern void maxloc0_16_r4 (gfc_array_i16 * const restrict retarray,
gfc_array_r4 * const restrict array);
export_proto(maxloc0_16_r4);
void
maxloc0_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 *array)
maxloc0_16_r4 (gfc_array_i16 * const restrict retarray,
gfc_array_r4 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_4 *base;
const GFC_REAL_4 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 *array)
}
extern void mmaxloc0_16_r4 (gfc_array_i16 *, gfc_array_r4 *, gfc_array_l4 *);
extern void mmaxloc0_16_r4 (gfc_array_i16 * const restrict,
gfc_array_r4 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_16_r4);
void
mmaxloc0_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 *array,
gfc_array_l4 * mask)
mmaxloc0_16_r4 (gfc_array_i16 * const restrict retarray,
gfc_array_r4 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_REAL_4 *base;
const GFC_REAL_4 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_8) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc0_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 *array);
extern void maxloc0_16_r8 (gfc_array_i16 * const restrict retarray,
gfc_array_r8 * const restrict array);
export_proto(maxloc0_16_r8);
void
maxloc0_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 *array)
maxloc0_16_r8 (gfc_array_i16 * const restrict retarray,
gfc_array_r8 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_8 *base;
const GFC_REAL_8 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 *array)
}
extern void mmaxloc0_16_r8 (gfc_array_i16 *, gfc_array_r8 *, gfc_array_l4 *);
extern void mmaxloc0_16_r8 (gfc_array_i16 * const restrict,
gfc_array_r8 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_16_r8);
void
mmaxloc0_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 *array,
gfc_array_l4 * mask)
mmaxloc0_16_r8 (gfc_array_i16 * const restrict retarray,
gfc_array_r8 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_REAL_8 *base;
const GFC_REAL_8 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc0_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 *array);
extern void maxloc0_4_i16 (gfc_array_i4 * const restrict retarray,
gfc_array_i16 * const restrict array);
export_proto(maxloc0_4_i16);
void
maxloc0_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 *array)
maxloc0_4_i16 (gfc_array_i4 * const restrict retarray,
gfc_array_i16 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *base;
const GFC_INTEGER_16 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 *array)
}
extern void mmaxloc0_4_i16 (gfc_array_i4 *, gfc_array_i16 *, gfc_array_l4 *);
extern void mmaxloc0_4_i16 (gfc_array_i4 * const restrict,
gfc_array_i16 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_4_i16);
void
mmaxloc0_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 *array,
gfc_array_l4 * mask)
mmaxloc0_4_i16 (gfc_array_i4 * const restrict retarray,
gfc_array_i16 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_INTEGER_16 *base;
const GFC_INTEGER_16 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc0_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 *array);
extern void maxloc0_4_i4 (gfc_array_i4 * const restrict retarray,
gfc_array_i4 * const restrict array);
export_proto(maxloc0_4_i4);
void
maxloc0_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 *array)
maxloc0_4_i4 (gfc_array_i4 * const restrict retarray,
gfc_array_i4 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *base;
const GFC_INTEGER_4 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 *array)
}
extern void mmaxloc0_4_i4 (gfc_array_i4 *, gfc_array_i4 *, gfc_array_l4 *);
extern void mmaxloc0_4_i4 (gfc_array_i4 * const restrict,
gfc_array_i4 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_4_i4);
void
mmaxloc0_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 *array,
gfc_array_l4 * mask)
mmaxloc0_4_i4 (gfc_array_i4 * const restrict retarray,
gfc_array_i4 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_INTEGER_4 *base;
const GFC_INTEGER_4 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc0_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 *array);
extern void maxloc0_4_i8 (gfc_array_i4 * const restrict retarray,
gfc_array_i8 * const restrict array);
export_proto(maxloc0_4_i8);
void
maxloc0_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 *array)
maxloc0_4_i8 (gfc_array_i4 * const restrict retarray,
gfc_array_i8 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *base;
const GFC_INTEGER_8 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 *array)
}
extern void mmaxloc0_4_i8 (gfc_array_i4 *, gfc_array_i8 *, gfc_array_l4 *);
extern void mmaxloc0_4_i8 (gfc_array_i4 * const restrict,
gfc_array_i8 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_4_i8);
void
mmaxloc0_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 *array,
gfc_array_l4 * mask)
mmaxloc0_4_i8 (gfc_array_i4 * const restrict retarray,
gfc_array_i8 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_INTEGER_8 *base;
const GFC_INTEGER_8 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_10) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc0_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 *array);
extern void maxloc0_4_r10 (gfc_array_i4 * const restrict retarray,
gfc_array_r10 * const restrict array);
export_proto(maxloc0_4_r10);
void
maxloc0_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 *array)
maxloc0_4_r10 (gfc_array_i4 * const restrict retarray,
gfc_array_r10 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_10 *base;
const GFC_REAL_10 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 *array)
}
extern void mmaxloc0_4_r10 (gfc_array_i4 *, gfc_array_r10 *, gfc_array_l4 *);
extern void mmaxloc0_4_r10 (gfc_array_i4 * const restrict,
gfc_array_r10 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_4_r10);
void
mmaxloc0_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 *array,
gfc_array_l4 * mask)
mmaxloc0_4_r10 (gfc_array_i4 * const restrict retarray,
gfc_array_r10 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_REAL_10 *base;
const GFC_REAL_10 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_16) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc0_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 *array);
extern void maxloc0_4_r16 (gfc_array_i4 * const restrict retarray,
gfc_array_r16 * const restrict array);
export_proto(maxloc0_4_r16);
void
maxloc0_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 *array)
maxloc0_4_r16 (gfc_array_i4 * const restrict retarray,
gfc_array_r16 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_16 *base;
const GFC_REAL_16 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 *array)
}
extern void mmaxloc0_4_r16 (gfc_array_i4 *, gfc_array_r16 *, gfc_array_l4 *);
extern void mmaxloc0_4_r16 (gfc_array_i4 * const restrict,
gfc_array_r16 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_4_r16);
void
mmaxloc0_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 *array,
gfc_array_l4 * mask)
mmaxloc0_4_r16 (gfc_array_i4 * const restrict retarray,
gfc_array_r16 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_REAL_16 *base;
const GFC_REAL_16 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_4) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc0_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 *array);
extern void maxloc0_4_r4 (gfc_array_i4 * const restrict retarray,
gfc_array_r4 * const restrict array);
export_proto(maxloc0_4_r4);
void
maxloc0_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 *array)
maxloc0_4_r4 (gfc_array_i4 * const restrict retarray,
gfc_array_r4 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_4 *base;
const GFC_REAL_4 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 *array)
}
extern void mmaxloc0_4_r4 (gfc_array_i4 *, gfc_array_r4 *, gfc_array_l4 *);
extern void mmaxloc0_4_r4 (gfc_array_i4 * const restrict,
gfc_array_r4 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_4_r4);
void
mmaxloc0_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 *array,
gfc_array_l4 * mask)
mmaxloc0_4_r4 (gfc_array_i4 * const restrict retarray,
gfc_array_r4 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_REAL_4 *base;
const GFC_REAL_4 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_8) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc0_4_r8 (gfc_array_i4 * retarray, gfc_array_r8 *array);
extern void maxloc0_4_r8 (gfc_array_i4 * const restrict retarray,
gfc_array_r8 * const restrict array);
export_proto(maxloc0_4_r8);
void
maxloc0_4_r8 (gfc_array_i4 * retarray, gfc_array_r8 *array)
maxloc0_4_r8 (gfc_array_i4 * const restrict retarray,
gfc_array_r8 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_8 *base;
const GFC_REAL_8 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_4_r8 (gfc_array_i4 * retarray, gfc_array_r8 *array)
}
extern void mmaxloc0_4_r8 (gfc_array_i4 *, gfc_array_r8 *, gfc_array_l4 *);
extern void mmaxloc0_4_r8 (gfc_array_i4 * const restrict,
gfc_array_r8 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_4_r8);
void
mmaxloc0_4_r8 (gfc_array_i4 * retarray, gfc_array_r8 *array,
gfc_array_l4 * mask)
mmaxloc0_4_r8 (gfc_array_i4 * const restrict retarray,
gfc_array_r8 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_4_r8 (gfc_array_i4 * retarray, gfc_array_r8 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_REAL_8 *base;
const GFC_REAL_8 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc0_8_i16 (gfc_array_i8 * retarray, gfc_array_i16 *array);
extern void maxloc0_8_i16 (gfc_array_i8 * const restrict retarray,
gfc_array_i16 * const restrict array);
export_proto(maxloc0_8_i16);
void
maxloc0_8_i16 (gfc_array_i8 * retarray, gfc_array_i16 *array)
maxloc0_8_i16 (gfc_array_i8 * const restrict retarray,
gfc_array_i16 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *base;
const GFC_INTEGER_16 *base;
GFC_INTEGER_8 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_8_i16 (gfc_array_i8 * retarray, gfc_array_i16 *array)
}
extern void mmaxloc0_8_i16 (gfc_array_i8 *, gfc_array_i16 *, gfc_array_l4 *);
extern void mmaxloc0_8_i16 (gfc_array_i8 * const restrict,
gfc_array_i16 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_8_i16);
void
mmaxloc0_8_i16 (gfc_array_i8 * retarray, gfc_array_i16 *array,
gfc_array_l4 * mask)
mmaxloc0_8_i16 (gfc_array_i8 * const restrict retarray,
gfc_array_i16 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_8_i16 (gfc_array_i8 * retarray, gfc_array_i16 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *dest;
GFC_INTEGER_16 *base;
const GFC_INTEGER_16 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc0_8_i4 (gfc_array_i8 * retarray, gfc_array_i4 *array);
extern void maxloc0_8_i4 (gfc_array_i8 * const restrict retarray,
gfc_array_i4 * const restrict array);
export_proto(maxloc0_8_i4);
void
maxloc0_8_i4 (gfc_array_i8 * retarray, gfc_array_i4 *array)
maxloc0_8_i4 (gfc_array_i8 * const restrict retarray,
gfc_array_i4 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *base;
const GFC_INTEGER_4 *base;
GFC_INTEGER_8 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_8_i4 (gfc_array_i8 * retarray, gfc_array_i4 *array)
}
extern void mmaxloc0_8_i4 (gfc_array_i8 *, gfc_array_i4 *, gfc_array_l4 *);
extern void mmaxloc0_8_i4 (gfc_array_i8 * const restrict,
gfc_array_i4 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_8_i4);
void
mmaxloc0_8_i4 (gfc_array_i8 * retarray, gfc_array_i4 *array,
gfc_array_l4 * mask)
mmaxloc0_8_i4 (gfc_array_i8 * const restrict retarray,
gfc_array_i4 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_8_i4 (gfc_array_i8 * retarray, gfc_array_i4 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *dest;
GFC_INTEGER_4 *base;
const GFC_INTEGER_4 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc0_8_i8 (gfc_array_i8 * retarray, gfc_array_i8 *array);
extern void maxloc0_8_i8 (gfc_array_i8 * const restrict retarray,
gfc_array_i8 * const restrict array);
export_proto(maxloc0_8_i8);
void
maxloc0_8_i8 (gfc_array_i8 * retarray, gfc_array_i8 *array)
maxloc0_8_i8 (gfc_array_i8 * const restrict retarray,
gfc_array_i8 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *base;
const GFC_INTEGER_8 *base;
GFC_INTEGER_8 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_8_i8 (gfc_array_i8 * retarray, gfc_array_i8 *array)
}
extern void mmaxloc0_8_i8 (gfc_array_i8 *, gfc_array_i8 *, gfc_array_l4 *);
extern void mmaxloc0_8_i8 (gfc_array_i8 * const restrict,
gfc_array_i8 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_8_i8);
void
mmaxloc0_8_i8 (gfc_array_i8 * retarray, gfc_array_i8 *array,
gfc_array_l4 * mask)
mmaxloc0_8_i8 (gfc_array_i8 * const restrict retarray,
gfc_array_i8 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_8_i8 (gfc_array_i8 * retarray, gfc_array_i8 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *dest;
GFC_INTEGER_8 *base;
const GFC_INTEGER_8 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_10) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc0_8_r10 (gfc_array_i8 * retarray, gfc_array_r10 *array);
extern void maxloc0_8_r10 (gfc_array_i8 * const restrict retarray,
gfc_array_r10 * const restrict array);
export_proto(maxloc0_8_r10);
void
maxloc0_8_r10 (gfc_array_i8 * retarray, gfc_array_r10 *array)
maxloc0_8_r10 (gfc_array_i8 * const restrict retarray,
gfc_array_r10 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_10 *base;
const GFC_REAL_10 *base;
GFC_INTEGER_8 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_8_r10 (gfc_array_i8 * retarray, gfc_array_r10 *array)
}
extern void mmaxloc0_8_r10 (gfc_array_i8 *, gfc_array_r10 *, gfc_array_l4 *);
extern void mmaxloc0_8_r10 (gfc_array_i8 * const restrict,
gfc_array_r10 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_8_r10);
void
mmaxloc0_8_r10 (gfc_array_i8 * retarray, gfc_array_r10 *array,
gfc_array_l4 * mask)
mmaxloc0_8_r10 (gfc_array_i8 * const restrict retarray,
gfc_array_r10 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_8_r10 (gfc_array_i8 * retarray, gfc_array_r10 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *dest;
GFC_REAL_10 *base;
const GFC_REAL_10 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_16) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc0_8_r16 (gfc_array_i8 * retarray, gfc_array_r16 *array);
extern void maxloc0_8_r16 (gfc_array_i8 * const restrict retarray,
gfc_array_r16 * const restrict array);
export_proto(maxloc0_8_r16);
void
maxloc0_8_r16 (gfc_array_i8 * retarray, gfc_array_r16 *array)
maxloc0_8_r16 (gfc_array_i8 * const restrict retarray,
gfc_array_r16 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_16 *base;
const GFC_REAL_16 *base;
GFC_INTEGER_8 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_8_r16 (gfc_array_i8 * retarray, gfc_array_r16 *array)
}
extern void mmaxloc0_8_r16 (gfc_array_i8 *, gfc_array_r16 *, gfc_array_l4 *);
extern void mmaxloc0_8_r16 (gfc_array_i8 * const restrict,
gfc_array_r16 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_8_r16);
void
mmaxloc0_8_r16 (gfc_array_i8 * retarray, gfc_array_r16 *array,
gfc_array_l4 * mask)
mmaxloc0_8_r16 (gfc_array_i8 * const restrict retarray,
gfc_array_r16 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_8_r16 (gfc_array_i8 * retarray, gfc_array_r16 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *dest;
GFC_REAL_16 *base;
const GFC_REAL_16 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_4) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc0_8_r4 (gfc_array_i8 * retarray, gfc_array_r4 *array);
extern void maxloc0_8_r4 (gfc_array_i8 * const restrict retarray,
gfc_array_r4 * const restrict array);
export_proto(maxloc0_8_r4);
void
maxloc0_8_r4 (gfc_array_i8 * retarray, gfc_array_r4 *array)
maxloc0_8_r4 (gfc_array_i8 * const restrict retarray,
gfc_array_r4 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_4 *base;
const GFC_REAL_4 *base;
GFC_INTEGER_8 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_8_r4 (gfc_array_i8 * retarray, gfc_array_r4 *array)
}
extern void mmaxloc0_8_r4 (gfc_array_i8 *, gfc_array_r4 *, gfc_array_l4 *);
extern void mmaxloc0_8_r4 (gfc_array_i8 * const restrict,
gfc_array_r4 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_8_r4);
void
mmaxloc0_8_r4 (gfc_array_i8 * retarray, gfc_array_r4 *array,
gfc_array_l4 * mask)
mmaxloc0_8_r4 (gfc_array_i8 * const restrict retarray,
gfc_array_r4 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_8_r4 (gfc_array_i8 * retarray, gfc_array_r4 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *dest;
GFC_REAL_4 *base;
const GFC_REAL_4 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_8) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc0_8_r8 (gfc_array_i8 * retarray, gfc_array_r8 *array);
extern void maxloc0_8_r8 (gfc_array_i8 * const restrict retarray,
gfc_array_r8 * const restrict array);
export_proto(maxloc0_8_r8);
void
maxloc0_8_r8 (gfc_array_i8 * retarray, gfc_array_r8 *array)
maxloc0_8_r8 (gfc_array_i8 * const restrict retarray,
gfc_array_r8 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_8 *base;
const GFC_REAL_8 *base;
GFC_INTEGER_8 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ maxloc0_8_r8 (gfc_array_i8 * retarray, gfc_array_r8 *array)
}
extern void mmaxloc0_8_r8 (gfc_array_i8 *, gfc_array_r8 *, gfc_array_l4 *);
extern void mmaxloc0_8_r8 (gfc_array_i8 * const restrict,
gfc_array_r8 * const restrict, gfc_array_l4 * const restrict);
export_proto(mmaxloc0_8_r8);
void
mmaxloc0_8_r8 (gfc_array_i8 * retarray, gfc_array_r8 *array,
gfc_array_l4 * mask)
mmaxloc0_8_r8 (gfc_array_i8 * const restrict retarray,
gfc_array_r8 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mmaxloc0_8_r8 (gfc_array_i8 * retarray, gfc_array_r8 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *dest;
GFC_REAL_8 *base;
const GFC_REAL_8 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc1_16_i16 (gfc_array_i16 *, gfc_array_i16 *, index_type *);
extern void maxloc1_16_i16 (gfc_array_i16 * const restrict,
gfc_array_i16 * const restrict, const index_type * const restrict);
export_proto(maxloc1_16_i16);
void
maxloc1_16_i16 (gfc_array_i16 *retarray, gfc_array_i16 *array, index_type *pdim)
maxloc1_16_i16 (gfc_array_i16 * const restrict retarray,
gfc_array_i16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *base;
GFC_INTEGER_16 *dest;
const GFC_INTEGER_16 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_16_i16 (gfc_array_i16 *retarray, gfc_array_i16 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_16 *src;
const GFC_INTEGER_16 * restrict src;
GFC_INTEGER_16 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_16_i16 (gfc_array_i16 *retarray, gfc_array_i16 *array, index_type *pdim)
}
extern void mmaxloc1_16_i16 (gfc_array_i16 *, gfc_array_i16 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_16_i16 (gfc_array_i16 * const restrict,
gfc_array_i16 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_16_i16);
void
mmaxloc1_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_16_i16 (gfc_array_i16 * const restrict retarray,
gfc_array_i16 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *dest;
GFC_INTEGER_16 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_16 * restrict dest;
const GFC_INTEGER_16 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 * array,
while (base)
{
GFC_INTEGER_16 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_16 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_16 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc1_16_i4 (gfc_array_i16 *, gfc_array_i4 *, index_type *);
extern void maxloc1_16_i4 (gfc_array_i16 * const restrict,
gfc_array_i4 * const restrict, const index_type * const restrict);
export_proto(maxloc1_16_i4);
void
maxloc1_16_i4 (gfc_array_i16 *retarray, gfc_array_i4 *array, index_type *pdim)
maxloc1_16_i4 (gfc_array_i16 * const restrict retarray,
gfc_array_i4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *base;
GFC_INTEGER_16 *dest;
const GFC_INTEGER_4 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_16_i4 (gfc_array_i16 *retarray, gfc_array_i4 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_4 *src;
const GFC_INTEGER_4 * restrict src;
GFC_INTEGER_16 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_16_i4 (gfc_array_i16 *retarray, gfc_array_i4 *array, index_type *pdim)
}
extern void mmaxloc1_16_i4 (gfc_array_i16 *, gfc_array_i4 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_16_i4 (gfc_array_i16 * const restrict,
gfc_array_i4 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_16_i4);
void
mmaxloc1_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_16_i4 (gfc_array_i16 * const restrict retarray,
gfc_array_i4 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *dest;
GFC_INTEGER_4 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_16 * restrict dest;
const GFC_INTEGER_4 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 * array,
while (base)
{
GFC_INTEGER_4 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_4 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_16 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc1_16_i8 (gfc_array_i16 *, gfc_array_i8 *, index_type *);
extern void maxloc1_16_i8 (gfc_array_i16 * const restrict,
gfc_array_i8 * const restrict, const index_type * const restrict);
export_proto(maxloc1_16_i8);
void
maxloc1_16_i8 (gfc_array_i16 *retarray, gfc_array_i8 *array, index_type *pdim)
maxloc1_16_i8 (gfc_array_i16 * const restrict retarray,
gfc_array_i8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *base;
GFC_INTEGER_16 *dest;
const GFC_INTEGER_8 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_16_i8 (gfc_array_i16 *retarray, gfc_array_i8 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_8 *src;
const GFC_INTEGER_8 * restrict src;
GFC_INTEGER_16 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_16_i8 (gfc_array_i16 *retarray, gfc_array_i8 *array, index_type *pdim)
}
extern void mmaxloc1_16_i8 (gfc_array_i16 *, gfc_array_i8 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_16_i8 (gfc_array_i16 * const restrict,
gfc_array_i8 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_16_i8);
void
mmaxloc1_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_16_i8 (gfc_array_i16 * const restrict retarray,
gfc_array_i8 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *dest;
GFC_INTEGER_8 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_16 * restrict dest;
const GFC_INTEGER_8 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 * array,
while (base)
{
GFC_INTEGER_8 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_8 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_16 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_10) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc1_16_r10 (gfc_array_i16 *, gfc_array_r10 *, index_type *);
extern void maxloc1_16_r10 (gfc_array_i16 * const restrict,
gfc_array_r10 * const restrict, const index_type * const restrict);
export_proto(maxloc1_16_r10);
void
maxloc1_16_r10 (gfc_array_i16 *retarray, gfc_array_r10 *array, index_type *pdim)
maxloc1_16_r10 (gfc_array_i16 * const restrict retarray,
gfc_array_r10 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_10 *base;
GFC_INTEGER_16 *dest;
const GFC_REAL_10 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_16_r10 (gfc_array_i16 *retarray, gfc_array_r10 *array, index_type *pdim)
while (base)
{
GFC_REAL_10 *src;
const GFC_REAL_10 * restrict src;
GFC_INTEGER_16 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_16_r10 (gfc_array_i16 *retarray, gfc_array_r10 *array, index_type *pdim)
}
extern void mmaxloc1_16_r10 (gfc_array_i16 *, gfc_array_r10 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_16_r10 (gfc_array_i16 * const restrict,
gfc_array_r10 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_16_r10);
void
mmaxloc1_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_16_r10 (gfc_array_i16 * const restrict retarray,
gfc_array_r10 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *dest;
GFC_REAL_10 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_16 * restrict dest;
const GFC_REAL_10 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 * array,
while (base)
{
GFC_REAL_10 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_10 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_16 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_16) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc1_16_r16 (gfc_array_i16 *, gfc_array_r16 *, index_type *);
extern void maxloc1_16_r16 (gfc_array_i16 * const restrict,
gfc_array_r16 * const restrict, const index_type * const restrict);
export_proto(maxloc1_16_r16);
void
maxloc1_16_r16 (gfc_array_i16 *retarray, gfc_array_r16 *array, index_type *pdim)
maxloc1_16_r16 (gfc_array_i16 * const restrict retarray,
gfc_array_r16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_16 *base;
GFC_INTEGER_16 *dest;
const GFC_REAL_16 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_16_r16 (gfc_array_i16 *retarray, gfc_array_r16 *array, index_type *pdim)
while (base)
{
GFC_REAL_16 *src;
const GFC_REAL_16 * restrict src;
GFC_INTEGER_16 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_16_r16 (gfc_array_i16 *retarray, gfc_array_r16 *array, index_type *pdim)
}
extern void mmaxloc1_16_r16 (gfc_array_i16 *, gfc_array_r16 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_16_r16 (gfc_array_i16 * const restrict,
gfc_array_r16 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_16_r16);
void
mmaxloc1_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_16_r16 (gfc_array_i16 * const restrict retarray,
gfc_array_r16 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *dest;
GFC_REAL_16 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_16 * restrict dest;
const GFC_REAL_16 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 * array,
while (base)
{
GFC_REAL_16 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_16 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_16 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_4) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc1_16_r4 (gfc_array_i16 *, gfc_array_r4 *, index_type *);
extern void maxloc1_16_r4 (gfc_array_i16 * const restrict,
gfc_array_r4 * const restrict, const index_type * const restrict);
export_proto(maxloc1_16_r4);
void
maxloc1_16_r4 (gfc_array_i16 *retarray, gfc_array_r4 *array, index_type *pdim)
maxloc1_16_r4 (gfc_array_i16 * const restrict retarray,
gfc_array_r4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_4 *base;
GFC_INTEGER_16 *dest;
const GFC_REAL_4 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_16_r4 (gfc_array_i16 *retarray, gfc_array_r4 *array, index_type *pdim)
while (base)
{
GFC_REAL_4 *src;
const GFC_REAL_4 * restrict src;
GFC_INTEGER_16 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_16_r4 (gfc_array_i16 *retarray, gfc_array_r4 *array, index_type *pdim)
}
extern void mmaxloc1_16_r4 (gfc_array_i16 *, gfc_array_r4 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_16_r4 (gfc_array_i16 * const restrict,
gfc_array_r4 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_16_r4);
void
mmaxloc1_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_16_r4 (gfc_array_i16 * const restrict retarray,
gfc_array_r4 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *dest;
GFC_REAL_4 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_16 * restrict dest;
const GFC_REAL_4 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 * array,
while (base)
{
GFC_REAL_4 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_4 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_16 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_8) && defined (HAVE_GFC_INTEGER_16)
extern void maxloc1_16_r8 (gfc_array_i16 *, gfc_array_r8 *, index_type *);
extern void maxloc1_16_r8 (gfc_array_i16 * const restrict,
gfc_array_r8 * const restrict, const index_type * const restrict);
export_proto(maxloc1_16_r8);
void
maxloc1_16_r8 (gfc_array_i16 *retarray, gfc_array_r8 *array, index_type *pdim)
maxloc1_16_r8 (gfc_array_i16 * const restrict retarray,
gfc_array_r8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_8 *base;
GFC_INTEGER_16 *dest;
const GFC_REAL_8 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_16_r8 (gfc_array_i16 *retarray, gfc_array_r8 *array, index_type *pdim)
while (base)
{
GFC_REAL_8 *src;
const GFC_REAL_8 * restrict src;
GFC_INTEGER_16 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_16_r8 (gfc_array_i16 *retarray, gfc_array_r8 *array, index_type *pdim)
}
extern void mmaxloc1_16_r8 (gfc_array_i16 *, gfc_array_r8 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_16_r8 (gfc_array_i16 * const restrict,
gfc_array_r8 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_16_r8);
void
mmaxloc1_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_16_r8 (gfc_array_i16 * const restrict retarray,
gfc_array_r8 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *dest;
GFC_REAL_8 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_16 * restrict dest;
const GFC_REAL_8 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 * array,
while (base)
{
GFC_REAL_8 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_8 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_16 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc1_4_i16 (gfc_array_i4 *, gfc_array_i16 *, index_type *);
extern void maxloc1_4_i16 (gfc_array_i4 * const restrict,
gfc_array_i16 * const restrict, const index_type * const restrict);
export_proto(maxloc1_4_i16);
void
maxloc1_4_i16 (gfc_array_i4 *retarray, gfc_array_i16 *array, index_type *pdim)
maxloc1_4_i16 (gfc_array_i4 * const restrict retarray,
gfc_array_i16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *base;
GFC_INTEGER_4 *dest;
const GFC_INTEGER_16 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_4_i16 (gfc_array_i4 *retarray, gfc_array_i16 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_16 *src;
const GFC_INTEGER_16 * restrict src;
GFC_INTEGER_4 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_4_i16 (gfc_array_i4 *retarray, gfc_array_i16 *array, index_type *pdim)
}
extern void mmaxloc1_4_i16 (gfc_array_i4 *, gfc_array_i16 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_4_i16 (gfc_array_i4 * const restrict,
gfc_array_i16 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_4_i16);
void
mmaxloc1_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_4_i16 (gfc_array_i4 * const restrict retarray,
gfc_array_i16 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *dest;
GFC_INTEGER_16 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_4 * restrict dest;
const GFC_INTEGER_16 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 * array,
while (base)
{
GFC_INTEGER_16 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_16 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_4 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc1_4_i4 (gfc_array_i4 *, gfc_array_i4 *, index_type *);
extern void maxloc1_4_i4 (gfc_array_i4 * const restrict,
gfc_array_i4 * const restrict, const index_type * const restrict);
export_proto(maxloc1_4_i4);
void
maxloc1_4_i4 (gfc_array_i4 *retarray, gfc_array_i4 *array, index_type *pdim)
maxloc1_4_i4 (gfc_array_i4 * const restrict retarray,
gfc_array_i4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *base;
GFC_INTEGER_4 *dest;
const GFC_INTEGER_4 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_4_i4 (gfc_array_i4 *retarray, gfc_array_i4 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_4 *src;
const GFC_INTEGER_4 * restrict src;
GFC_INTEGER_4 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_4_i4 (gfc_array_i4 *retarray, gfc_array_i4 *array, index_type *pdim)
}
extern void mmaxloc1_4_i4 (gfc_array_i4 *, gfc_array_i4 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_4_i4 (gfc_array_i4 * const restrict,
gfc_array_i4 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_4_i4);
void
mmaxloc1_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_4_i4 (gfc_array_i4 * const restrict retarray,
gfc_array_i4 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *dest;
GFC_INTEGER_4 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_4 * restrict dest;
const GFC_INTEGER_4 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 * array,
while (base)
{
GFC_INTEGER_4 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_4 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_4 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc1_4_i8 (gfc_array_i4 *, gfc_array_i8 *, index_type *);
extern void maxloc1_4_i8 (gfc_array_i4 * const restrict,
gfc_array_i8 * const restrict, const index_type * const restrict);
export_proto(maxloc1_4_i8);
void
maxloc1_4_i8 (gfc_array_i4 *retarray, gfc_array_i8 *array, index_type *pdim)
maxloc1_4_i8 (gfc_array_i4 * const restrict retarray,
gfc_array_i8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *base;
GFC_INTEGER_4 *dest;
const GFC_INTEGER_8 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_4_i8 (gfc_array_i4 *retarray, gfc_array_i8 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_8 *src;
const GFC_INTEGER_8 * restrict src;
GFC_INTEGER_4 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_4_i8 (gfc_array_i4 *retarray, gfc_array_i8 *array, index_type *pdim)
}
extern void mmaxloc1_4_i8 (gfc_array_i4 *, gfc_array_i8 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_4_i8 (gfc_array_i4 * const restrict,
gfc_array_i8 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_4_i8);
void
mmaxloc1_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_4_i8 (gfc_array_i4 * const restrict retarray,
gfc_array_i8 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *dest;
GFC_INTEGER_8 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_4 * restrict dest;
const GFC_INTEGER_8 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 * array,
while (base)
{
GFC_INTEGER_8 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_8 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_4 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_10) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc1_4_r10 (gfc_array_i4 *, gfc_array_r10 *, index_type *);
extern void maxloc1_4_r10 (gfc_array_i4 * const restrict,
gfc_array_r10 * const restrict, const index_type * const restrict);
export_proto(maxloc1_4_r10);
void
maxloc1_4_r10 (gfc_array_i4 *retarray, gfc_array_r10 *array, index_type *pdim)
maxloc1_4_r10 (gfc_array_i4 * const restrict retarray,
gfc_array_r10 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_10 *base;
GFC_INTEGER_4 *dest;
const GFC_REAL_10 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_4_r10 (gfc_array_i4 *retarray, gfc_array_r10 *array, index_type *pdim)
while (base)
{
GFC_REAL_10 *src;
const GFC_REAL_10 * restrict src;
GFC_INTEGER_4 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_4_r10 (gfc_array_i4 *retarray, gfc_array_r10 *array, index_type *pdim)
}
extern void mmaxloc1_4_r10 (gfc_array_i4 *, gfc_array_r10 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_4_r10 (gfc_array_i4 * const restrict,
gfc_array_r10 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_4_r10);
void
mmaxloc1_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_4_r10 (gfc_array_i4 * const restrict retarray,
gfc_array_r10 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *dest;
GFC_REAL_10 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_4 * restrict dest;
const GFC_REAL_10 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 * array,
while (base)
{
GFC_REAL_10 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_10 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_4 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_16) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc1_4_r16 (gfc_array_i4 *, gfc_array_r16 *, index_type *);
extern void maxloc1_4_r16 (gfc_array_i4 * const restrict,
gfc_array_r16 * const restrict, const index_type * const restrict);
export_proto(maxloc1_4_r16);
void
maxloc1_4_r16 (gfc_array_i4 *retarray, gfc_array_r16 *array, index_type *pdim)
maxloc1_4_r16 (gfc_array_i4 * const restrict retarray,
gfc_array_r16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_16 *base;
GFC_INTEGER_4 *dest;
const GFC_REAL_16 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_4_r16 (gfc_array_i4 *retarray, gfc_array_r16 *array, index_type *pdim)
while (base)
{
GFC_REAL_16 *src;
const GFC_REAL_16 * restrict src;
GFC_INTEGER_4 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_4_r16 (gfc_array_i4 *retarray, gfc_array_r16 *array, index_type *pdim)
}
extern void mmaxloc1_4_r16 (gfc_array_i4 *, gfc_array_r16 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_4_r16 (gfc_array_i4 * const restrict,
gfc_array_r16 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_4_r16);
void
mmaxloc1_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_4_r16 (gfc_array_i4 * const restrict retarray,
gfc_array_r16 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *dest;
GFC_REAL_16 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_4 * restrict dest;
const GFC_REAL_16 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 * array,
while (base)
{
GFC_REAL_16 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_16 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_4 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_4) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc1_4_r4 (gfc_array_i4 *, gfc_array_r4 *, index_type *);
extern void maxloc1_4_r4 (gfc_array_i4 * const restrict,
gfc_array_r4 * const restrict, const index_type * const restrict);
export_proto(maxloc1_4_r4);
void
maxloc1_4_r4 (gfc_array_i4 *retarray, gfc_array_r4 *array, index_type *pdim)
maxloc1_4_r4 (gfc_array_i4 * const restrict retarray,
gfc_array_r4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_4 *base;
GFC_INTEGER_4 *dest;
const GFC_REAL_4 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_4_r4 (gfc_array_i4 *retarray, gfc_array_r4 *array, index_type *pdim)
while (base)
{
GFC_REAL_4 *src;
const GFC_REAL_4 * restrict src;
GFC_INTEGER_4 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_4_r4 (gfc_array_i4 *retarray, gfc_array_r4 *array, index_type *pdim)
}
extern void mmaxloc1_4_r4 (gfc_array_i4 *, gfc_array_r4 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_4_r4 (gfc_array_i4 * const restrict,
gfc_array_r4 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_4_r4);
void
mmaxloc1_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_4_r4 (gfc_array_i4 * const restrict retarray,
gfc_array_r4 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *dest;
GFC_REAL_4 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_4 * restrict dest;
const GFC_REAL_4 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 * array,
while (base)
{
GFC_REAL_4 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_4 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_4 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_8) && defined (HAVE_GFC_INTEGER_4)
extern void maxloc1_4_r8 (gfc_array_i4 *, gfc_array_r8 *, index_type *);
extern void maxloc1_4_r8 (gfc_array_i4 * const restrict,
gfc_array_r8 * const restrict, const index_type * const restrict);
export_proto(maxloc1_4_r8);
void
maxloc1_4_r8 (gfc_array_i4 *retarray, gfc_array_r8 *array, index_type *pdim)
maxloc1_4_r8 (gfc_array_i4 * const restrict retarray,
gfc_array_r8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_8 *base;
GFC_INTEGER_4 *dest;
const GFC_REAL_8 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_4_r8 (gfc_array_i4 *retarray, gfc_array_r8 *array, index_type *pdim)
while (base)
{
GFC_REAL_8 *src;
const GFC_REAL_8 * restrict src;
GFC_INTEGER_4 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_4_r8 (gfc_array_i4 *retarray, gfc_array_r8 *array, index_type *pdim)
}
extern void mmaxloc1_4_r8 (gfc_array_i4 *, gfc_array_r8 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_4_r8 (gfc_array_i4 * const restrict,
gfc_array_r8 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_4_r8);
void
mmaxloc1_4_r8 (gfc_array_i4 * retarray, gfc_array_r8 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_4_r8 (gfc_array_i4 * const restrict retarray,
gfc_array_r8 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *dest;
GFC_REAL_8 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_4 * restrict dest;
const GFC_REAL_8 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_4_r8 (gfc_array_i4 * retarray, gfc_array_r8 * array,
while (base)
{
GFC_REAL_8 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_8 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_4 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc1_8_i16 (gfc_array_i8 *, gfc_array_i16 *, index_type *);
extern void maxloc1_8_i16 (gfc_array_i8 * const restrict,
gfc_array_i16 * const restrict, const index_type * const restrict);
export_proto(maxloc1_8_i16);
void
maxloc1_8_i16 (gfc_array_i8 *retarray, gfc_array_i16 *array, index_type *pdim)
maxloc1_8_i16 (gfc_array_i8 * const restrict retarray,
gfc_array_i16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *base;
GFC_INTEGER_8 *dest;
const GFC_INTEGER_16 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_8_i16 (gfc_array_i8 *retarray, gfc_array_i16 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_16 *src;
const GFC_INTEGER_16 * restrict src;
GFC_INTEGER_8 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_8_i16 (gfc_array_i8 *retarray, gfc_array_i16 *array, index_type *pdim)
}
extern void mmaxloc1_8_i16 (gfc_array_i8 *, gfc_array_i16 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_8_i16 (gfc_array_i8 * const restrict,
gfc_array_i16 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_8_i16);
void
mmaxloc1_8_i16 (gfc_array_i8 * retarray, gfc_array_i16 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_8_i16 (gfc_array_i8 * const restrict retarray,
gfc_array_i16 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *dest;
GFC_INTEGER_16 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_8 * restrict dest;
const GFC_INTEGER_16 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_8_i16 (gfc_array_i8 * retarray, gfc_array_i16 * array,
while (base)
{
GFC_INTEGER_16 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_16 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_8 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc1_8_i4 (gfc_array_i8 *, gfc_array_i4 *, index_type *);
extern void maxloc1_8_i4 (gfc_array_i8 * const restrict,
gfc_array_i4 * const restrict, const index_type * const restrict);
export_proto(maxloc1_8_i4);
void
maxloc1_8_i4 (gfc_array_i8 *retarray, gfc_array_i4 *array, index_type *pdim)
maxloc1_8_i4 (gfc_array_i8 * const restrict retarray,
gfc_array_i4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *base;
GFC_INTEGER_8 *dest;
const GFC_INTEGER_4 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_8_i4 (gfc_array_i8 *retarray, gfc_array_i4 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_4 *src;
const GFC_INTEGER_4 * restrict src;
GFC_INTEGER_8 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_8_i4 (gfc_array_i8 *retarray, gfc_array_i4 *array, index_type *pdim)
}
extern void mmaxloc1_8_i4 (gfc_array_i8 *, gfc_array_i4 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_8_i4 (gfc_array_i8 * const restrict,
gfc_array_i4 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_8_i4);
void
mmaxloc1_8_i4 (gfc_array_i8 * retarray, gfc_array_i4 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_8_i4 (gfc_array_i8 * const restrict retarray,
gfc_array_i4 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *dest;
GFC_INTEGER_4 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_8 * restrict dest;
const GFC_INTEGER_4 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_8_i4 (gfc_array_i8 * retarray, gfc_array_i4 * array,
while (base)
{
GFC_INTEGER_4 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_4 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_8 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc1_8_i8 (gfc_array_i8 *, gfc_array_i8 *, index_type *);
extern void maxloc1_8_i8 (gfc_array_i8 * const restrict,
gfc_array_i8 * const restrict, const index_type * const restrict);
export_proto(maxloc1_8_i8);
void
maxloc1_8_i8 (gfc_array_i8 *retarray, gfc_array_i8 *array, index_type *pdim)
maxloc1_8_i8 (gfc_array_i8 * const restrict retarray,
gfc_array_i8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *base;
GFC_INTEGER_8 *dest;
const GFC_INTEGER_8 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_8_i8 (gfc_array_i8 *retarray, gfc_array_i8 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_8 *src;
const GFC_INTEGER_8 * restrict src;
GFC_INTEGER_8 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_8_i8 (gfc_array_i8 *retarray, gfc_array_i8 *array, index_type *pdim)
}
extern void mmaxloc1_8_i8 (gfc_array_i8 *, gfc_array_i8 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_8_i8 (gfc_array_i8 * const restrict,
gfc_array_i8 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_8_i8);
void
mmaxloc1_8_i8 (gfc_array_i8 * retarray, gfc_array_i8 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_8_i8 (gfc_array_i8 * const restrict retarray,
gfc_array_i8 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *dest;
GFC_INTEGER_8 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_8 * restrict dest;
const GFC_INTEGER_8 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_8_i8 (gfc_array_i8 * retarray, gfc_array_i8 * array,
while (base)
{
GFC_INTEGER_8 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_8 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_8 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_10) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc1_8_r10 (gfc_array_i8 *, gfc_array_r10 *, index_type *);
extern void maxloc1_8_r10 (gfc_array_i8 * const restrict,
gfc_array_r10 * const restrict, const index_type * const restrict);
export_proto(maxloc1_8_r10);
void
maxloc1_8_r10 (gfc_array_i8 *retarray, gfc_array_r10 *array, index_type *pdim)
maxloc1_8_r10 (gfc_array_i8 * const restrict retarray,
gfc_array_r10 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_10 *base;
GFC_INTEGER_8 *dest;
const GFC_REAL_10 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_8_r10 (gfc_array_i8 *retarray, gfc_array_r10 *array, index_type *pdim)
while (base)
{
GFC_REAL_10 *src;
const GFC_REAL_10 * restrict src;
GFC_INTEGER_8 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_8_r10 (gfc_array_i8 *retarray, gfc_array_r10 *array, index_type *pdim)
}
extern void mmaxloc1_8_r10 (gfc_array_i8 *, gfc_array_r10 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_8_r10 (gfc_array_i8 * const restrict,
gfc_array_r10 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_8_r10);
void
mmaxloc1_8_r10 (gfc_array_i8 * retarray, gfc_array_r10 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_8_r10 (gfc_array_i8 * const restrict retarray,
gfc_array_r10 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *dest;
GFC_REAL_10 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_8 * restrict dest;
const GFC_REAL_10 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_8_r10 (gfc_array_i8 * retarray, gfc_array_r10 * array,
while (base)
{
GFC_REAL_10 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_10 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_8 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_16) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc1_8_r16 (gfc_array_i8 *, gfc_array_r16 *, index_type *);
extern void maxloc1_8_r16 (gfc_array_i8 * const restrict,
gfc_array_r16 * const restrict, const index_type * const restrict);
export_proto(maxloc1_8_r16);
void
maxloc1_8_r16 (gfc_array_i8 *retarray, gfc_array_r16 *array, index_type *pdim)
maxloc1_8_r16 (gfc_array_i8 * const restrict retarray,
gfc_array_r16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_16 *base;
GFC_INTEGER_8 *dest;
const GFC_REAL_16 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_8_r16 (gfc_array_i8 *retarray, gfc_array_r16 *array, index_type *pdim)
while (base)
{
GFC_REAL_16 *src;
const GFC_REAL_16 * restrict src;
GFC_INTEGER_8 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_8_r16 (gfc_array_i8 *retarray, gfc_array_r16 *array, index_type *pdim)
}
extern void mmaxloc1_8_r16 (gfc_array_i8 *, gfc_array_r16 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_8_r16 (gfc_array_i8 * const restrict,
gfc_array_r16 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_8_r16);
void
mmaxloc1_8_r16 (gfc_array_i8 * retarray, gfc_array_r16 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_8_r16 (gfc_array_i8 * const restrict retarray,
gfc_array_r16 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *dest;
GFC_REAL_16 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_8 * restrict dest;
const GFC_REAL_16 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_8_r16 (gfc_array_i8 * retarray, gfc_array_r16 * array,
while (base)
{
GFC_REAL_16 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_16 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_8 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_4) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc1_8_r4 (gfc_array_i8 *, gfc_array_r4 *, index_type *);
extern void maxloc1_8_r4 (gfc_array_i8 * const restrict,
gfc_array_r4 * const restrict, const index_type * const restrict);
export_proto(maxloc1_8_r4);
void
maxloc1_8_r4 (gfc_array_i8 *retarray, gfc_array_r4 *array, index_type *pdim)
maxloc1_8_r4 (gfc_array_i8 * const restrict retarray,
gfc_array_r4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_4 *base;
GFC_INTEGER_8 *dest;
const GFC_REAL_4 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_8_r4 (gfc_array_i8 *retarray, gfc_array_r4 *array, index_type *pdim)
while (base)
{
GFC_REAL_4 *src;
const GFC_REAL_4 * restrict src;
GFC_INTEGER_8 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_8_r4 (gfc_array_i8 *retarray, gfc_array_r4 *array, index_type *pdim)
}
extern void mmaxloc1_8_r4 (gfc_array_i8 *, gfc_array_r4 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_8_r4 (gfc_array_i8 * const restrict,
gfc_array_r4 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_8_r4);
void
mmaxloc1_8_r4 (gfc_array_i8 * retarray, gfc_array_r4 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_8_r4 (gfc_array_i8 * const restrict retarray,
gfc_array_r4 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *dest;
GFC_REAL_4 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_8 * restrict dest;
const GFC_REAL_4 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_8_r4 (gfc_array_i8 * retarray, gfc_array_r4 * array,
while (base)
{
GFC_REAL_4 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_4 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_8 result;
src = base;
msrc = mbase;

View file

@ -39,18 +39,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_8) && defined (HAVE_GFC_INTEGER_8)
extern void maxloc1_8_r8 (gfc_array_i8 *, gfc_array_r8 *, index_type *);
extern void maxloc1_8_r8 (gfc_array_i8 * const restrict,
gfc_array_r8 * const restrict, const index_type * const restrict);
export_proto(maxloc1_8_r8);
void
maxloc1_8_r8 (gfc_array_i8 *retarray, gfc_array_r8 *array, index_type *pdim)
maxloc1_8_r8 (gfc_array_i8 * const restrict retarray,
gfc_array_r8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_8 *base;
GFC_INTEGER_8 *dest;
const GFC_REAL_8 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -122,7 +125,7 @@ maxloc1_8_r8 (gfc_array_i8 *retarray, gfc_array_r8 *array, index_type *pdim)
while (base)
{
GFC_REAL_8 *src;
const GFC_REAL_8 * restrict src;
GFC_INTEGER_8 result;
src = base;
{
@ -178,22 +181,25 @@ maxloc1_8_r8 (gfc_array_i8 *retarray, gfc_array_r8 *array, index_type *pdim)
}
extern void mmaxloc1_8_r8 (gfc_array_i8 *, gfc_array_r8 *, index_type *,
gfc_array_l4 *);
extern void mmaxloc1_8_r8 (gfc_array_i8 * const restrict,
gfc_array_r8 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxloc1_8_r8);
void
mmaxloc1_8_r8 (gfc_array_i8 * retarray, gfc_array_r8 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxloc1_8_r8 (gfc_array_i8 * const restrict retarray,
gfc_array_r8 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *dest;
GFC_REAL_8 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_8 * restrict dest;
const GFC_REAL_8 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -284,8 +290,8 @@ mmaxloc1_8_r8 (gfc_array_i8 * retarray, gfc_array_r8 * array,
while (base)
{
GFC_REAL_8 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_8 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_8 result;
src = base;
msrc = mbase;

View file

@ -38,18 +38,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16) && defined (HAVE_GFC_INTEGER_16)
extern void maxval_i16 (gfc_array_i16 *, gfc_array_i16 *, index_type *);
extern void maxval_i16 (gfc_array_i16 * const restrict,
gfc_array_i16 * const restrict, const index_type * const restrict);
export_proto(maxval_i16);
void
maxval_i16 (gfc_array_i16 *retarray, gfc_array_i16 *array, index_type *pdim)
maxval_i16 (gfc_array_i16 * const restrict retarray,
gfc_array_i16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *base;
GFC_INTEGER_16 *dest;
const GFC_INTEGER_16 * restrict base;
GFC_INTEGER_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -121,7 +124,7 @@ maxval_i16 (gfc_array_i16 *retarray, gfc_array_i16 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_16 *src;
const GFC_INTEGER_16 * restrict src;
GFC_INTEGER_16 result;
src = base;
{
@ -172,22 +175,25 @@ maxval_i16 (gfc_array_i16 *retarray, gfc_array_i16 *array, index_type *pdim)
}
extern void mmaxval_i16 (gfc_array_i16 *, gfc_array_i16 *, index_type *,
gfc_array_l4 *);
extern void mmaxval_i16 (gfc_array_i16 * const restrict,
gfc_array_i16 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxval_i16);
void
mmaxval_i16 (gfc_array_i16 * retarray, gfc_array_i16 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxval_i16 (gfc_array_i16 * const restrict retarray,
gfc_array_i16 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_16 *dest;
GFC_INTEGER_16 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_16 * restrict dest;
const GFC_INTEGER_16 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -278,8 +284,8 @@ mmaxval_i16 (gfc_array_i16 * retarray, gfc_array_i16 * array,
while (base)
{
GFC_INTEGER_16 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_16 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_16 result;
src = base;
msrc = mbase;

View file

@ -38,18 +38,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4) && defined (HAVE_GFC_INTEGER_4)
extern void maxval_i4 (gfc_array_i4 *, gfc_array_i4 *, index_type *);
extern void maxval_i4 (gfc_array_i4 * const restrict,
gfc_array_i4 * const restrict, const index_type * const restrict);
export_proto(maxval_i4);
void
maxval_i4 (gfc_array_i4 *retarray, gfc_array_i4 *array, index_type *pdim)
maxval_i4 (gfc_array_i4 * const restrict retarray,
gfc_array_i4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *base;
GFC_INTEGER_4 *dest;
const GFC_INTEGER_4 * restrict base;
GFC_INTEGER_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -121,7 +124,7 @@ maxval_i4 (gfc_array_i4 *retarray, gfc_array_i4 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_4 *src;
const GFC_INTEGER_4 * restrict src;
GFC_INTEGER_4 result;
src = base;
{
@ -172,22 +175,25 @@ maxval_i4 (gfc_array_i4 *retarray, gfc_array_i4 *array, index_type *pdim)
}
extern void mmaxval_i4 (gfc_array_i4 *, gfc_array_i4 *, index_type *,
gfc_array_l4 *);
extern void mmaxval_i4 (gfc_array_i4 * const restrict,
gfc_array_i4 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxval_i4);
void
mmaxval_i4 (gfc_array_i4 * retarray, gfc_array_i4 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxval_i4 (gfc_array_i4 * const restrict retarray,
gfc_array_i4 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_4 *dest;
GFC_INTEGER_4 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_4 * restrict dest;
const GFC_INTEGER_4 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -278,8 +284,8 @@ mmaxval_i4 (gfc_array_i4 * retarray, gfc_array_i4 * array,
while (base)
{
GFC_INTEGER_4 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_4 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_4 result;
src = base;
msrc = mbase;

View file

@ -38,18 +38,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8) && defined (HAVE_GFC_INTEGER_8)
extern void maxval_i8 (gfc_array_i8 *, gfc_array_i8 *, index_type *);
extern void maxval_i8 (gfc_array_i8 * const restrict,
gfc_array_i8 * const restrict, const index_type * const restrict);
export_proto(maxval_i8);
void
maxval_i8 (gfc_array_i8 *retarray, gfc_array_i8 *array, index_type *pdim)
maxval_i8 (gfc_array_i8 * const restrict retarray,
gfc_array_i8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *base;
GFC_INTEGER_8 *dest;
const GFC_INTEGER_8 * restrict base;
GFC_INTEGER_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -121,7 +124,7 @@ maxval_i8 (gfc_array_i8 *retarray, gfc_array_i8 *array, index_type *pdim)
while (base)
{
GFC_INTEGER_8 *src;
const GFC_INTEGER_8 * restrict src;
GFC_INTEGER_8 result;
src = base;
{
@ -172,22 +175,25 @@ maxval_i8 (gfc_array_i8 *retarray, gfc_array_i8 *array, index_type *pdim)
}
extern void mmaxval_i8 (gfc_array_i8 *, gfc_array_i8 *, index_type *,
gfc_array_l4 *);
extern void mmaxval_i8 (gfc_array_i8 * const restrict,
gfc_array_i8 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxval_i8);
void
mmaxval_i8 (gfc_array_i8 * retarray, gfc_array_i8 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxval_i8 (gfc_array_i8 * const restrict retarray,
gfc_array_i8 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_INTEGER_8 *dest;
GFC_INTEGER_8 *base;
GFC_LOGICAL_4 *mbase;
GFC_INTEGER_8 * restrict dest;
const GFC_INTEGER_8 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -278,8 +284,8 @@ mmaxval_i8 (gfc_array_i8 * retarray, gfc_array_i8 * array,
while (base)
{
GFC_INTEGER_8 *src;
GFC_LOGICAL_4 *msrc;
const GFC_INTEGER_8 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_INTEGER_8 result;
src = base;
msrc = mbase;

View file

@ -38,18 +38,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_10) && defined (HAVE_GFC_REAL_10)
extern void maxval_r10 (gfc_array_r10 *, gfc_array_r10 *, index_type *);
extern void maxval_r10 (gfc_array_r10 * const restrict,
gfc_array_r10 * const restrict, const index_type * const restrict);
export_proto(maxval_r10);
void
maxval_r10 (gfc_array_r10 *retarray, gfc_array_r10 *array, index_type *pdim)
maxval_r10 (gfc_array_r10 * const restrict retarray,
gfc_array_r10 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_10 *base;
GFC_REAL_10 *dest;
const GFC_REAL_10 * restrict base;
GFC_REAL_10 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -121,7 +124,7 @@ maxval_r10 (gfc_array_r10 *retarray, gfc_array_r10 *array, index_type *pdim)
while (base)
{
GFC_REAL_10 *src;
const GFC_REAL_10 * restrict src;
GFC_REAL_10 result;
src = base;
{
@ -172,22 +175,25 @@ maxval_r10 (gfc_array_r10 *retarray, gfc_array_r10 *array, index_type *pdim)
}
extern void mmaxval_r10 (gfc_array_r10 *, gfc_array_r10 *, index_type *,
gfc_array_l4 *);
extern void mmaxval_r10 (gfc_array_r10 * const restrict,
gfc_array_r10 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxval_r10);
void
mmaxval_r10 (gfc_array_r10 * retarray, gfc_array_r10 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxval_r10 (gfc_array_r10 * const restrict retarray,
gfc_array_r10 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_REAL_10 *dest;
GFC_REAL_10 *base;
GFC_LOGICAL_4 *mbase;
GFC_REAL_10 * restrict dest;
const GFC_REAL_10 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -278,8 +284,8 @@ mmaxval_r10 (gfc_array_r10 * retarray, gfc_array_r10 * array,
while (base)
{
GFC_REAL_10 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_10 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_REAL_10 result;
src = base;
msrc = mbase;

View file

@ -38,18 +38,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_16) && defined (HAVE_GFC_REAL_16)
extern void maxval_r16 (gfc_array_r16 *, gfc_array_r16 *, index_type *);
extern void maxval_r16 (gfc_array_r16 * const restrict,
gfc_array_r16 * const restrict, const index_type * const restrict);
export_proto(maxval_r16);
void
maxval_r16 (gfc_array_r16 *retarray, gfc_array_r16 *array, index_type *pdim)
maxval_r16 (gfc_array_r16 * const restrict retarray,
gfc_array_r16 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_16 *base;
GFC_REAL_16 *dest;
const GFC_REAL_16 * restrict base;
GFC_REAL_16 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -121,7 +124,7 @@ maxval_r16 (gfc_array_r16 *retarray, gfc_array_r16 *array, index_type *pdim)
while (base)
{
GFC_REAL_16 *src;
const GFC_REAL_16 * restrict src;
GFC_REAL_16 result;
src = base;
{
@ -172,22 +175,25 @@ maxval_r16 (gfc_array_r16 *retarray, gfc_array_r16 *array, index_type *pdim)
}
extern void mmaxval_r16 (gfc_array_r16 *, gfc_array_r16 *, index_type *,
gfc_array_l4 *);
extern void mmaxval_r16 (gfc_array_r16 * const restrict,
gfc_array_r16 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxval_r16);
void
mmaxval_r16 (gfc_array_r16 * retarray, gfc_array_r16 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxval_r16 (gfc_array_r16 * const restrict retarray,
gfc_array_r16 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_REAL_16 *dest;
GFC_REAL_16 *base;
GFC_LOGICAL_4 *mbase;
GFC_REAL_16 * restrict dest;
const GFC_REAL_16 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -278,8 +284,8 @@ mmaxval_r16 (gfc_array_r16 * retarray, gfc_array_r16 * array,
while (base)
{
GFC_REAL_16 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_16 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_REAL_16 result;
src = base;
msrc = mbase;

View file

@ -38,18 +38,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_4) && defined (HAVE_GFC_REAL_4)
extern void maxval_r4 (gfc_array_r4 *, gfc_array_r4 *, index_type *);
extern void maxval_r4 (gfc_array_r4 * const restrict,
gfc_array_r4 * const restrict, const index_type * const restrict);
export_proto(maxval_r4);
void
maxval_r4 (gfc_array_r4 *retarray, gfc_array_r4 *array, index_type *pdim)
maxval_r4 (gfc_array_r4 * const restrict retarray,
gfc_array_r4 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_4 *base;
GFC_REAL_4 *dest;
const GFC_REAL_4 * restrict base;
GFC_REAL_4 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -121,7 +124,7 @@ maxval_r4 (gfc_array_r4 *retarray, gfc_array_r4 *array, index_type *pdim)
while (base)
{
GFC_REAL_4 *src;
const GFC_REAL_4 * restrict src;
GFC_REAL_4 result;
src = base;
{
@ -172,22 +175,25 @@ maxval_r4 (gfc_array_r4 *retarray, gfc_array_r4 *array, index_type *pdim)
}
extern void mmaxval_r4 (gfc_array_r4 *, gfc_array_r4 *, index_type *,
gfc_array_l4 *);
extern void mmaxval_r4 (gfc_array_r4 * const restrict,
gfc_array_r4 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxval_r4);
void
mmaxval_r4 (gfc_array_r4 * retarray, gfc_array_r4 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxval_r4 (gfc_array_r4 * const restrict retarray,
gfc_array_r4 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_REAL_4 *dest;
GFC_REAL_4 *base;
GFC_LOGICAL_4 *mbase;
GFC_REAL_4 * restrict dest;
const GFC_REAL_4 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -278,8 +284,8 @@ mmaxval_r4 (gfc_array_r4 * retarray, gfc_array_r4 * array,
while (base)
{
GFC_REAL_4 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_4 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_REAL_4 result;
src = base;
msrc = mbase;

View file

@ -38,18 +38,21 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_8) && defined (HAVE_GFC_REAL_8)
extern void maxval_r8 (gfc_array_r8 *, gfc_array_r8 *, index_type *);
extern void maxval_r8 (gfc_array_r8 * const restrict,
gfc_array_r8 * const restrict, const index_type * const restrict);
export_proto(maxval_r8);
void
maxval_r8 (gfc_array_r8 *retarray, gfc_array_r8 *array, index_type *pdim)
maxval_r8 (gfc_array_r8 * const restrict retarray,
gfc_array_r8 * const restrict array,
const index_type * const restrict pdim)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
GFC_REAL_8 *base;
GFC_REAL_8 *dest;
const GFC_REAL_8 * restrict base;
GFC_REAL_8 * restrict dest;
index_type rank;
index_type n;
index_type len;
@ -121,7 +124,7 @@ maxval_r8 (gfc_array_r8 *retarray, gfc_array_r8 *array, index_type *pdim)
while (base)
{
GFC_REAL_8 *src;
const GFC_REAL_8 * restrict src;
GFC_REAL_8 result;
src = base;
{
@ -172,22 +175,25 @@ maxval_r8 (gfc_array_r8 *retarray, gfc_array_r8 *array, index_type *pdim)
}
extern void mmaxval_r8 (gfc_array_r8 *, gfc_array_r8 *, index_type *,
gfc_array_l4 *);
extern void mmaxval_r8 (gfc_array_r8 * const restrict,
gfc_array_r8 * const restrict, const index_type * const restrict,
gfc_array_l4 * const restrict);
export_proto(mmaxval_r8);
void
mmaxval_r8 (gfc_array_r8 * retarray, gfc_array_r8 * array,
index_type *pdim, gfc_array_l4 * mask)
mmaxval_r8 (gfc_array_r8 * const restrict retarray,
gfc_array_r8 * const restrict array,
const index_type * const restrict pdim,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride[GFC_MAX_DIMENSIONS];
index_type mstride[GFC_MAX_DIMENSIONS];
GFC_REAL_8 *dest;
GFC_REAL_8 *base;
GFC_LOGICAL_4 *mbase;
GFC_REAL_8 * restrict dest;
const GFC_REAL_8 * restrict base;
const GFC_LOGICAL_4 * restrict mbase;
int rank;
int dim;
index_type n;
@ -278,8 +284,8 @@ mmaxval_r8 (gfc_array_r8 * retarray, gfc_array_r8 * array,
while (base)
{
GFC_REAL_8 *src;
GFC_LOGICAL_4 *msrc;
const GFC_REAL_8 * restrict src;
const GFC_LOGICAL_4 * restrict msrc;
GFC_REAL_8 result;
src = base;
msrc = mbase;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16) && defined (HAVE_GFC_INTEGER_16)
extern void minloc0_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 *array);
extern void minloc0_16_i16 (gfc_array_i16 * const restrict retarray,
gfc_array_i16 * const restrict array);
export_proto(minloc0_16_i16);
void
minloc0_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 *array)
minloc0_16_i16 (gfc_array_i16 * const restrict retarray,
gfc_array_i16 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *base;
const GFC_INTEGER_16 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 *array)
}
extern void mminloc0_16_i16 (gfc_array_i16 *, gfc_array_i16 *, gfc_array_l4 *);
extern void mminloc0_16_i16 (gfc_array_i16 * const restrict,
gfc_array_i16 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_16_i16);
void
mminloc0_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 *array,
gfc_array_l4 * mask)
mminloc0_16_i16 (gfc_array_i16 * const restrict retarray,
gfc_array_i16 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_16_i16 (gfc_array_i16 * retarray, gfc_array_i16 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_INTEGER_16 *base;
const GFC_INTEGER_16 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4) && defined (HAVE_GFC_INTEGER_16)
extern void minloc0_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 *array);
extern void minloc0_16_i4 (gfc_array_i16 * const restrict retarray,
gfc_array_i4 * const restrict array);
export_proto(minloc0_16_i4);
void
minloc0_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 *array)
minloc0_16_i4 (gfc_array_i16 * const restrict retarray,
gfc_array_i4 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *base;
const GFC_INTEGER_4 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 *array)
}
extern void mminloc0_16_i4 (gfc_array_i16 *, gfc_array_i4 *, gfc_array_l4 *);
extern void mminloc0_16_i4 (gfc_array_i16 * const restrict,
gfc_array_i4 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_16_i4);
void
mminloc0_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 *array,
gfc_array_l4 * mask)
mminloc0_16_i4 (gfc_array_i16 * const restrict retarray,
gfc_array_i4 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_16_i4 (gfc_array_i16 * retarray, gfc_array_i4 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_INTEGER_4 *base;
const GFC_INTEGER_4 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8) && defined (HAVE_GFC_INTEGER_16)
extern void minloc0_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 *array);
extern void minloc0_16_i8 (gfc_array_i16 * const restrict retarray,
gfc_array_i8 * const restrict array);
export_proto(minloc0_16_i8);
void
minloc0_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 *array)
minloc0_16_i8 (gfc_array_i16 * const restrict retarray,
gfc_array_i8 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *base;
const GFC_INTEGER_8 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 *array)
}
extern void mminloc0_16_i8 (gfc_array_i16 *, gfc_array_i8 *, gfc_array_l4 *);
extern void mminloc0_16_i8 (gfc_array_i16 * const restrict,
gfc_array_i8 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_16_i8);
void
mminloc0_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 *array,
gfc_array_l4 * mask)
mminloc0_16_i8 (gfc_array_i16 * const restrict retarray,
gfc_array_i8 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_16_i8 (gfc_array_i16 * retarray, gfc_array_i8 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_INTEGER_8 *base;
const GFC_INTEGER_8 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_10) && defined (HAVE_GFC_INTEGER_16)
extern void minloc0_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 *array);
extern void minloc0_16_r10 (gfc_array_i16 * const restrict retarray,
gfc_array_r10 * const restrict array);
export_proto(minloc0_16_r10);
void
minloc0_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 *array)
minloc0_16_r10 (gfc_array_i16 * const restrict retarray,
gfc_array_r10 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_10 *base;
const GFC_REAL_10 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 *array)
}
extern void mminloc0_16_r10 (gfc_array_i16 *, gfc_array_r10 *, gfc_array_l4 *);
extern void mminloc0_16_r10 (gfc_array_i16 * const restrict,
gfc_array_r10 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_16_r10);
void
mminloc0_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 *array,
gfc_array_l4 * mask)
mminloc0_16_r10 (gfc_array_i16 * const restrict retarray,
gfc_array_r10 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_16_r10 (gfc_array_i16 * retarray, gfc_array_r10 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_REAL_10 *base;
const GFC_REAL_10 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_16) && defined (HAVE_GFC_INTEGER_16)
extern void minloc0_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 *array);
extern void minloc0_16_r16 (gfc_array_i16 * const restrict retarray,
gfc_array_r16 * const restrict array);
export_proto(minloc0_16_r16);
void
minloc0_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 *array)
minloc0_16_r16 (gfc_array_i16 * const restrict retarray,
gfc_array_r16 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_16 *base;
const GFC_REAL_16 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 *array)
}
extern void mminloc0_16_r16 (gfc_array_i16 *, gfc_array_r16 *, gfc_array_l4 *);
extern void mminloc0_16_r16 (gfc_array_i16 * const restrict,
gfc_array_r16 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_16_r16);
void
mminloc0_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 *array,
gfc_array_l4 * mask)
mminloc0_16_r16 (gfc_array_i16 * const restrict retarray,
gfc_array_r16 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_16_r16 (gfc_array_i16 * retarray, gfc_array_r16 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_REAL_16 *base;
const GFC_REAL_16 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_4) && defined (HAVE_GFC_INTEGER_16)
extern void minloc0_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 *array);
extern void minloc0_16_r4 (gfc_array_i16 * const restrict retarray,
gfc_array_r4 * const restrict array);
export_proto(minloc0_16_r4);
void
minloc0_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 *array)
minloc0_16_r4 (gfc_array_i16 * const restrict retarray,
gfc_array_r4 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_4 *base;
const GFC_REAL_4 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 *array)
}
extern void mminloc0_16_r4 (gfc_array_i16 *, gfc_array_r4 *, gfc_array_l4 *);
extern void mminloc0_16_r4 (gfc_array_i16 * const restrict,
gfc_array_r4 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_16_r4);
void
mminloc0_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 *array,
gfc_array_l4 * mask)
mminloc0_16_r4 (gfc_array_i16 * const restrict retarray,
gfc_array_r4 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_16_r4 (gfc_array_i16 * retarray, gfc_array_r4 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_REAL_4 *base;
const GFC_REAL_4 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_8) && defined (HAVE_GFC_INTEGER_16)
extern void minloc0_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 *array);
extern void minloc0_16_r8 (gfc_array_i16 * const restrict retarray,
gfc_array_r8 * const restrict array);
export_proto(minloc0_16_r8);
void
minloc0_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 *array)
minloc0_16_r8 (gfc_array_i16 * const restrict retarray,
gfc_array_r8 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_8 *base;
const GFC_REAL_8 *base;
GFC_INTEGER_16 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 *array)
}
extern void mminloc0_16_r8 (gfc_array_i16 *, gfc_array_r8 *, gfc_array_l4 *);
extern void mminloc0_16_r8 (gfc_array_i16 * const restrict,
gfc_array_r8 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_16_r8);
void
mminloc0_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 *array,
gfc_array_l4 * mask)
mminloc0_16_r8 (gfc_array_i16 * const restrict retarray,
gfc_array_r8 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_16_r8 (gfc_array_i16 * retarray, gfc_array_r8 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *dest;
GFC_REAL_8 *base;
const GFC_REAL_8 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_16) && defined (HAVE_GFC_INTEGER_4)
extern void minloc0_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 *array);
extern void minloc0_4_i16 (gfc_array_i4 * const restrict retarray,
gfc_array_i16 * const restrict array);
export_proto(minloc0_4_i16);
void
minloc0_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 *array)
minloc0_4_i16 (gfc_array_i4 * const restrict retarray,
gfc_array_i16 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_16 *base;
const GFC_INTEGER_16 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 *array)
}
extern void mminloc0_4_i16 (gfc_array_i4 *, gfc_array_i16 *, gfc_array_l4 *);
extern void mminloc0_4_i16 (gfc_array_i4 * const restrict,
gfc_array_i16 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_4_i16);
void
mminloc0_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 *array,
gfc_array_l4 * mask)
mminloc0_4_i16 (gfc_array_i4 * const restrict retarray,
gfc_array_i16 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_4_i16 (gfc_array_i4 * retarray, gfc_array_i16 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_INTEGER_16 *base;
const GFC_INTEGER_16 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_4) && defined (HAVE_GFC_INTEGER_4)
extern void minloc0_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 *array);
extern void minloc0_4_i4 (gfc_array_i4 * const restrict retarray,
gfc_array_i4 * const restrict array);
export_proto(minloc0_4_i4);
void
minloc0_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 *array)
minloc0_4_i4 (gfc_array_i4 * const restrict retarray,
gfc_array_i4 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *base;
const GFC_INTEGER_4 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 *array)
}
extern void mminloc0_4_i4 (gfc_array_i4 *, gfc_array_i4 *, gfc_array_l4 *);
extern void mminloc0_4_i4 (gfc_array_i4 * const restrict,
gfc_array_i4 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_4_i4);
void
mminloc0_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 *array,
gfc_array_l4 * mask)
mminloc0_4_i4 (gfc_array_i4 * const restrict retarray,
gfc_array_i4 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_4_i4 (gfc_array_i4 * retarray, gfc_array_i4 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_INTEGER_4 *base;
const GFC_INTEGER_4 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_INTEGER_8) && defined (HAVE_GFC_INTEGER_4)
extern void minloc0_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 *array);
extern void minloc0_4_i8 (gfc_array_i4 * const restrict retarray,
gfc_array_i8 * const restrict array);
export_proto(minloc0_4_i8);
void
minloc0_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 *array)
minloc0_4_i8 (gfc_array_i4 * const restrict retarray,
gfc_array_i8 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_8 *base;
const GFC_INTEGER_8 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 *array)
}
extern void mminloc0_4_i8 (gfc_array_i4 *, gfc_array_i8 *, gfc_array_l4 *);
extern void mminloc0_4_i8 (gfc_array_i4 * const restrict,
gfc_array_i8 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_4_i8);
void
mminloc0_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 *array,
gfc_array_l4 * mask)
mminloc0_4_i8 (gfc_array_i4 * const restrict retarray,
gfc_array_i8 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_4_i8 (gfc_array_i4 * retarray, gfc_array_i8 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_INTEGER_8 *base;
const GFC_INTEGER_8 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_10) && defined (HAVE_GFC_INTEGER_4)
extern void minloc0_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 *array);
extern void minloc0_4_r10 (gfc_array_i4 * const restrict retarray,
gfc_array_r10 * const restrict array);
export_proto(minloc0_4_r10);
void
minloc0_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 *array)
minloc0_4_r10 (gfc_array_i4 * const restrict retarray,
gfc_array_r10 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_10 *base;
const GFC_REAL_10 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 *array)
}
extern void mminloc0_4_r10 (gfc_array_i4 *, gfc_array_r10 *, gfc_array_l4 *);
extern void mminloc0_4_r10 (gfc_array_i4 * const restrict,
gfc_array_r10 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_4_r10);
void
mminloc0_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 *array,
gfc_array_l4 * mask)
mminloc0_4_r10 (gfc_array_i4 * const restrict retarray,
gfc_array_r10 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_4_r10 (gfc_array_i4 * retarray, gfc_array_r10 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_REAL_10 *base;
const GFC_REAL_10 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_16) && defined (HAVE_GFC_INTEGER_4)
extern void minloc0_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 *array);
extern void minloc0_4_r16 (gfc_array_i4 * const restrict retarray,
gfc_array_r16 * const restrict array);
export_proto(minloc0_4_r16);
void
minloc0_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 *array)
minloc0_4_r16 (gfc_array_i4 * const restrict retarray,
gfc_array_r16 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_16 *base;
const GFC_REAL_16 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 *array)
}
extern void mminloc0_4_r16 (gfc_array_i4 *, gfc_array_r16 *, gfc_array_l4 *);
extern void mminloc0_4_r16 (gfc_array_i4 * const restrict,
gfc_array_r16 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_4_r16);
void
mminloc0_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 *array,
gfc_array_l4 * mask)
mminloc0_4_r16 (gfc_array_i4 * const restrict retarray,
gfc_array_r16 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_4_r16 (gfc_array_i4 * retarray, gfc_array_r16 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_REAL_16 *base;
const GFC_REAL_16 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

View file

@ -39,17 +39,19 @@ Boston, MA 02110-1301, USA. */
#if defined (HAVE_GFC_REAL_4) && defined (HAVE_GFC_INTEGER_4)
extern void minloc0_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 *array);
extern void minloc0_4_r4 (gfc_array_i4 * const restrict retarray,
gfc_array_r4 * const restrict array);
export_proto(minloc0_4_r4);
void
minloc0_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 *array)
minloc0_4_r4 (gfc_array_i4 * const restrict retarray,
gfc_array_r4 * const restrict array)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
index_type sstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_REAL_4 *base;
const GFC_REAL_4 *base;
GFC_INTEGER_4 *dest;
index_type rank;
index_type n;
@ -154,12 +156,14 @@ minloc0_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 *array)
}
extern void mminloc0_4_r4 (gfc_array_i4 *, gfc_array_r4 *, gfc_array_l4 *);
extern void mminloc0_4_r4 (gfc_array_i4 * const restrict,
gfc_array_r4 * const restrict, gfc_array_l4 * const restrict);
export_proto(mminloc0_4_r4);
void
mminloc0_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 *array,
gfc_array_l4 * mask)
mminloc0_4_r4 (gfc_array_i4 * const restrict retarray,
gfc_array_r4 * const restrict array,
gfc_array_l4 * const restrict mask)
{
index_type count[GFC_MAX_DIMENSIONS];
index_type extent[GFC_MAX_DIMENSIONS];
@ -167,7 +171,7 @@ mminloc0_4_r4 (gfc_array_i4 * retarray, gfc_array_r4 *array,
index_type mstride[GFC_MAX_DIMENSIONS];
index_type dstride;
GFC_INTEGER_4 *dest;
GFC_REAL_4 *base;
const GFC_REAL_4 *base;
GFC_LOGICAL_4 *mbase;
int rank;
index_type n;

Some files were not shown because too many files have changed in this diff Show more