commit | 2623ca6ac11dd1c15ec1c2e87aa2e7f22f0adec8 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Tue Mar 12 14:28:27 2024 -1000 |
committer | Richard Henderson <richard.henderson@linaro.org> | Mon May 06 12:55:50 2024 -0700 |
tree | 571f3695676d2c636d786f43731584baacac0851 | |
parent | b3ee719e6499987a635332d012f08dc80cd277e0 [diff] |
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>