English
Language : 

RM0004 Datasheet, PDF (510/1176 Pages) STMicroelectronics – Programmer’s reference manual for Book E processors
RM0004
Instruction set
evfststeq
Vector SPFP APU User
Vector floating-point single-precision test equal
evfststeq
crfD,rA,rB
evfststeq
0
56
8 9 10 11
15 16
20 21
31
0 0 0 1 0 0 crfD 0 0
rA
rB
010 1001 1110
ah ← rA0:31
al ← rA32:63
bh ← rB0:31
bl ← rB32:63
if (ah = bh) then ch ← 1
else ch ← 0
if (al = bl) then cl ← 1
else cl ← 0
CR4*crD:4*crD+3 ← ch || cl || (ch | cl) || (ch & cl)
Each element of rA is compared against the corresponding element of rB. If rA equals rB,
the bit in crfD is set, otherwise it is cleared. Comparison ignores the sign of 0 (+0 = –0). The
comparison proceeds after treating NaNs, Infinities, and Denorms as normalized numbers,
using their values of ‘e’ and ‘f’ directly.
No exceptions are taken during the execution of evfststeq. If strict IEEE 754 compliance is
required, the program should use evfscmpeq.
Implementation note: In an implementation, the execution of evfststeq is likely to be faster
than the execution of evfscmpeq.
510/1176