diff options
Diffstat (limited to 'lib/csc/encoding.csc')
| -rw-r--r-- | lib/csc/encoding.csc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/csc/encoding.csc b/lib/csc/encoding.csc index 83258c8..aceedc8 100644 --- a/lib/csc/encoding.csc +++ b/lib/csc/encoding.csc @@ -175,11 +175,16 @@ (make-opcode w 15 (is-const? x) #f) (arg->le-bytes w dest) (arg->le-bytes w x)) - (('int<? dest x y) + (('lt dest x y) (make-opcode w 16 (is-const? x) (is-const? y)) (arg->le-bytes w dest) (arg->le-bytes w x) (arg->le-bytes w y)) + (('eq dest x y) + (make-opcode w 17 (is-const? x) (is-const? y)) + (arg->le-bytes w dest) + (arg->le-bytes w x) + (arg->le-bytes w y)) (_ (error "invalid opcode" opcode)))) |
