use (isub 1 $C) instead (iadd -1 $C)

This commit is contained in:
MaxGraey
2020-07-03 11:01:35 +03:00
parent d839d83f7e
commit 1033cf5748
4 changed files with 7 additions and 1 deletions

View File

@@ -195,4 +195,4 @@
;; Reminder by a power of two -> bitwise and with decreased by one constant.
(=> (when (urem_imm $C $x)
(is-power-of-two $C))
(band_imm $(iadd -1 $C) $x))
(band_imm $(isub 1 $C) $x))