OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [or1ksim/] [cpu/] [common/] [execute.h] - Diff between revs 112 and 124

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

Rev 112 Rev 124
Line 37... Line 37...
#endif
#endif
 
 
 
 
#define CURINSN(INSN) (strcmp(cur->insn, (INSN)) == 0)
#define CURINSN(INSN) (strcmp(cur->insn, (INSN)) == 0)
 
 
/*! Sets a new SPR_SR_OV value, based on a three register operation. */
 
#define SET_OV_FLAG_FN(value)           \
 
  if((value) & 0x80000000) \
 
    cpu_state.sprs[SPR_SR] |= SPR_SR_OV; \
 
  else \
 
    cpu_state.sprs[SPR_SR] &= ~SPR_SR_OV
 
 
 
/*!The main structure holding the current execution state of the CPU
/*!The main structure holding the current execution state of the CPU
 
 
   Not to be confused with @c runtime, which holds the state of the
   Not to be confused with @c runtime, which holds the state of the
   simulation.
   simulation.
 
 

powered by: WebSVN 2.1.0

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