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

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/or1ksim/cpu/or32
    from Rev 673 to Rev 784
    Reverse comparison

Rev 673 → Rev 784

/Makefile.in
148,6 → 148,7
DEFS = @DEFS@
DEJAGNU = @DEJAGNU@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
175,6 → 176,7
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
NM = @NM@
NMEDIT = @NMEDIT@
204,6 → 206,7
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
236,7 → 239,6
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
/or32.c
669,7 → 669,7
{
opc_pos--;
if (param_ch == *enc)
ret |= 1UL << opc_pos;
ret |= 1 << opc_pos;
}
enc++;
}
717,9 → 717,7
static unsigned long *
cover_insn (unsigned long *cur, int pass, unsigned int mask)
{
int best_first = 0, last_match = -1, ninstr = 0;
unsigned int best_len = 0;
unsigned int i;
int best_first = 0, best_len = 0, i, last_match = -1, ninstr = 0;
unsigned long cur_mask = mask;
unsigned long *next;
 
781,14 → 779,14
best_first, ninstr);
*cur = best_first;
cur++;
*cur = (1UL << best_len) - 1;
*cur = (1 << best_len) - 1;
cur++;
next = cur;
/* Allocate space for pointers. */
cur += 1UL << best_len;
cur_mask = (1UL << (unsigned long) best_len) - 1;
cur += 1 << best_len;
cur_mask = (1 << (unsigned long) best_len) - 1;
 
for (i = 0; i < (1UL << (unsigned long) best_len); i++)
for (i = 0; i < (1 << (unsigned long) best_len); i++)
{
int j;
unsigned long *c;
894,7 → 892,7
}
cur->type = type | shr;
cur->data = mask;
arg &= ~(((1UL << mask) - 1) << shr);
arg &= ~(((1 << mask) - 1) << shr);
or32_debug (6, "|%08lX %08lX\n", cur->type, cur->data);
cur++;
num_cur_op++;
1103,7 → 1101,7
/* First truncate all bits above valid range for this letter
in case it is zero extend. */
letter_bits = letter_range (l);
mask = (1UL << letter_bits) - 1;
mask = (1 << letter_bits) - 1;
imm &= mask;
 
/* Do sign extend if this is the right one. */
1158,7 → 1156,7
{
opc_pos--;
if (param_ch == *enc)
ret |= 1UL << opc_pos;
ret |= 1 << opc_pos;
enc++;
}
else if (*enc == param_ch)

powered by: WebSVN 2.1.0

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