Re: [Qemu-devel] [PATCH 06/16] target-arm: A64: Saturating and narrowing shift ops

2014-03-10 Thread Janne Grunau
On 2014-03-09 15:10:57 +, Peter Maydell wrote: From: Alex Bennée alex.ben...@linaro.org This implements a the remaining [US][R]SHR[R][2] opcodes which are there is an extra 'a' and the instructions are [US][Q][R]SHR[U][N][2]. The last '[R]' is at least clearly wrong. The commit itself

[Qemu-devel] [PATCH 06/16] target-arm: A64: Saturating and narrowing shift ops

2014-03-09 Thread Peter Maydell
From: Alex Bennée alex.ben...@linaro.org This implements a the remaining [US][R]SHR[R][2] opcodes which are saturating and narrowing shift right operations. These are used in things like libav. Note signed shifts can have an unsigned saturating narrow operation which will floor negative values.