Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Feb 11, 2024
2 parents 49c8326 + 88b0ca1 commit 021e70c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbyak/xbyak_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class Cpu {
}
uint32_t extractBit(uint32_t val, uint32_t base, uint32_t end)
{
return (val >> base) & ((1u << (end - base)) - 1);
return (val >> base) & ((1u << (end + 1 - base)) - 1);
}
void setNumCores()
{
Expand Down

0 comments on commit 021e70c

Please sign in to comment.