PAPI 7.1.0.0
Loading...
Searching...
No Matches
pfmlib_comp_crayx2.h
Go to the documentation of this file.
1/*
2 * Cray X2 compiler specific macros
3 *
4 * Copyright (c) 2007 Cray Inc.
5 * Contributed by Steve Kaufmann <sbk@cray.com> based on code from
6 * Copyright (c) 2005-2006 Hewlett-Packard Development Company, L.P.
7 * Contributed by Stephane Eranian <eranian@hpl.hp.com>
8 *
9 * Permission is hereby granted, free of charge, to any person obtaining a copy
10 * of this software and associated documentation files (the "Software"), to deal
11 * in the Software without restriction, including without limitation the rights
12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
13 * of the Software, and to permit persons to whom the Software is furnished to do so,
14 * subject to the following conditions:
15 *
16 * The above copyright notice and this permission notice shall be included in all
17 * copies or substantial portions of the Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
20 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
21 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
22 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
23 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
24 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 */
26
27#ifndef __PFMLIB_COMP_CRAYX2_H__
28#define __PFMLIB_COMP_CRAYX2_H__
29
30#ifndef __PFMLIB_COMP_H__
31#error "you should never include this file directly, use pfmlib_comp.h"
32#endif
33
34#include <asm/intrinsics.h>
35
36#define pfmlib_popcnt _pop
37
38#endif /* __PFMLIB_COMP_CRAYX2_H__ */