Home | History | Annotate | Line # | Download | only in m68000
      1   1.1  mrg /* This file is automatically generated.  DO NOT EDIT! */
      2  1.12  mrg /* Generated from: NetBSD: mknative-gcc,v 1.117 2023/07/31 01:48:37 mrg Exp  */
      3   1.8  mrg /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
      4   1.1  mrg 
      5  1.12  mrg /* Copyright (C) 2005-2022 Free Software Foundation, Inc.
      6   1.1  mrg    Contributed by Jakub Jelinek <jakub (at) redhat.com>.
      7   1.1  mrg 
      8   1.5  mrg    This file is part of the GNU Offloading and Multi Processing Library
      9   1.5  mrg    (libgomp).
     10   1.1  mrg 
     11   1.1  mrg    Libgomp is free software; you can redistribute it and/or modify it
     12   1.1  mrg    under the terms of the GNU General Public License as published by
     13   1.1  mrg    the Free Software Foundation; either version 3, or (at your option)
     14   1.1  mrg    any later version.
     15   1.1  mrg 
     16   1.1  mrg    Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY
     17   1.1  mrg    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
     18   1.1  mrg    FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
     19   1.1  mrg    more details.
     20   1.1  mrg 
     21   1.1  mrg    Under Section 7 of GPL version 3, you are granted additional
     22   1.1  mrg    permissions described in the GCC Runtime Library Exception, version
     23   1.1  mrg    3.1, as published by the Free Software Foundation.
     24   1.1  mrg 
     25   1.1  mrg    You should have received a copy of the GNU General Public License and
     26   1.1  mrg    a copy of the GCC Runtime Library Exception along with this program;
     27   1.1  mrg    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
     28   1.1  mrg    <http://www.gnu.org/licenses/>.  */
     29   1.1  mrg 
     30   1.1  mrg /* This file contains prototypes of functions in the external ABI.
     31   1.1  mrg    This file is included by files in the testsuite.  */
     32   1.1  mrg 
     33   1.1  mrg #ifndef LIBGOMP_F_H
     34   1.1  mrg #define LIBGOMP_F_H 1
     35   1.1  mrg 
     36   1.1  mrg #include "libgomp.h"
     37   1.1  mrg 
     38   1.1  mrg #if (4 == 4) \
     39   1.1  mrg     && (4 <= 4)
     40   1.1  mrg # define OMP_LOCK_DIRECT
     41   1.1  mrg typedef omp_lock_t *omp_lock_arg_t;
     42   1.1  mrg # define omp_lock_arg(arg) (arg)
     43   1.1  mrg #else
     44   1.1  mrg typedef union { omp_lock_t *lock; uint64_t u; } *omp_lock_arg_t;
     45   1.1  mrg # define omp_lock_arg(arg) ((arg)->lock)
     46   1.1  mrg # endif
     47   1.1  mrg 
     48   1.1  mrg #if (12 == 8) \
     49   1.1  mrg     && (4 <= 12)
     50   1.1  mrg # define OMP_NEST_LOCK_DIRECT
     51   1.1  mrg typedef omp_nest_lock_t *omp_nest_lock_arg_t;
     52   1.1  mrg # define omp_nest_lock_arg(arg) (arg)
     53   1.1  mrg #else
     54   1.1  mrg typedef union { omp_nest_lock_t *lock; uint64_t u; } *omp_nest_lock_arg_t;
     55   1.1  mrg # define omp_nest_lock_arg(arg) ((arg)->lock)
     56   1.1  mrg # endif
     57   1.1  mrg 
     58   1.1  mrg #if (24 == 8) \
     59   1.1  mrg     && (4 <= 24)
     60   1.1  mrg # define OMP_LOCK_25_DIRECT
     61   1.1  mrg typedef omp_lock_25_t *omp_lock_25_arg_t;
     62   1.1  mrg # define omp_lock_25_arg(arg) (arg)
     63   1.1  mrg #else
     64   1.1  mrg typedef union { omp_lock_25_t *lock; uint64_t u; } *omp_lock_25_arg_t;
     65   1.1  mrg # define omp_lock_25_arg(arg) ((arg)->lock)
     66   1.1  mrg # endif
     67   1.1  mrg 
     68   1.1  mrg #if (28 == 8) \
     69   1.1  mrg     && (4 <= 28)
     70   1.1  mrg # define OMP_NEST_LOCK_25_DIRECT
     71   1.1  mrg typedef omp_nest_lock_25_t *omp_nest_lock_25_arg_t;
     72   1.1  mrg # define omp_nest_lock_25_arg(arg) (arg)
     73   1.1  mrg #else
     74   1.1  mrg typedef union { omp_nest_lock_25_t *lock; uint64_t u; } *omp_nest_lock_25_arg_t;
     75   1.1  mrg # define omp_nest_lock_25_arg(arg) ((arg)->lock)
     76   1.1  mrg # endif
     77   1.1  mrg 
     78   1.1  mrg static inline void
     79   1.1  mrg omp_check_defines (void)
     80   1.1  mrg {
     81   1.1  mrg   char test[(4 != sizeof (omp_lock_t)
     82   1.1  mrg 	     || 4 != __alignof (omp_lock_t)
     83   1.1  mrg 	     || 12 != sizeof (omp_nest_lock_t)
     84   1.1  mrg 	     || 4 != __alignof (omp_nest_lock_t)
     85   1.1  mrg 	     || 4 != sizeof (*(omp_lock_arg_t) 0)
     86  1.12  mrg 	     || 8 != sizeof (*(omp_nest_lock_arg_t) 0)
     87  1.12  mrg 	     || 4 != sizeof (omp_allocator_handle_t)
     88  1.12  mrg 	     || 4 != sizeof (omp_alloctrait_key_t)
     89  1.12  mrg 	     || 4 != sizeof (omp_alloctrait_value_t)
     90  1.12  mrg 	     || 4 != sizeof (omp_memspace_handle_t)
     91  1.12  mrg 	     || 8 != sizeof (omp_depend_t))
     92   1.1  mrg 	    ? -1 : 1] __attribute__ ((__unused__));
     93   1.1  mrg   char test2[(24 != sizeof (omp_lock_25_t)
     94   1.1  mrg 	     || 4 != __alignof (omp_lock_25_t)
     95   1.1  mrg 	     || 28 != sizeof (omp_nest_lock_25_t)
     96   1.1  mrg 	     || 4 != __alignof (omp_nest_lock_25_t)
     97   1.1  mrg 	     || 8 != sizeof (*(omp_lock_25_arg_t) 0)
     98   1.1  mrg 	     || 8
     99   1.1  mrg 		!= sizeof (*(omp_nest_lock_25_arg_t) 0))
    100   1.1  mrg 	    ? -1 : 1] __attribute__ ((__unused__));
    101   1.1  mrg }
    102   1.1  mrg 
    103   1.1  mrg #endif /* LIBGOMP_F_H */
    104