OpenCores
URL https://opencores.org/ocsvn/or2k/or2k/trunk

Subversion Repositories or2k

[/] [or2k/] [trunk/] [analysis-bin/] [insnanalysis/] [or1k-32-insn.h] - Diff between revs 16 and 17

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 16 Rev 17
Line 1... Line 1...
 
/*
 
  Or1K instruction set-specific decoding and analysis functions.
 
 
// OpenRISC 1000 32-bit instruction defines, helping us
  Julius Baxter, julius.baxter@orsoc.se
// extract fields of the instructions
 
 
*/
 
 
 
 
 
 
// Struct for information about the register to be confugred
// Struct for information about the register to be confugred
// Set to 1 to enable
// Set to 1 to enable
Line 20... Line 23...
 
 
  char *insn_string;
  char *insn_string;
 
 
};
};
 
 
 
// OpenRISC 1000 32-bit instruction defines, helping us
 
// extract fields of the instructions
 
 
// Instruction decode/set its options
// Instruction decode/set its options
int or1k_32_analyse_insn(uint32_t insn,
int or1k_32_analyse_insn(uint32_t insn,
                         struct or1k_32_instruction_properties *insn_props);
                         struct or1k_32_instruction_properties *insn_props);
 
 
 
 
Line 46... Line 52...
 
 
// Add the stats for this one
// Add the stats for this one
void or1k_32_insn_lists_add(int index, uint32_t insn,
void or1k_32_insn_lists_add(int index, uint32_t insn,
                            struct or1k_32_instruction_properties *insn_props);
                            struct or1k_32_instruction_properties *insn_props);
 
 
 
// Print out some useful information
 
void or1k_32_generate_stats(FILE * stream);
 
 
// Free lists
// Free lists
void or1k_32_insn_lists_free(void);
void or1k_32_insn_lists_free(void);
 
 
#define JUMPTARG_MASK 0x3ffffff
#define JUMPTARG_MASK 0x3ffffff
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.