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

Subversion Repositories or2k

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

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

Rev 17 Rev 18
Line 20... Line 20...
  int has_rD;
  int has_rD;
  int has_rA;
  int has_rA;
  int has_rB;
  int has_rB;
 
 
  char *insn_string;
  char *insn_string;
 
  int insn_index;
 
 
};
};
 
 
// OpenRISC 1000 32-bit instruction defines, helping us
// OpenRISC 1000 32-bit instruction defines, helping us
// extract fields of the instructions
// extract fields of the instructions
Line 40... Line 41...
 
 
// List management/analysis functions
// List management/analysis functions
// Reset lists
// Reset lists
void or1k_32_insn_lists_init(void);
void or1k_32_insn_lists_init(void);
 
 
// Check for an instruction
 
int or1k_32_insn_lists_check(uint32_t insn,
 
                             struct or1k_32_instruction_properties *insn_props);
 
 
 
// Add a unique instruction
 
int or1k_32_insn_lists_add_unique_insn(uint32_t insn,
 
                           struct or1k_32_instruction_properties *insn_props);
 
 
 
// 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(uint32_t insn,
                            struct or1k_32_instruction_properties *insn_props);
                            struct or1k_32_instruction_properties *insn_props);
 
 
// Print out some useful information
// Print out some useful information
void or1k_32_generate_stats(FILE * stream);
void or1k_32_generate_stats(FILE * stream);
 
 

powered by: WebSVN 2.1.0

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