]> Git Repo - qemu.git/commit - target/arm/translate-a64.c
target-arm: A64: Saturating and narrowing shift ops
authorAlex Bennée <[email protected]>
Mon, 17 Mar 2014 16:31:48 +0000 (16:31 +0000)
committerPeter Maydell <[email protected]>
Mon, 17 Mar 2014 16:31:48 +0000 (16:31 +0000)
commitc1b876b2e9a47e3e36be57a4f3d167b19c5f586a
treeabca32b1f70f9a35c2680993d56be9ef47b25f27
parentb05c3068577f6caea6f1911b9e03d52dbf84f475
target-arm: A64: Saturating and narrowing shift ops

This implements the remaining [US][Q][R]SHR[U][N][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.

Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
Message-id: 1394822294[email protected]
[PMM: Added the scalar encodings, style tweaks]
Signed-off-by: Peter Maydell <[email protected]>
target-arm/translate-a64.c
This page took 0.025477 seconds and 4 git commands to generate.