From 146c8b9b1cb2a755345218c10055e38e1740a102 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 20 Apr 2023 17:37:48 -0700 Subject: [PATCH] rename IMM integer min/max mode table -> MMM --- openpower/sv/rfc/ls013.mdwn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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` | -- 2.30.2