1#ifndef ROSE_BinaryAnalysis_InstructionEnumsPowerpc_H
2#define ROSE_BinaryAnalysis_InstructionEnumsPowerpc_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
9namespace BinaryAnalysis {
58enum PowerpcInstructionKind {
59 powerpc_unknown_instruction = 0,
79 powerpc_addmeo_record,
83 powerpc_addzeo_record,
107 powerpc_cntlzd_record,
109 powerpc_cntlzw_record,
128 powerpc_divdo_record,
130 powerpc_divdu_record,
132 powerpc_divduo_record,
136 powerpc_divwo_record,
138 powerpc_divwu_record,
140 powerpc_divwuo_record,
153 powerpc_extsb_record,
155 powerpc_extsh_record,
157 powerpc_extsw_record,
163 powerpc_fadds_record,
165 powerpc_fcfid_record,
169 powerpc_fctid_record,
171 powerpc_fctidz_record,
173 powerpc_fctiw_record,
175 powerpc_fctiwz_record,
179 powerpc_fdivs_record,
181 powerpc_fmadd_record,
183 powerpc_fmadds_record,
187 powerpc_fmsub_record,
189 powerpc_fmsubs_record,
193 powerpc_fmuls_record,
195 powerpc_fnabs_record,
199 powerpc_fnmadd_record,
201 powerpc_fnmadds_record,
203 powerpc_fnmsub_record,
205 powerpc_fnmsubs_record,
285 powerpc_frsqrte_record,
287 powerpc_frsqrtes_record,
291 powerpc_fsqrt_record,
293 powerpc_fsqrts_record,
297 powerpc_fsubs_record,
352 powerpc_mtfsb0_record,
354 powerpc_mtfsb1_record,
356 powerpc_mtfsf_record,
358 powerpc_mtfsfi_record,
367 powerpc_mulhd_record,
369 powerpc_mulhdu_record,
371 powerpc_mulhw_record,
373 powerpc_mulhwu_record,
375 powerpc_mulld_record,
377 powerpc_mulldo_record,
380 powerpc_mullw_record,
382 powerpc_mullwo_record,
401 powerpc_rldcl_record,
403 powerpc_rldcr_record,
405 powerpc_rldic_record,
407 powerpc_rldicl_record,
409 powerpc_rldicr_record,
411 powerpc_rldimi_record,
413 powerpc_rlwimi_record,
415 powerpc_rlwinm_record,
417 powerpc_rlwnm_record,
428 powerpc_sradi_record,
434 powerpc_srawi_record,
442 powerpc_stdcx_record,
465 powerpc_stwcx_record,
472 powerpc_subfo_record,
474 powerpc_subfc_record,
476 powerpc_subfco_record,
478 powerpc_subfe_record,
480 powerpc_subfeo_record,
483 powerpc_subfme_record,
485 powerpc_subfmeo_record,
487 powerpc_subfze_record,
489 powerpc_subfzeo_record,
502 powerpc_last_instruction
506enum PowerpcRegisterClass {
507 powerpc_regclass_unknown,
508 powerpc_regclass_gpr,
509 powerpc_regclass_fpr,
511 powerpc_regclass_fpscr,
512 powerpc_regclass_spr,
513 powerpc_regclass_tbr,
514 powerpc_regclass_msr,
516 powerpc_regclass_iar,
517 powerpc_regclass_pvr,
518 powerpc_last_register_class
522enum PowerpcConditionRegisterAccessGranularity {
523 powerpc_condreggranularity_whole,
524 powerpc_condreggranularity_field,
525 powerpc_condreggranularity_bit
529enum PowerpcSpecialPurposeRegister {
534 powerpc_spr_dsisr = 18,
535 powerpc_spr_dar = 19,
540enum PowerpcTimeBaseRegister {
542 powerpc_tbr_tbl = 268,
543 powerpc_tbr_tbu = 269
PowerpcCapability
Subsets for the PowerPC instruction set.
@ powerpc_capability_oea
Operating environment architecture (OEA).
@ powerpc_capability_uisa
User instruction set architecture (UISA).
@ powerpc_capability_vea
Virtual environment architecture (VEA).
@ powerpc_capability_all
All decoding capabilities.
@ powerpc_capability_uncategorized
Uncategorized or unknown.
@ powerpc_capability_default
Default decoding capabilities.
@ powerpc_capability_440fpu
PowerPC 440 floating-point unit.