Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
ppc.h File Reference

Go to the source code of this file.

Data Structures

struct  powerpc_opcode
 
struct  powerpc_operand
 
struct  powerpc_macro
 

Macros

#define PPC_OPCODE_PPC   1
 
#define PPC_OPCODE_POWER   2
 
#define PPC_OPCODE_POWER2   4
 
#define PPC_OPCODE_32   8
 
#define PPC_OPCODE_64   0x10
 
#define PPC_OPCODE_601   0x20
 
#define PPC_OPCODE_COMMON   0x40
 
#define PPC_OPCODE_ANY   0x80
 
#define PPC_OPCODE_64_BRIDGE   0x100
 
#define PPC_OPCODE_ALTIVEC   0x200
 
#define PPC_OPCODE_403   0x400
 
#define PPC_OPCODE_BOOKE   0x800
 
#define PPC_OPCODE_BOOKE64   0x1000
 
#define PPC_OPCODE_440   0x2000
 
#define PPC_OPCODE_POWER4   0x4000
 
#define PPC_OPCODE_NOPOWER4   0x8000
 
#define PPC_OPCODE_CLASSIC   0x10000
 
#define PPC_OPCODE_SPE   0x20000
 
#define PPC_OPCODE_ISEL   0x40000
 
#define PPC_OPCODE_EFS   0x80000
 
#define PPC_OPCODE_BRLOCK   0x100000
 
#define PPC_OPCODE_PMR   0x200000
 
#define PPC_OPCODE_CACHELCK   0x400000
 
#define PPC_OPCODE_RFMCI   0x800000
 
#define PPC_OPCODE_POWER5   0x1000000
 
#define PPC_OPCODE_E300   0x2000000
 
#define PPC_OPCODE_POWER6   0x4000000
 
#define PPC_OPCODE_CELL   0x8000000
 
#define PPC_OP(i)   (((i) >> 26) & 0x3f)
 
#define PPC_OPERAND_SIGNED   (01)
 
#define PPC_OPERAND_SIGNOPT   (02)
 
#define PPC_OPERAND_FAKE   (04)
 
#define PPC_OPERAND_PARENS   (010)
 
#define PPC_OPERAND_CR   (020)
 
#define PPC_OPERAND_GPR   (040)
 
#define PPC_OPERAND_GPR_0   (0100)
 
#define PPC_OPERAND_FPR   (0200)
 
#define PPC_OPERAND_RELATIVE   (0400)
 
#define PPC_OPERAND_ABSOLUTE   (01000)
 
#define PPC_OPERAND_OPTIONAL   (02000)
 
#define PPC_OPERAND_NEXT   (04000)
 
#define PPC_OPERAND_NEGATIVE   (010000)
 
#define PPC_OPERAND_VR   (020000)
 
#define PPC_OPERAND_DS   (040000)
 
#define PPC_OPERAND_DQ   (0100000)
 

Variables

struct powerpc_opcode powerpc_opcodes []
 
const int powerpc_num_opcodes
 
struct powerpc_operand powerpc_operands []
 
struct powerpc_macro powerpc_macros []
 
const int powerpc_num_macros
 

Macro Definition Documentation

#define PPC_OP (   i)    (((i) >> 26) & 0x3f)

Definition at line 150 of file ppc.h.

#define PPC_OPCODE_32   8

Definition at line 71 of file ppc.h.

#define PPC_OPCODE_403   0x400

Definition at line 96 of file ppc.h.

#define PPC_OPCODE_440   0x2000

Definition at line 105 of file ppc.h.

#define PPC_OPCODE_601   0x20

Definition at line 79 of file ppc.h.

#define PPC_OPCODE_64   0x10

Definition at line 74 of file ppc.h.

#define PPC_OPCODE_64_BRIDGE   0x100

Definition at line 90 of file ppc.h.

#define PPC_OPCODE_ALTIVEC   0x200

Definition at line 93 of file ppc.h.

#define PPC_OPCODE_ANY   0x80

Definition at line 87 of file ppc.h.

