URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [or1ksim/] [cuc/] [insn.c] - Diff between revs 917 and 925
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 917 |
Rev 925 |
Line 98... |
Line 98... |
case OPT_NONE: break;
|
case OPT_NONE: break;
|
case OPT_CONST: printf ("0x%08x, ", insn[i].op[j]); break;
|
case OPT_CONST: printf ("0x%08x, ", insn[i].op[j]); break;
|
case OPT_JUMP: printf ("J%x ", insn[i].op[j]); break;
|
case OPT_JUMP: printf ("J%x ", insn[i].op[j]); break;
|
case OPT_REGISTER: printf ("r%i, ", insn[i].op[j]); break;
|
case OPT_REGISTER: printf ("r%i, ", insn[i].op[j]); break;
|
case OPT_REF: printf ("[%x.%x], ", REF_BB(insn[i].op[j]), REF_I(insn[i].op[j])); break;
|
case OPT_REF: printf ("[%x.%x], ", REF_BB(insn[i].op[j]), REF_I(insn[i].op[j])); break;
|
case OPT_BB: printf ("BB%x, ", insn[i].op[j]); break;
|
case OPT_BB: printf ("BB "); print_bb_num (insn[i].op[j]); printf (", "); break;
|
case OPT_LRBB: printf ("LRBB, "); break;
|
case OPT_LRBB: printf ("LRBB, "); break;
|
default:
|
default:
|
fprintf (stderr, "Invalid operand type %s(%x.%x) = %x\n",
|
fprintf (stderr, "Invalid operand type %s(%x.%x) = %x\n",
|
cuc_insn_name (&insn[i]), i, j, insn[i].opt[j]);
|
cuc_insn_name (&insn[i]), i, j, insn[i].opt[j]);
|
assert (0);
|
assert (0);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.