@@ -870,6 +870,10 @@ Vector constant instructions have a mandatory :ref:`shape <syntax-vec-shape>` de
870
870
\text {f32 x4 .abs} &\Rightarrow & \F32 X4 .\VABS \\ &&|&
871
871
\text {f32 x4 .neg} &\Rightarrow & \F32 X4 .\VNEG \\ &&|&
872
872
\text {f32 x4 .sqrt} &\Rightarrow & \F32 X4 .\VSQRT \\ &&|&
873
+ \text {f32 x4 .ceil} &\Rightarrow & \F32 X4 .\VCEIL \\ &&|&
874
+ \text {f32 x4 .floor} &\Rightarrow & \F32 X4 .\VFLOOR \\ &&|&
875
+ \text {f32 x4 .trunc} &\Rightarrow & \F32 X4 .\VTRUNC \\ &&|&
876
+ \text {f32 x4 .nearest} &\Rightarrow & \F32 X4 .\VNEAREST \\ &&|&
873
877
\text {f32 x4 .add} &\Rightarrow & \F32 X4 .\VADD \\ &&|&
874
878
\text {f32 x4 .sub} &\Rightarrow & \F32 X4 .\VSUB \\ &&|&
875
879
\text {f32 x4 .mul} &\Rightarrow & \F32 X4 .\VMUL \\ &&|&
@@ -886,6 +890,10 @@ Vector constant instructions have a mandatory :ref:`shape <syntax-vec-shape>` de
886
890
\text {f64 x2 .abs} &\Rightarrow & \F64 X2 .\VABS \\ &&|&
887
891
\text {f64 x2 .neg} &\Rightarrow & \F64 X2 .\VNEG \\ &&|&
888
892
\text {f64 x2 .sqrt} &\Rightarrow & \F64 X2 .\VSQRT \\ &&|&
893
+ \text {f64 x2 .ceil} &\Rightarrow & \F64 X2 .\VCEIL \\ &&|&
894
+ \text {f64 x2 .floor} &\Rightarrow & \F64 X2 .\VFLOOR \\ &&|&
895
+ \text {f64 x2 .trunc} &\Rightarrow & \F64 X2 .\VTRUNC \\ &&|&
896
+ \text {f64 x2 .nearest} &\Rightarrow & \F64 X2 .\VNEAREST \\ &&|&
889
897
\text {f64 x2 .add} &\Rightarrow & \F64 X2 .\VADD \\ &&|&
890
898
\text {f64 x2 .sub} &\Rightarrow & \F64 X2 .\VSUB \\ &&|&
891
899
\text {f64 x2 .mul} &\Rightarrow & \F64 X2 .\VMUL \\ &&|&
@@ -930,7 +938,7 @@ Such a folded instruction can appear anywhere a regular instruction can.
930
938
931
939
.. math ::
932
940
\begin {array}{lllll}
933
- \production {instruction} &
941
+ \production {instruction} &
934
942
\text {(}~\Tplaininstr ~~\Tfoldedinstr ^\ast ~\text {)}
935
943
&\equiv \quad \Tfoldedinstr ^\ast ~~\Tplaininstr \\ &
936
944
\text {(}~\text {block}~~\Tlabel ~~\Tblocktype ~~\Tinstr ^\ast ~\text {)}
0 commit comments