risc-v

Definition

fsgnjx (RISC-V)

Stores in register a the value of register b with a sign bit computed as the xor of the sign bits of b and c.

fsgnjx.s a, b, c

Equivalent C code:

a = xor_sign(b, c)