From d8ff6de9617c2a3a790a1cb387dd277b46703a23 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 9 Jan 2024 12:16:14 +0000 Subject: [PATCH] bug 1244: add power isa v3.1 vstribr pseudocode --- .../fosdem2024/fosdem2024_ddffirst/vstribr.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 conferences/fosdem2024/fosdem2024_ddffirst/vstribr.txt diff --git a/conferences/fosdem2024/fosdem2024_ddffirst/vstribr.txt b/conferences/fosdem2024/fosdem2024_ddffirst/vstribr.txt new file mode 100644 index 000000000..8d35843d1 --- /dev/null +++ b/conferences/fosdem2024/fosdem2024_ddffirst/vstribr.txt @@ -0,0 +1,11 @@ +null_found <- 0 +while(!null_found) do i = 0 to 15 + null_found <- (VSR[VRB+32].byte[15-i]=0) + VSR[VRT+32].byte[15-i] <- VSR[VRB+32].byte[1 +end +do j = i to 15 + VSR[VRT+32].byte[15-j] <- 0 +end +if Rc=1 then + CR.field[6] <- 0b00 || null_found || 0b0 + -- 2.30.2