diff options
| author | Aymeric Vincent <aymeric.vincent@cea.fr> | 2018-02-15 14:00:00 +0100 |
|---|---|---|
| committer | Aymeric Vincent <aymeric.vincent@cea.fr> | 2018-02-15 14:00:00 +0100 |
| commit | 190588e82ab42021152828a6a67df0d54d628a27 (patch) | |
| tree | d8fb988aee8aa24a134b9c049a74c2462a12a096 /miasm2/jitter/vm_mngr.h | |
| parent | 9dd075f09e4f31ec7fe12e50709d9e58c65ed5f4 (diff) | |
| download | miasm-190588e82ab42021152828a6a67df0d54d628a27.tar.gz miasm-190588e82ab42021152828a6a67df0d54d628a27.zip | |
Add prototypes for x86_bsr() and x86_bsf()
Diffstat (limited to '')
| -rw-r--r-- | miasm2/jitter/vm_mngr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miasm2/jitter/vm_mngr.h b/miasm2/jitter/vm_mngr.h index 71ecc246..d114d8f0 100644 --- a/miasm2/jitter/vm_mngr.h +++ b/miasm2/jitter/vm_mngr.h @@ -217,6 +217,8 @@ unsigned int umul16_hi(unsigned short a, unsigned short b); uint64_t rot_left(uint64_t size, uint64_t a, uint64_t b); uint64_t rot_right(uint64_t size, uint64_t a, uint64_t b); +unsigned int x86_bsr(uint64_t size, uint64_t src); +unsigned int x86_bsf(uint64_t size, uint64_t src); #define UDIV(sizeA) \ uint ## sizeA ## _t udiv ## sizeA (vm_cpu_t* vmcpu, uint ## sizeA ## _t a, uint ## sizeA ## _t b) \ |