target-arm: A32/T32: Mask CRC value in calling code, not helper
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 9 Jun 2014 14:43:25 +0000 (15:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 9 Jun 2014 15:06:12 +0000 (16:06 +0100)
commitaa633469ed902a6d96b3d4013ec5ce32597f0626
treea6ffde3939a1065b13d8ed6c45fe9c2312ca2eea
parent130f2e7dcb4a5f9534fc65200121f06983435a77
target-arm: A32/T32: Mask CRC value in calling code, not helper

Bring the 32-bit CRC helper functions into line with the A64 ones,
by masking the high bytes of the value in the calling code rather
than the helper. This is more efficient since we can determine the
mask at translation time.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1401458125-27977-7-git-send-email-peter.maydell@linaro.org
target-arm/helper.c
target-arm/translate.c