unicorn/qemu/include
Peter Maydell f893dacef0
bitops.h: Implement half-shuffle and half-unshuffle ops
A half-shuffle operation takes a word with zeros in the high half:
0000 0000 0000 0000 ABCD EFGH IJKL MNOP
and spreads the bits out so they are in every other bit of the word:
0A0B 0C0D 0E0F 0G0H 0I0J 0K0L 0M0N 0O0P
A half-unshuffle performs the reverse operation.

Provide functions in bitops.h which implement these operations
for 32-bit and 64-bit inputs, and add tests for them.

Backports commit b355438de52d0782983bf4bdc47936189a0c988b from qemu
2018-02-24 19:02:36 -05:00
..
crypto Drop unused crypto source files 2018-02-17 15:23:57 -05:00
exec tb hash: hash phys_pc, pc, and flags with xxhash 2018-02-24 18:00:14 -05:00
fpu fpu: Remove use of int_fast16_t in conversions to int16 2018-02-20 16:54:04 -05:00
hw hw: clean up hw/hw.h includes 2018-02-24 02:46:41 -05:00
qapi qapi: Change visit_type_FOO() to no longer return partial objects 2018-02-23 19:53:17 -05:00
qemu bitops.h: Implement half-shuffle and half-unshuffle ops 2018-02-24 19:02:36 -05:00
qom qom: API to get instance_size of a type 2018-02-24 19:00:16 -05:00
sysemu accel: make configure_accelerator return void 2018-02-24 00:31:28 -05:00
config.h import 2015-08-21 15:04:50 +08:00
elf.h fix merge conflicts 2017-03-10 21:04:33 +08:00
glib_compat.h glib_compat: backport hashtable iterator interfaces 2018-02-21 13:18:44 -05:00
qemu-common.h qemu-common.h: Drop WORDS_ALIGNED define 2018-02-24 17:01:55 -05:00