Skip to content

Commit

Permalink
A bunch of comparison ops
Browse files Browse the repository at this point in the history
Were missing and showing up as stop reasons for the expr JIT
  • Loading branch information
bdw committed Aug 2, 2017
1 parent 2dbb62f commit 73ab3c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/jit/core.expr
Expand Up @@ -25,7 +25,13 @@
(template: dec_i (sub (load $0 int_sz) (const 1 int_sz)))

(template: gt_i (flagval (gt $1 $2)))
(template: ge_i (flagval (ge $1 $2)))
(template: eq_i (flagval (eq $1 $2)))
(template: ne_i (flagval (ne $1 $2)))
(template: le_i (flagval (le $1 $2)))
(template: lt_i (flagval (lt $1 $2)))
(template: eqaddr (flagval (eq $1 $2)))


(template: sp_getarg_o (load (^parg $1) ptr_sz))
(template: sp_getarg_s (load (^parg $1) ptr_sz))
Expand Down

0 comments on commit 73ab3c6

Please sign in to comment.