diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-06-08 13:02:46 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-06-08 13:54:50 +0200 |
commit | 9872f652114c826c37ac6d9d92202c84943c5f23 (patch) | |
tree | 53265a1152b02f6f65524f0965138364f71698a1 /vm.c | |
parent | 4e410c3411f73da6d27b28ce057159cda7b50b66 (diff) |
vm: add support for I_LE and I_GE instructions
Since we need to ensure that NaN values are properly handled, we cannot
transform `x <= y` and `x >= y` into `!(x > y)` and `!(x < y)` respectively.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2124,7 +2124,9 @@ uc_vm_execute_chunk(uc_vm *vm) case I_EQ: case I_NE: case I_LT: + case I_LE: case I_GT: + case I_GE: uc_vm_insn_rel(vm, insn); break; |