mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-26 14:18:36 +00:00
Different processors has specific instructions to count leading zero bits. This includes: x86. x64, arm, ppc. For portability reason the behaviour of __builtin_clz is not defined if the value is zero so test for it. Currently the function is not called with the value or 0. This increase performance decoding of about 4-5% on a x64 machine (code size decreases a little too, but about 0.1%). Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com> |
||
|---|---|---|
| build-aux | ||
| common | ||
| docs | ||
| m4 | ||
| python_modules | ||
| tests | ||
| .gitmodules | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| git.mk | ||
| Makefile.am | ||
| meson_options.txt | ||
| meson.build | ||
| spice1.proto | ||
| spice_codegen.py | ||
| spice.proto | ||