From: lkcl Date: Thu, 5 May 2022 11:38:45 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~2465 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5de07343d4bfba3641f7a4f18ef7a6ac5c8e214f;p=libreriscv.git --- 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. +