Skip to content

Commit

Permalink
update uint128
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuo committed Apr 22, 2014
1 parent 9acb42f commit 6c16b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions basic/int128.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ struct uint128
return *this;
}

uint128& multiply(uint128 rhs) __attribute__ ((noinline))
uint128& multiply(uint128 rhs) // __attribute__ ((noinline))
{
uint64_t h = low * rhs.high + high * rhs.low;
*this = multiply128(low, rhs.low);
high += h;
return *this;
}

static uint128 multiply128(uint64_t x, uint64_t y) __attribute__ ((noinline))
static uint128 multiply128(uint64_t x, uint64_t y) // __attribute__ ((noinline))
{
#if __x86_64__
uint128 prod(x);
Expand Down

0 comments on commit 6c16b6e

Please sign in to comment.