Merge zizzer:/bk/newmem
into pb15.local:/Users/ali/work/m5.newmem.zeep tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/m5stats.txt: tests/quick/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/m5stats.txt: the new version of this is what we want --HG-- extra : convert_revision : 204df6f8181df81e423def4695cd81544c485c47
This commit is contained in:
commit
e08a5c6052
1 changed files with 2 additions and 1 deletions
|
@ -96,8 +96,9 @@ inline
|
|||
T
|
||||
insertBits(T val, int first, int last, B bit_val)
|
||||
{
|
||||
T t_bit_val = bit_val;
|
||||
T bmask = mask(first - last + 1) << last;
|
||||
return ((bit_val << last) & bmask) | (val & ~bmask);
|
||||
return ((t_bit_val << last) & bmask) | (val & ~bmask);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue