summary refs log tree commit diff stats
path: root/tcg/tcg-has.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-01-08 09:53:38 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-04-28 13:40:16 -0700
commit8726c7d79967c740f7d5a963ac2d855354805cd2 (patch)
tree9d750c4d2780e48217e30acb1af09d1bdca95833 /tcg/tcg-has.h
parent3949f365eb6e7c934831c65c67b729562846ede9 (diff)
downloadfocaccia-qemu-8726c7d79967c740f7d5a963ac2d855354805cd2.tar.gz
focaccia-qemu-8726c7d79967c740f7d5a963ac2d855354805cd2.zip
tcg: Do not require both rotr and rotl from the backend
Many host architectures do not implement both rotate right
and rotate left and require the compiler to negate the
shift count to rotate the opposite direction.  We have been
requiring the backend to perform this transformation.
Do this during opcode expansion so that the next patch
can drop support where possible in the backend.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tcg-has.h')
0 files changed, 0 insertions, 0 deletions