From cd71e4083cfada5a56c542d6159d535ef51360bf Mon Sep 17 00:00:00 2001 From: lkcl Date: Tue, 15 Dec 2020 18:21:06 +0000 Subject: [PATCH] --- openpower/sv/cr_int_predication.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openpower/sv/cr_int_predication.mdwn b/openpower/sv/cr_int_predication.mdwn index 7b50d715a..64dda389e 100644 --- a/openpower/sv/cr_int_predication.mdwn +++ b/openpower/sv/cr_int_predication.mdwn @@ -26,6 +26,13 @@ Side-effects: * mtcrweird when RA=0 is a means to set or clear arbitrary CR bits from immediates +(Twin) Predication interactions: + +* INT twin predication with zeroing is a way to copy an integer into CRs without necessarily needing the INT register (RA). if it is, it is effectively ANDed (or negate-and-ANDed) with the INT Predicate +* CR twin predication with zeroing is likewise a way to interact with the incoming integer + +this gets particularly powerful if data-dependent predication is also enabled. + # Instruction form and pseudocode | 0-5 | 6-10 | 11 | 12-15 | 16-18 | 19-20 | 21-30 | 31 | -- 2.30.2