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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [cuc/] [insn.c] - Diff between revs 997 and 1041

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

Rev 997 Rev 1041
Line 741... Line 741...
            } else /* add - sfxx joining */
            } else /* add - sfxx joining */
            if (prev->index == II_ADD && (
            if (prev->index == II_ADD && (
                ii->index == II_SFEQ || ii->index == II_SFNE
                ii->index == II_SFEQ || ii->index == II_SFNE
             || ii->index == II_SFLT || ii->index == II_SFLE
             || ii->index == II_SFLT || ii->index == II_SFLE
             || ii->index == II_SFGT || ii->index == II_SFGE)) {
             || ii->index == II_SFGT || ii->index == II_SFGE)) {
              if (ii->opt[2] & OPT_CONST) {
              if (ii->opt[2] & OPT_CONST && ii->op[2] < 0x80000000) {
                ii->op[1] = prev->op[1]; ii->opt[1] = prev->opt[1];
                ii->op[1] = prev->op[1]; ii->opt[1] = prev->opt[1];
                ii->op[2] -= prev->op[2];
                ii->op[2] -= prev->op[2];
                modified = 1; cucdebug (2, "%8x: add-sfxx\n", REF(b, i));
                modified = 1; cucdebug (2, "%8x: add-sfxx\n", REF(b, i));
              }
              }
            } else /* sub - sfxx joining */
            } else /* sub - sfxx joining */

powered by: WebSVN 2.1.0

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