#define PPC_OPCODE_BOOKE   0x800

Definition at line 99 of file ppc.h.

#define PPC_OPCODE_BOOKE64   0x1000

Definition at line 102 of file ppc.h.

#define PPC_OPCODE_BRLOCK   0x100000

Definition at line 126 of file ppc.h.

#define PPC_OPCODE_CACHELCK   0x400000

Definition at line 132 of file ppc.h.

#define PPC_OPCODE_CELL   0x8000000

Definition at line 147 of file ppc.h.

#define PPC_OPCODE_CLASSIC   0x10000

Definition at line 114 of file ppc.h.

#define PPC_OPCODE_COMMON   0x40

Definition at line 83 of file ppc.h.

#define PPC_OPCODE_E300   0x2000000

Definition at line 141 of file ppc.h.

#define PPC_OPCODE_EFS   0x80000

Definition at line 123 of file ppc.h.

#define PPC_OPCODE_ISEL   0x40000

Definition at line 120 of file ppc.h.

#define PPC_OPCODE_NOPOWER4   0x8000

Definition at line 111 of file ppc.h.

#define PPC_OPCODE_PMR   0x200000

Definition at line 129 of file ppc.h.

#define PPC_OPCODE_POWER   2

Definition at line 65 of file ppc.h.

#define PPC_OPCODE_POWER2   4

Definition at line 68 of file ppc.h.

#define PPC_OPCODE_POWER4   0x4000

Definition at line 108 of file ppc.h.

#define PPC_OPCODE_POWER5   0x1000000

Definition at line 138 of file ppc.h.

#define PPC_OPCODE_POWER6   0x4000000

Definition at line 144 of file ppc.h.

#define PPC_OPCODE_PPC   1

Definition at line 62 of file ppc.h.

#define PPC_OPCODE_RFMCI   0x800000

Definition at line 135 of file ppc.h.

#define PPC_OPCODE_SPE   0x20000

Definition at line 117 of file ppc.h.

#define PPC_OPERAND_ABSOLUTE   (01000)

Definition at line 261 of file ppc.h.

#define PPC_OPERAND_CR   (020)

Definition at line 242 of file ppc.h.

#define PPC_OPERAND_DQ   (0100000)

Definition at line 294 of file ppc.h.

#define PPC_OPERAND_DS   (040000)

Definition at line 291 of file ppc.h.

#define PPC_OPERAND_FAKE   (04)

Definition at line 226 of file ppc.h.

#define PPC_OPERAND_FPR   (0200)

Definition at line 253 of file ppc.h.

#define PPC_OPERAND_GPR   (040)

Definition at line 246 of file ppc.h.

#define PPC_OPERAND_GPR_0   (0100)

Definition at line 249 of file ppc.h.

#define PPC_OPERAND_NEGATIVE   (010000)

Definition at line 284 of file ppc.h.

#define PPC_OPERAND_NEXT   (04000)

Definition at line 277 of file ppc.h.

#define PPC_OPERAND_OPTIONAL   (02000)

Definition at line 269 of file ppc.h.

#define PPC_OPERAND_PARENS   (010)

Definition at line 233 of file ppc.h.

#define PPC_OPERAND_RELATIVE   (0400)

Definition at line 257 of file ppc.h.

#define PPC_OPERAND_SIGNED   (01)

Definition at line 212 of file ppc.h.

#define PPC_OPERAND_SIGNOPT   (02)

Definition at line 218 of file ppc.h.

#define PPC_OPERAND_VR   (020000)

Definition at line 288 of file ppc.h.

Variable Documentation

struct powerpc_macro powerpc_macros[]

Definition at line 4951 of file ppc-opc.c.

const int powerpc_num_macros

Definition at line 4993 of file ppc-opc.c.

const int powerpc_num_opcodes

Definition at line 4937 of file ppc-opc.c.

struct powerpc_opcode powerpc_opcodes[]

Definition at line 1934 of file ppc-opc.c.

struct powerpc_operand powerpc_operands[]

Definition at line 113 of file ppc-opc.c.