From 5a27e857cdf16b2c55d81ecd320ee700caa25831 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 13 Mar 2022 13:43:02 +0000 Subject: [PATCH] add new grev diagram --- openpower/sv/bitmanip.mdwn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index 208f642b5..ad576763b 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -337,11 +337,15 @@ the two LUT2s are applied left-half (when not swapping) and right-half (when swapping) so as to allow a wider range of options + + grevlut should be arranged so as to produce the constants needed to put into bext (bitextract) so as in turn to be able to emulate x86 pmovmask instructions - +Better diagram showing the correct ordering of shamt. + + ``` lut2(imm, a, b): -- 2.30.2