|
150 | 150 | <ol>
|
151 | 151 | <li><a href="#i_icmp">'<tt>icmp</tt>' Instruction</a></li>
|
152 | 152 | <li><a href="#i_fcmp">'<tt>fcmp</tt>' Instruction</a></li>
|
153 |
| - <li><a href="#i_vicmp">'<tt>vicmp</tt>' Instruction</a></li> |
154 |
| - <li><a href="#i_vfcmp">'<tt>vfcmp</tt>' Instruction</a></li> |
155 | 153 | <li><a href="#i_phi">'<tt>phi</tt>' Instruction</a></li>
|
156 | 154 | <li><a href="#i_select">'<tt>select</tt>' Instruction</a></li>
|
157 | 155 | <li><a href="#i_call">'<tt>call</tt>' Instruction</a></li>
|
@@ -1942,12 +1940,6 @@ <h5>Examples:</h5>
|
1942 | 1940 | <dt><b><tt>fcmp COND ( VAL1, VAL2 )</tt></b></dt>
|
1943 | 1941 | <dd>Performs the <a href="#i_fcmp">fcmp operation</a> on constants.</dd>
|
1944 | 1942 |
|
1945 |
| - <dt><b><tt>vicmp COND ( VAL1, VAL2 )</tt></b></dt> |
1946 |
| - <dd>Performs the <a href="#i_vicmp">vicmp operation</a> on constants.</dd> |
1947 |
| - |
1948 |
| - <dt><b><tt>vfcmp COND ( VAL1, VAL2 )</tt></b></dt> |
1949 |
| - <dd>Performs the <a href="#i_vfcmp">vfcmp operation</a> on constants.</dd> |
1950 |
| - |
1951 | 1943 | <dt><b><tt>extractelement ( VAL, IDX )</tt></b></dt>
|
1952 | 1944 |
|
1953 | 1945 | <dd>Perform the <a href="#i_extractelement">extractelement
|
@@ -4252,109 +4244,6 @@ <h5>Example:</h5>
|
4252 | 4244 |
|
4253 | 4245 | </div>
|
4254 | 4246 |
|
4255 |
| -<!-- _______________________________________________________________________ --> |
4256 |
| -<div class="doc_subsubsection"> |
4257 |
| - <a name="i_vicmp">'<tt>vicmp</tt>' Instruction</a> |
4258 |
| -</div> |
4259 |
| -<div class="doc_text"> |
4260 |
| -<h5>Syntax:</h5> |
4261 |
| -<pre> <result> = vicmp <cond> <ty> <op1>, <op2> <i>; yields {ty}:result</i> |
4262 |
| -</pre> |
4263 |
| -<h5>Overview:</h5> |
4264 |
| -<p>The '<tt>vicmp</tt>' instruction returns an integer vector value based on |
4265 |
| -element-wise comparison of its two integer vector operands.</p> |
4266 |
| -<h5>Arguments:</h5> |
4267 |
| -<p>The '<tt>vicmp</tt>' instruction takes three operands. The first operand is |
4268 |
| -the condition code indicating the kind of comparison to perform. It is not |
4269 |
| -a value, just a keyword. The possible condition code are:</p> |
4270 |
| -<ol> |
4271 |
| - <li><tt>eq</tt>: equal</li> |
4272 |
| - <li><tt>ne</tt>: not equal </li> |
4273 |
| - <li><tt>ugt</tt>: unsigned greater than</li> |
4274 |
| - <li><tt>uge</tt>: unsigned greater or equal</li> |
4275 |
| - <li><tt>ult</tt>: unsigned less than</li> |
4276 |
| - <li><tt>ule</tt>: unsigned less or equal</li> |
4277 |
| - <li><tt>sgt</tt>: signed greater than</li> |
4278 |
| - <li><tt>sge</tt>: signed greater or equal</li> |
4279 |
| - <li><tt>slt</tt>: signed less than</li> |
4280 |
| - <li><tt>sle</tt>: signed less or equal</li> |
4281 |
| -</ol> |
4282 |
| -<p>The remaining two arguments must be <a href="#t_vector">vector</a> or |
4283 |
| -<a href="#t_integer">integer</a> typed. They must also be identical types.</p> |
4284 |
| -<h5>Semantics:</h5> |
4285 |
| -<p>The '<tt>vicmp</tt>' instruction compares <tt>op1</tt> and <tt>op2</tt> |
4286 |
| -according to the condition code given as <tt>cond</tt>. The comparison yields a |
4287 |
| -<a href="#t_vector">vector</a> of <a href="#t_integer">integer</a> result, of |
4288 |
| -identical type as the values being compared. The most significant bit in each |
4289 |
| -element is 1 if the element-wise comparison evaluates to true, and is 0 |
4290 |
| -otherwise. All other bits of the result are undefined. The condition codes |
4291 |
| -are evaluated identically to the <a href="#i_icmp">'<tt>icmp</tt>' |
4292 |
| -instruction</a>.</p> |
4293 |
| - |
4294 |
| -<h5>Example:</h5> |
4295 |
| -<pre> |
4296 |
| - <result> = vicmp eq <2 x i32> < i32 4, i32 0>, < i32 5, i32 0> <i>; yields: result=<2 x i32> < i32 0, i32 -1 ></i> |
4297 |
| - <result> = vicmp ult <2 x i8 > < i8 1, i8 2>, < i8 2, i8 2 > <i>; yields: result=<2 x i8> < i8 -1, i8 0 ></i> |
4298 |
| -</pre> |
4299 |
| -</div> |
4300 |
| - |
4301 |
| -<!-- _______________________________________________________________________ --> |
4302 |
| -<div class="doc_subsubsection"> |
4303 |
| - <a name="i_vfcmp">'<tt>vfcmp</tt>' Instruction</a> |
4304 |
| -</div> |
4305 |
| -<div class="doc_text"> |
4306 |
| -<h5>Syntax:</h5> |
4307 |
| -<pre> <result> = vfcmp <cond> <ty> <op1>, <op2></pre> |
4308 |
| -<h5>Overview:</h5> |
4309 |
| -<p>The '<tt>vfcmp</tt>' instruction returns an integer vector value based on |
4310 |
| -element-wise comparison of its two floating point vector operands. The output |
4311 |
| -elements have the same width as the input elements.</p> |
4312 |
| -<h5>Arguments:</h5> |
4313 |
| -<p>The '<tt>vfcmp</tt>' instruction takes three operands. The first operand is |
4314 |
| -the condition code indicating the kind of comparison to perform. It is not |
4315 |
| -a value, just a keyword. The possible condition code are:</p> |
4316 |
| -<ol> |
4317 |
| - <li><tt>false</tt>: no comparison, always returns false</li> |
4318 |
| - <li><tt>oeq</tt>: ordered and equal</li> |
4319 |
| - <li><tt>ogt</tt>: ordered and greater than </li> |
4320 |
| - <li><tt>oge</tt>: ordered and greater than or equal</li> |
4321 |
| - <li><tt>olt</tt>: ordered and less than </li> |
4322 |
| - <li><tt>ole</tt>: ordered and less than or equal</li> |
4323 |
| - <li><tt>one</tt>: ordered and not equal</li> |
4324 |
| - <li><tt>ord</tt>: ordered (no nans)</li> |
4325 |
| - <li><tt>ueq</tt>: unordered or equal</li> |
4326 |
| - <li><tt>ugt</tt>: unordered or greater than </li> |
4327 |
| - <li><tt>uge</tt>: unordered or greater than or equal</li> |
4328 |
| - <li><tt>ult</tt>: unordered or less than </li> |
4329 |
| - <li><tt>ule</tt>: unordered or less than or equal</li> |
4330 |
| - <li><tt>une</tt>: unordered or not equal</li> |
4331 |
| - <li><tt>uno</tt>: unordered (either nans)</li> |
4332 |
| - <li><tt>true</tt>: no comparison, always returns true</li> |
4333 |
| -</ol> |
4334 |
| -<p>The remaining two arguments must be <a href="#t_vector">vector</a> of |
4335 |
| -<a href="#t_floating">floating point</a> typed. They must also be identical |
4336 |
| -types.</p> |
4337 |
| -<h5>Semantics:</h5> |
4338 |
| -<p>The '<tt>vfcmp</tt>' instruction compares <tt>op1</tt> and <tt>op2</tt> |
4339 |
| -according to the condition code given as <tt>cond</tt>. The comparison yields a |
4340 |
| -<a href="#t_vector">vector</a> of <a href="#t_integer">integer</a> result, with |
4341 |
| -an identical number of elements as the values being compared, and each element |
4342 |
| -having identical with to the width of the floating point elements. The most |
4343 |
| -significant bit in each element is 1 if the element-wise comparison evaluates to |
4344 |
| -true, and is 0 otherwise. All other bits of the result are undefined. The |
4345 |
| -condition codes are evaluated identically to the |
4346 |
| -<a href="#i_fcmp">'<tt>fcmp</tt>' instruction</a>.</p> |
4347 |
| - |
4348 |
| -<h5>Example:</h5> |
4349 |
| -<pre> |
4350 |
| - <i>; yields: result=<2 x i32> < i32 0, i32 -1 ></i> |
4351 |
| - <result> = vfcmp oeq <2 x float> < float 4, float 0 >, < float 5, float 0 > |
4352 |
| - |
4353 |
| - <i>; yields: result=<2 x i64> < i64 -1, i64 0 ></i> |
4354 |
| - <result> = vfcmp ult <2 x double> < double 1, double 2 >, < double 2, double 2> |
4355 |
| -</pre> |
4356 |
| -</div> |
4357 |
| - |
4358 | 4247 | <!-- _______________________________________________________________________ -->
|
4359 | 4248 | <div class="doc_subsubsection">
|
4360 | 4249 | <a name="i_phi">'<tt>phi</tt>' Instruction</a>
|
|
0 commit comments