From: lkcl Date: Fri, 20 May 2022 21:45:27 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~2153 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80b28a13fc51ce11f059f5ec36d33ae8171956d4;p=libreriscv.git --- diff --git a/openpower/sv/cr_int_predication.mdwn b/openpower/sv/cr_int_predication.mdwn index 2329167f4..6d3708f68 100644 --- a/openpower/sv/cr_int_predication.mdwn +++ b/openpower/sv/cr_int_predication.mdwn @@ -191,6 +191,14 @@ capability (BF is 3 bits) **mcrfm** - Move CR Field, masked. +This instruction copies, sets, or inverts parts of a CR Field +into another CR Field. `mcrf` copies only one bit of the CR +from any arbitrary bit to any other arbitrary bit, whereas +`mcrfm` copies an entire 4-bit CR Field (or masked parts thereof). +Unlike `mcrf` the bits of the CR Field may not change position: +the EQ bit from the source may only go into the EQ bit of the +destination (optionally inverted, set, or cleared). + mcrfm: BF, BFA, M, mask.mode result = mask & CR{BFA}