diff options
| author | Stephen Long | 2020-08-13 18:18:18 +0200 |
|---|---|---|
| committer | Richard Henderson | 2020-09-03 22:13:58 +0200 |
| commit | e7e8f33fb603c3bfa0479d7d924f2ad676a84317 (patch) | |
| tree | 150238a865a0d7bdaf1297ce540c17e4417f9f01 /python/qemu/console_socket.py | |
| parent | cputlb: Make store_helper less fragile to compiler optimizations (diff) | |
| download | qemu-e7e8f33fb603c3bfa0479d7d924f2ad676a84317.tar.gz qemu-e7e8f33fb603c3bfa0479d7d924f2ad676a84317.tar.xz qemu-e7e8f33fb603c3bfa0479d7d924f2ad676a84317.zip | |
tcg: Fix tcg gen for vectorized absolute value
The fallback inline expansion for vectorized absolute value,
when the host doesn't support such an insn was flawed.
E.g. when a vector of bytes has all elements negative, mask
will be 0xffff_ffff_ffff_ffff. Subtracting mask only adds 1
to the low element instead of all elements becase -mask is 1
and not 0x0101_0101_0101_0101.
Signed-off-by: Stephen Long <steplong@quicinc.com>
Message-Id: <20200813161818.190-1-steplong@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'python/qemu/console_socket.py')
0 files changed, 0 insertions, 0 deletions
