Syntax
cmptun $s_reg1, $s_reg2, $d_reg
cmptun $d_reg/$s_reg1, $s_reg2
Description
Compare T_floating Unordered compares the contents of $s_reg1 or $d_reg with the contents of $s_reg2. If either $s_reg1 or $s_reg2 is unordered, a nonzero value is written to the destination register; otherwise, a true 0 value is written to the destination. Exceptions are not signaled for unordered values.
Qualifiers
The following table describes the qualifiers for the cmptun instruction:
Instruction | Qualifier description |
no qualifier | IEEE Rounding Mode: Normal rounding |
IEEE Trap Mode: Imprecise, integer overflow disabled, inexact disabled | |
cmptunsu | IEEE Trap Mode: Software, underflow enabled, inexact disabled |