From: Jacob Lifshay Date: Fri, 21 Apr 2023 00:37:48 +0000 (-0700) Subject: rename IMM integer min/max mode table -> MMM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=146c8b9b1cb2a755345218c10055e38e1740a102;p=libreriscv.git rename IMM integer min/max mode table -> MMM --- diff --git a/openpower/sv/rfc/ls013.mdwn b/openpower/sv/rfc/ls013.mdwn index 2c7d14005..4b2975550 100644 --- a/openpower/sv/rfc/ls013.mdwn +++ b/openpower/sv/rfc/ls013.mdwn @@ -206,13 +206,15 @@ Assembly Aliases: see These are signed and unsigned, min or max. SVP64 Prefixing defines Saturation semantics therefore Saturated variants of these instructions need not be proposed. -## Integer Min/Max Mode +## `MMM` -- Integer Min/Max Mode + + * bit 0: set if word variant else dword * bit 1: set if signed else unsigned * bit 2: set if max else min -| `IMM` | Assembly Alias | Semantics | +| `MMM` | Assembly Alias | Semantics | |-------|------------------|----------------------------------------------| | 000 | `minu RT,RA,RB` | `RT = (uint64_t)RA < (uint64_t)RB ? RA : RB` | | 001 | `maxu RT,RA,RB` | `RT = (uint64_t)RA > (uint64_t)RB ? RA : RB` |