diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2018-05-15 11:19:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-15 11:19:41 +0200 |
| commit | 4dae0d5df51165d2c535f0812761dc6bdadfe88e (patch) | |
| tree | 392c861b580d89bb8be80856fd8403d1d7c0e2bf /miasm2/jitter/vm_mngr.h | |
| parent | 833524bb7291e82613afba2184b3c0c9801445f5 (diff) | |
| parent | de4295331794e81937a5c4073c37808ec63beaa4 (diff) | |
| download | miasm-4dae0d5df51165d2c535f0812761dc6bdadfe88e.tar.gz miasm-4dae0d5df51165d2c535f0812761dc6bdadfe88e.zip | |
Merge pull request #740 from commial/refactor/bsr-bsf
Refactor/bsr bsf
Diffstat (limited to 'miasm2/jitter/vm_mngr.h')
| -rw-r--r-- | miasm2/jitter/vm_mngr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/jitter/vm_mngr.h b/miasm2/jitter/vm_mngr.h index f050f7c0..b101b6ca 100644 --- a/miasm2/jitter/vm_mngr.h +++ b/miasm2/jitter/vm_mngr.h @@ -219,8 +219,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); +unsigned int cntleadzeros(uint64_t size, uint64_t src); +unsigned int cnttrailzeros(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) \ |