From 5de07343d4bfba3641f7a4f18ef7a6ac5c8e214f Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 5 May 2022 12:38:45 +0100 Subject: [PATCH] --- openpower/sv/cr_ops.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openpower/sv/cr_ops.mdwn b/openpower/sv/cr_ops.mdwn index 942158bc1..9bb7a31b1 100644 --- a/openpower/sv/cr_ops.mdwn +++ b/openpower/sv/cr_ops.mdwn @@ -185,3 +185,8 @@ elements thereafter: for i in VL-1 downto 0 # reverse gear CR[4+i].ge &= CR[5+i].ge +# cmp and other compare operations + +`cmp` and `cmpi` etc take GPRs as sources and create a CR Field as a result. +With `ELWIDTH_SRC` applying to the source operands this is perfectly fine. + -- 2.30.2