URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 703 |
Rev 706 |
Line 58... |
Line 58... |
Recommendation: irrelevant instruction bits should be set with a value of
|
Recommendation: irrelevant instruction bits should be set with a value of
|
bits in same positions of instruction preceding current instruction in the
|
bits in same positions of instruction preceding current instruction in the
|
code (when assembling).
|
code (when assembling).
|
*/
|
*/
|
|
|
|
#if defined HAS_EXECUTION && SIMPLE_EXECUTION
|
#define EFN &l_none
|
#define EFN &l_none
|
|
|
#ifdef HAS_EXECUTION
|
|
#define EF(func) &(func)
|
#define EF(func) &(func)
|
#define EFI &l_invalid
|
#define EFI &l_invalid
|
#else /* HAS_EXECUTION */
|
#else /* HAS_EXECUTION */
|
|
|
|
#ifndef HAS_EXECUTION
|
|
#define EFN &l_none
|
#define EF(func) EFN
|
#define EF(func) EFN
|
#define EFI EFN
|
#define EFI EFN
|
|
#else /* !HAS_EXECUTION */
|
|
#define EFN "l_none"
|
|
#define EFI "l_invalid"
|
|
#ifdef __GNUC__
|
|
#define EF(func) #func
|
|
#else
|
|
#define EF(func) "func"
|
|
#endif
|
|
#endif /* !HAS_EXECUTION */
|
|
|
#endif /* HAS_EXECUTION */
|
#endif /* HAS_EXECUTION */
|
|
|
CONST struct or32_opcode or32_opcodes[] =
|
CONST struct or32_opcode or32_opcodes[] =
|
{
|
{
|
|
|
Line 428... |
Line 440... |
|
|
|
|
/*** Finite automata for instruction decoding building code ***/
|
/*** Finite automata for instruction decoding building code ***/
|
|
|
/* Find simbols in encoding. */
|
/* Find simbols in encoding. */
|
static unsigned long
|
unsigned long
|
insn_extract(param_ch, enc_initial)
|
insn_extract(param_ch, enc_initial)
|
char param_ch;
|
char param_ch;
|
char *enc_initial;
|
char *enc_initial;
|
{
|
{
|
char *enc;
|
char *enc;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.