From 042ed56f7ce856e1b865594ade4924f2cb0d960d Mon Sep 17 00:00:00 2001 From: Ng Zhi An Date: Mon, 21 Sep 2020 15:19:12 -0700 Subject: [PATCH] Add SIMD pmin/pmax and floating point round instructions to syntax --- document/core/syntax/instructions.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/document/core/syntax/instructions.rst b/document/core/syntax/instructions.rst index c1e459bde..817182c65 100644 --- a/document/core/syntax/instructions.rst +++ b/document/core/syntax/instructions.rst @@ -298,14 +298,20 @@ SIMD instructions provide basic operations over :ref:`values ` of \production{SIMD floating-point unary operator} & \vfunop &::=& \K{abs} ~|~ \K{neg} ~|~ - \K{sqrt} \\ + \K{sqrt} ~|~ + \K{ceil} ~|~ + \K{floor} ~|~ + \K{trunc} ~|~ + \K{nearest} \\ \production{SIMD floating-point binary operator} & \vfbinop &::=& \K{add} ~|~ \K{sub} ~|~ \K{mul} ~|~ \K{div} ~|~ \K{min} ~|~ - \K{max} \\ + \K{max} ~|~ + \K{pmin} ~|~ + \K{pmax} \\ \end{array} .. _syntax-simd-shape: