target/nios2: fix page-fit instruction count
This patch fixes calculation of number of the instructions
that fit the current page. It prevents creation of the translation
blocks that cross the page boundaries. It is required for deterministic
exception generation in icount mode.
Signed-off-by: Pavel Dovgalyuk <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <
162072241046.823357.
10485774346114851009.stgit@pasha-ThinkPad-X280>
Signed-off-by: Laurent Vivier <[email protected]>