support encoding instructions with indexed and scaled memory offsets

This commit is contained in:
Joel Dice
2007-12-13 18:59:56 -07:00
parent ec8fc80ebe
commit b3918a0d7d
3 changed files with 58 additions and 56 deletions

View File

@ -118,7 +118,6 @@ nextPowerOfTwo(unsigned n)
inline unsigned
log(unsigned n)
{
if (n < 3) return 1;
unsigned r = 0;
for (unsigned i = 1; i < n; ++r) i <<= 1;
return r;