From 7cf56d8e32f7e1b745af9332260f18a21c9264e4 Mon Sep 17 00:00:00 2001 From: lkcl Date: Wed, 19 Apr 2023 21:43:32 +0100 Subject: [PATCH] --- openpower/sv/rfc/ls013.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/openpower/sv/rfc/ls013.mdwn b/openpower/sv/rfc/ls013.mdwn index 56058b174..573d2cdfd 100644 --- a/openpower/sv/rfc/ls013.mdwn +++ b/openpower/sv/rfc/ls013.mdwn @@ -208,6 +208,23 @@ 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 MinMax 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 | +|-------|--------------------| +| 000 | minu RT,RA,RB | +| 001 | maxu RT,RA,RB | +| 010 | mins RT,RA,RB | +| 011 | maxs RT,RA,RB | +| 100 | minuw RT,RA,RB | +| 101 | maxuw RT,RA,RB | +| 110 | minsw RT,RA,RB | +| 111 | maxsw RT,RA,RB | + ## Minimum Unsigned X-Form -- 2.30.2