From: Luke Kenneth Casson Leighton Date: Sun, 29 Nov 2020 16:30:17 +0000 (+0000) Subject: add cr int predication page X-Git-Tag: convert-csv-opcode-to-binary~1624 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a20930073f6de2f7a6e8f95cb7c9a8f23f49f1be;p=libreriscv.git add cr int predication page --- diff --git a/openpower/sv/cr_int_predication.mdwn b/openpower/sv/cr_int_predication.mdwn new file mode 100644 index 000000000..fee9ee973 --- /dev/null +++ b/openpower/sv/cr_int_predication.mdwn @@ -0,0 +1,20 @@ +# New instructions for CR/INT predication + +See: + +* + +Basic concept: + +* CR-based instructions that perform simple AND/OR/XOR from all four bits + of a CR to create a single bit value (0/1) in an integer register +* Inverse of the same, taking a single bit value (0/1) from an integer + register to selectively target all four bits of a given CR +* Vectorisation of the same + +Purpose: + +* To provide a merged version of what is currently a multi-sequence of + CR operations (crand, cror, crxor) with mfcr and mtcrf +* To provide a vectorised version of the same, suitable for advanced + predication