Skip to content

Commit

Permalink
perf(wcp): isZero is zero (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
letypequividelespoubelles authored Jan 29, 2024
1 parent 1ca61b0 commit 273f3ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion stp/constraints.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(eq! (next ARG_1_HI) VAL_HI)
(eq! (next ARG_1_LO) VAL_LO)
(vanishes! (next ARG_2_LO))
(debug (vanishes! (next ARG_2_LO)))
(eq! (next EXO_INST) ISZERO)
(eq! (next WCP_FLAG) (cctv))
(vanishes! (next MOD_FLAG))
Expand Down
6 changes: 3 additions & 3 deletions wcp/constraints.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@
(- (* (- (* 2 BIT_4) 1)
(- ARG_1_LO ARG_2_LO))
BIT_4)))))
(debug (if-eq IS_ISZERO 1
(begin (vanishes! ARG_2_HI)
(vanishes! ARG_2_LO))))))
(if-eq IS_ISZERO 1
(begin (vanishes! ARG_2_HI)
(vanishes! ARG_2_LO)))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
Expand Down

0 comments on commit 273f3ad

Please sign in to comment.