3.6.2 Logical Unit Based Operations
Various seemingly arithmetic operations can actually be performed
as boolean operations. Note that there are separate instructions
for Word Vector and Float Vector equality test, to account for
the possibility of negative zero, per the IEEE-754 standard.
Floating-Point Negate and Absolute Value
| Mnemonic |
Format |
Unit |
Semantics |
Description |
| negfv |
uO |
lu |
2{ x.uwv ^= (1<<31) } |
Negate Float Vector |
| absfv |
uO |
lu |
2{ x.uwv &= ~(1<<31) } |
Absolute value Float Vector |
| eqwv |
bR |
lu |
2{ x.wv = (x.wv == y.wv) } |
Equal Word Vector |
| eqfv |
bR |
lu |
2{ x.wv = (x.fv == y.fv) } |
Equal Float Vector |