From 5a0af4a9f3836dace3779fb77818359f4eb18583 Mon Sep 17 00:00:00 2001 From: lkcl Date: Fri, 25 Dec 2020 19:41:12 +0000 Subject: [PATCH] --- openpower/sv/bitmanip.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 openpower/sv/bitmanip.mdwn diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn new file mode 100644 index 000000000..d1408dddd --- /dev/null +++ b/openpower/sv/bitmanip.mdwn @@ -0,0 +1,6 @@ +# bit to byte permute + + do j = 0 to 7 + do k = 0 to 7 + b = VSR[VRB+32].dword[i].byte[k].bit[j] + VSR[VRT+32].dword[i].byte[j].bit[k] = b -- 2.30.2