diff options
| author | Kathy Gray | 2015-10-05 14:05:11 +0100 |
|---|---|---|
| committer | Kathy Gray | 2015-10-05 14:05:21 +0100 |
| commit | 7605e4c730516bb55120716c0a75547acdcd6106 (patch) | |
| tree | 64282e2f507fb56dae925d3c20e88a9d2640b6d0 /src/lem_interp | |
| parent | fd9a2c59307fc527c865e359b03898aaa51a77f7 (diff) | |
More library functions
Tweak to rewriter to actually rewrite function patterns
Diffstat (limited to 'src/lem_interp')
| -rw-r--r-- | src/lem_interp/interp_lib.lem | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lem_interp/interp_lib.lem b/src/lem_interp/interp_lib.lem index eb555c1c..877ef6f5 100644 --- a/src/lem_interp/interp_lib.lem +++ b/src/lem_interp/interp_lib.lem @@ -652,7 +652,7 @@ let library_functions direction = [ ("bitwise_leftshift", shift_op_vec "<<"); ("bitwise_rightshift", shift_op_vec ">>"); ("bitwise_rotate", shift_op_vec "<<<"); - ("mod", arith_op_no0 (mod)); + ("modulo", arith_op_no0 (mod)); ("mod_vec", arith_op_vec_no0 hardware_mod "mod" Unsigned 1); ("mod_vec_range", arith_op_vec_range_no0 hardware_mod "mod" Unsigned 1); ("quot", arith_op_no0 hardware_quot); |
