Re: [PULL 33/44] target/ppc: Fix 64-bit decrementer

2021-10-03 Thread Cédric Le Goater
On 10/2/21 12:39, Peter Maydell wrote: On Thu, 30 Sept 2021 at 06:44, David Gibson wrote: From: Cédric Le Goater The current way the mask is built can overflow with a 64-bit decrementer. Use sextract64() to extract the signed values and remove the logic to handle negative values which has be

Re: [PULL 33/44] target/ppc: Fix 64-bit decrementer

2021-10-02 Thread Peter Maydell
On Thu, 30 Sept 2021 at 06:44, David Gibson wrote: > > From: Cédric Le Goater > > The current way the mask is built can overflow with a 64-bit decrementer. > Use sextract64() to extract the signed values and remove the logic to > handle negative values which has become useless. > > Cc: Luis Ferna