Otawa  0.10
powerpc.h
Go to the documentation of this file.
1 /*
2  * $Id$
3  * Copyright (c) 2010, IRIT - UPS <casse@irit.fr>
4  *
5  * OTAWA PowerPC loader interface
6  * This file is part of OTAWA
7  *
8  * OTAWA is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * OTAWA is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with Foobar; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 #ifndef OTAWA_LOADER_POWERPC_H_
23 #define OTAWA_LOADER_POWERPC_H_
24 
25 #include <otawa/prog/Inst.h>
26 #include <otawa/proc/DynFeature.h>
28 
29 namespace otawa { namespace ppc {
30 
31 // static prediction type
32 typedef enum {
33  PRED_NONE = -1,
36 } prediction_t;
37 
38 #define USE_GLISS2_DECODER namespace otawa { namespace ppc { static DynIdentifier<void *> GLISS2_DECODER("otawa::ppc::GLISS2_DECODER"); } }
39 #define USE_STATIC_PREDICTION namespace otawa { namespace ppc { static DynIdentifier<prediction_t> STATIC_PREDICTION("otawa::ppc::STATIC_PREDICTION"); } }
40 #define USE_INFO_FEATURE namespace otawa { namespace ppc { static DynFeature INFO_FEATURE("otawa::ppc::INFO_FEATURE"); } }
41 
42 } } // ppc
43 
44 #endif /* POWERPC_H_ */
Definition: powerpc.h:35
prediction_t
Definition: powerpc.h:32
Definition: powerpc.h:34
Definition: powerpc.h:33