From: Luke Kenneth Casson Leighton Date: Thu, 13 Feb 2020 18:20:47 +0000 (+0000) Subject: bit more table clarity X-Git-Tag: convert-csv-opcode-to-binary~3437 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d25efb431f610bea4a9541e2c65918320c0ec08d;p=libreriscv.git bit more table clarity --- diff --git a/3d_gpu/architecture/dynamic_simd/shift.mdwn b/3d_gpu/architecture/dynamic_simd/shift.mdwn index d6bc35e6f..a4be80f7c 100644 --- a/3d_gpu/architecture/dynamic_simd/shift.mdwn +++ b/3d_gpu/architecture/dynamic_simd/shift.mdwn @@ -107,8 +107,8 @@ For o3: if True: o3 = a0b0[31:24] if ~p0: o3 |= a1b0[23:16] if p0: o3 |= a1b1[23:16] - if ~p0&p1: o3 |= a2b1[15:8] - if p0&p1: o3 |= a2b0[15:8] + if ~p0& p1: o3 |= a2b1[15:8] + if p0& p1: o3 |= a2b0[15:8] if p1: o3 |= a2b2[15:8] if ~p0&~p1&~p2: o3 |= a3b0[7:0] if p0&~p1&~p2: o3 |= a3b1[7:0]