On Wed, Jun 26, 2019 at 12:01:10PM +0200, Auger Eric wrote: > Hi Drew, > > On 6/21/19 6:34 PM, Andrew Jones wrote: > > Suggested-by: Dave Martin <dave.mar...@arm.com> > > Signed-off-by: Andrew Jones <drjo...@redhat.com> > > --- > > target/arm/helper.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/target/arm/helper.c b/target/arm/helper.c > > index df4276f5f6ca..edba94004e0b 100644 > > --- a/target/arm/helper.c > > +++ b/target/arm/helper.c > > @@ -5319,6 +5319,7 @@ static void zcr_write(CPUARMState *env, const > > ARMCPRegInfo *ri, > > int new_len; > > > > /* Bits other than [3:0] are RAZ/WI. */ > > + QEMU_BUILD_BUG_ON(ARM_MAX_VQ > 16); > Can you document in the commit message why this check is critical?
Sure. I can copy+paste the email subject into the commit message :-) drew > > Thanks > > Eric > > raw_write(env, ri, value & 0xf); > > > > /* > > >