From fde1241ce928d38c2031c827ae0ddee5c6f5af0f Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Thu, 4 Jun 2026 16:36:52 -0700 Subject: Add abs, min, and max instructions --- docs/dev/bnil-llil.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/dev/bnil-llil.md') diff --git a/docs/dev/bnil-llil.md b/docs/dev/bnil-llil.md index b3a4f906..db251ab3 100644 --- a/docs/dev/bnil-llil.md +++ b/docs/dev/bnil-llil.md @@ -263,6 +263,11 @@ The double precision instruction multiply, divide, modulus instructions are part * `LLIL_CTZ` - Count trailing zero bits of `src`; the result is `8 * size` when `src` is zero * `LLIL_RBIT` - Reverse the bit order of `src` * `LLIL_CLS` - Count leading sign bits of `src` (the number of bits below the sign bit that match it) +* `LLIL_MINS` - Signed minimum of `left` and `right` +* `LLIL_MAXS` - Signed maximum of `left` and `right` +* `LLIL_MINU` - Unsigned minimum of `left` and `right` +* `LLIL_MAXU` - Unsigned maximum of `left` and `right` +* `LLIL_ABS` - Signed absolute value of `src` * `LLIL_TEST_BIT ` - Test if bit `right` in expression `left` is set * `LLIL_BOOL_TO_INT ` - Converts a bool `src` to an integer -- cgit v1.3.1