From 3ccee371a7fbd4541ff5ebb04137337c88a5171a Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 19 Oct 2017 11:01:57 -0700 Subject: [PATCH] Remove the todo for smod. It's not present in either WebAssembly or Rust, for example. We can still add smod in the future if future use cases need it. --- lib/cretonne/meta/base/instructions.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/cretonne/meta/base/instructions.py b/lib/cretonne/meta/base/instructions.py index 3c473d9e22..b27a3bf674 100644 --- a/lib/cretonne/meta/base/instructions.py +++ b/lib/cretonne/meta/base/instructions.py @@ -782,11 +782,6 @@ srem = Instruction( Signed integer remainder. The result has the sign of the dividend. This operation traps if the divisor is zero. - - .. todo:: Integer remainder vs modulus. - - Should we add a ``smod`` instruction for the case where - the result has the same sign as the divisor? """, ins=(x, y), outs=a, can_trap=True)