|
Packit Service |
82fcde |
/* Data for processor capability information. PowerPC version.
|
|
Packit Service |
82fcde |
Copyright (C) 2005-2018 Free Software Foundation, Inc.
|
|
Packit Service |
82fcde |
This file is part of the GNU C Library.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
82fcde |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License as published by the Free Software Foundation; either
|
|
Packit Service |
82fcde |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
82fcde |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
82fcde |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
82fcde |
Lesser General Public License for more details.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License along with the GNU C Library. If not, see
|
|
Packit Service |
82fcde |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
/* This information must be kept in sync with the _DL_HWCAP_COUNT
|
|
Packit Service |
82fcde |
definition in procinfo.h.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
If anything should be added here check whether the size of each string
|
|
Packit Service |
82fcde |
is still ok with the given array size.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
All the #ifdefs in the definitions are quite irritating but
|
|
Packit Service |
82fcde |
necessary if we want to avoid duplicating the information. There
|
|
Packit Service |
82fcde |
are three different modes:
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
- PROCINFO_DECL is defined. This means we are only interested in
|
|
Packit Service |
82fcde |
declarations.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
- PROCINFO_DECL is not defined:
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
+ if SHARED is defined the file is included in an array
|
|
Packit Service |
82fcde |
initializer. The .element = { ... } syntax is needed.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
+ if SHARED is not defined a normal array initialization is
|
|
Packit Service |
82fcde |
needed.
|
|
Packit Service |
82fcde |
*/
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#ifndef PROCINFO_CLASS
|
|
Packit Service |
82fcde |
# define PROCINFO_CLASS
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#if !IS_IN (ldconfig)
|
|
Packit Service |
82fcde |
# if !defined PROCINFO_DECL && defined SHARED
|
|
Packit Service |
82fcde |
._dl_powerpc_cpu_features
|
|
Packit Service |
82fcde |
# else
|
|
Packit Service |
82fcde |
PROCINFO_CLASS struct cpu_features _dl_powerpc_cpu_features
|
|
Packit Service |
82fcde |
# endif
|
|
Packit Service |
82fcde |
# ifndef PROCINFO_DECL
|
|
Packit Service |
82fcde |
= { }
|
|
Packit Service |
82fcde |
# endif
|
|
Packit Service |
82fcde |
# if !defined SHARED || defined PROCINFO_DECL
|
|
Packit Service |
82fcde |
;
|
|
Packit Service |
82fcde |
# else
|
|
Packit Service |
82fcde |
,
|
|
Packit Service |
82fcde |
# endif
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#if !defined PROCINFO_DECL && defined SHARED
|
|
Packit Service |
82fcde |
._dl_powerpc_cap_flags
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
PROCINFO_CLASS const char _dl_powerpc_cap_flags[64][15]
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
#ifndef PROCINFO_DECL
|
|
Packit Service |
82fcde |
= {
|
|
Packit Service |
82fcde |
"ppcle", "true_le", "", "",
|
|
Packit Service |
82fcde |
"", "", "archpmu", "vsx",
|
|
Packit Service |
82fcde |
"arch_2_06", "power6x", "dfp", "pa6t",
|
|
Packit Service |
82fcde |
"arch_2_05", "ic_snoop", "smt", "booke",
|
|
Packit Service |
82fcde |
"cellbe", "power5+", "power5", "power4",
|
|
Packit Service |
82fcde |
"notb", "efpdouble", "efpsingle", "spe",
|
|
Packit Service |
82fcde |
"ucache", "4xxmac", "mmu", "fpu",
|
|
Packit Service |
82fcde |
"altivec", "ppc601", "ppc64", "ppc32",
|
|
Packit Service |
82fcde |
"", "", "", "",
|
|
Packit Service |
82fcde |
"", "", "", "",
|
|
Packit Service |
82fcde |
"", "", "", "",
|
|
Packit Service |
82fcde |
"", "", "", "",
|
|
Packit Service |
82fcde |
"", "", "", "htm-no-suspend",
|
|
Packit Service |
82fcde |
"scv", "darn", "ieee128", "arch_3_00",
|
|
Packit Service |
82fcde |
"htm-nosc", "vcrypto", "tar", "isel",
|
|
Packit Service |
82fcde |
"ebb", "dscr", "htm", "arch_2_07",
|
|
Packit Service |
82fcde |
}
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
#if !defined SHARED || defined PROCINFO_DECL
|
|
Packit Service |
82fcde |
;
|
|
Packit Service |
82fcde |
#else
|
|
Packit Service |
82fcde |
,
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#undef PROCINFO_DECL
|
|
Packit Service |
82fcde |
#undef PROCINFO_CLASS
|