target-arm: use deposit instead of hardcoded version
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 5 Oct 2012 14:04:45 +0000 (15:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Oct 2012 14:04:45 +0000 (15:04 +0100)
commitd593c48ef91b6fee609d9c87958fe76dd2b36852
tree1efff362fc47b3ce6653aea72a4fa384c3af8a8c
parent00e3ab2db059d243e210052937fc4f4169aa839c
target-arm: use deposit instead of hardcoded version

Use the deposit op instead of and hardcoded bit field insertion. It
allows the host to emit the corresponding instruction if available.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/translate.c