On 07/10/2018 02:47 AM, Laurent Vivier wrote: >> - addr &= TARGET_PAGE_MASK; >> + addr &= align - 1; > > and here TARGET_PAGE_MASK is also (align - 1)... > > So I think it should be "addr &= -align".
Whoops, yes indeed. r~
On 07/10/2018 02:47 AM, Laurent Vivier wrote: >> - addr &= TARGET_PAGE_MASK; >> + addr &= align - 1; > > and here TARGET_PAGE_MASK is also (align - 1)... > > So I think it should be "addr &= -align".
Whoops, yes indeed. r~