From 9746262f7ec2bce8502db17bbba3c2363a04e006 Mon Sep 17 00:00:00 2001 From: lkcl Date: Tue, 28 Jun 2022 19:13:32 +0100 Subject: [PATCH] --- openpower/sv/bitmanip.mdwn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index cb7a21faf..88ef46df8 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -466,7 +466,10 @@ uint64_t grevlutr(uint64_t RA, uint64_t RB, bool iv, bool is32b) | -- | -- | --- | --- | ----- | -----|--| ------ | ----- | | NN | RT | RA | s0-4 | im0-7 | 1 iv |s5| grevlogi | | | NN | RT | RA | RB | im0-7 | 01 |0 | grevlog | | -| NN | RT | RA | RB | im0-7 | 01 |1 | grevlogw | | + +An equivalent to `grevlogw` may be synthesised by setting the +appropriate bits in RB to set the top half of RT to zero. +Thus an explicit grevlogw instruction is not necessary. # xperm -- 2.30.2