target/arm/helper: zcr: Add build bug next to value range assumption
commit7b351d98709d3f77d6bb18562e1bf228862b0d57
authorAndrew Jones <drjones@redhat.com>
Fri, 2 Aug 2019 12:25:30 +0000 (2 14:25 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Aug 2019 13:02:51 +0000 (16 14:02 +0100)
tree857c8f067632e4c78455706d66919633a0d8bd17
parentae502508f83e06abddab3ac1a11dd822718472e1
target/arm/helper: zcr: Add build bug next to value range assumption

The current implementation of ZCR_ELx matches the architecture, only
implementing the lower four bits, with the rest RAZ/WI. This puts
a strict limit on ARM_MAX_VQ of 16. Make sure we don't let ARM_MAX_VQ
grow without a corresponding update here.

Suggested-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c