Syntax
cmpteq $s_reg1, $s_reg2, $d_reg
cmpteq $d_reg/$s_reg1, $s_reg2
Description
Compare T_floating Equal compares the contents of $s_reg1 or $d_reg with the contents of $s_reg2. If $s_reg1 equals $s_reg2, 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 cmpteq instruction:
Instruction | Qualifier description |
no qualifier | IEEE Rounding Mode: Normal rounding |
IEEE Trap Mode: Imprecise, integer overflow disabled, inexact disabled | |
cmpteqsu | IEEE Trap Mode: Software, underflow enabled, inexact_disabled |