(no commit message)
authorlkcl <lkcl@web>
Thu, 21 Jan 2021 15:58:28 +0000 (15:58 +0000)
committerIkiWiki <ikiwiki.info>
Thu, 21 Jan 2021 15:58:28 +0000 (15:58 +0000)
3d_gpu/architecture/dynamic_simd/logicops.mdwn

index 2fe7671a2e78580e04074843ce5d53af15b053dc..5de6f3325a53b24266491dc8ad4b3226693304e2 100644 (file)
@@ -5,16 +5,16 @@ Links
 * <https://bugs.libre-soc.org/show_bug.cgi?id=176>
 * <https://bugs.libre-soc.org/show_bug.cgi?id=549>
 
-These are not the same as bitwise operations equivalent to:
+These are **not** the same as bitwise logical operations equivalent to:
 
      for i in range(64):
-         result[i] = a[i] xor b[i]
+         result[i] = a[i] xor b[i] # 2 operands
 
 they are instead SIMD versions of:
 
      result = 0 # initial value (single bit)
      for i in range(64):
-         result = result xor a[i]
+         result = result xor a[i] # one operand
 
 # Requirements