(no commit message)
authorlkcl <lkcl@web>
Mon, 18 Jan 2021 15:08:15 +0000 (15:08 +0000)
committerIkiWiki <ikiwiki.info>
Mon, 18 Jan 2021 15:08:15 +0000 (15:08 +0000)
openpower/sv/av_opcodes.mdwn

index 6f279e850fa2814c3d182f8e1ca1fe2a6ba71015..c1ab97bbb3f679d82e9b32e2ae5094e7d9afc7d8 100644 (file)
@@ -12,11 +12,17 @@ Links
 
 # Summary
 
-In-advance, the summary of operations that need to be added is:
+In-advance, the summary of base scalar operations that need to be added is:
 
 | instruction  | pseudocode               |
+| ------------ | ------------------------      |
 | average-add. | result = (src1 + src2 + 1) >> 1 |
 | abs-diff     | result = abs (src1-src2) |
+| signed min   | result = (src1 < src2) ? src1 : src2  |
+| signed max   | result = (src1 > src2) ? src1 : src2  |
+| bitwise sel  | (a ? b : c) - use bitmanip ternary |
+
+All other capabilities are achieved with [[sv/svp64]] modes and swizzle.
 
 # Audio