diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2014-03-17 16:31:48 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-03-17 16:31:48 +0000 |
commit | c1b876b2e9a47e3e36be57a4f3d167b19c5f586a (patch) | |
tree | abca32b1f70f9a35c2680993d56be9ef47b25f27 /target-arm/helper-a64.h | |
parent | b05c3068577f6caea6f1911b9e03d52dbf84f475 (diff) |
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 <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1394822294-14837-7-git-send-email-peter.maydell@linaro.org
[PMM: Added the scalar encodings, style tweaks]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/helper-a64.h')
0 files changed, 0 insertions, 0 deletions