aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-03-12 14:28:27 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-05-06 12:55:50 -0700
commit2623ca6ac11dd1c15ec1c2e87aa2e7f22f0adec8 (patch)
tree571f3695676d2c636d786f43731584baacac0851 /scripts/qapi/source.py
parenttcg: Add write_aofs to GVecGen3i (diff)
downloadqemu-2623ca6ac11dd1c15ec1c2e87aa2e7f22f0adec8.tar.xz
qemu-2623ca6ac11dd1c15ec1c2e87aa2e7f22f0adec8.zip
tcg/i386: Simplify immediate 8-bit logical vector shifts
The x86 isa does not have this operation, so we need an expansion. Use the same algorithm that we use for expanding this vector operation with integers: perform the shift with a wider type and then mask the bits that must be zero. This reduces the instruction count from 5 to 2. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions