qemu-irix/include/qemu
Peter Maydell 2dc6bebde9 bitops: Provide sextract32() and sextract64()
A common operation in instruction decoding is to take a field
from an instruction that represents a signed integer in some
arbitrary number of bits, and sign extend it into a C signed
integer type for manipulation. Provide new functions sextract32()
and sextract64() which perform this operation; they are like
the existing extract32() and extract64() except that the field
is sign-extended into the returned result.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-id: 1372419632-5521-2-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-07-22 15:41:11 -05:00
..
acl.h
aes.h
atomic.h add a header file for atomic operations 2013-07-04 17:42:49 +02:00
bitmap.h
bitops.h bitops: Provide sextract32() and sextract64() 2013-07-22 15:41:11 -05:00
bswap.h
cache-utils.h
compatfd.h
compiler.h
config-file.h
crc32c.h
envlist.h
error-report.h add timestamp to error_report() 2013-07-10 13:42:09 -04:00
event_notifier.h
fifo8.h
hbitmap.h
host-utils.h
int128.h
iov.h
log.h log: Change log_cpu_state[_mask]() argument to CPUState 2013-07-09 21:33:04 +02:00
main-loop.h
module.h
notify.h
option.h
option_int.h
osdep.h
queue.h
range.h
ratelimit.h
sockets.h
thread-posix.h
thread-win32.h
thread.h
timer.h
tls.h
typedefs.h
uri.h
xattr.h