XNOR
Exclusive NOR
XNOR rd, rs1, rs2
Performs bitwise exclusive-NOR (rs1 ^ ~rs2).
Details
XNOR computes the bitwise XNOR of rs1 and rs2. Equivalent to rd = ~(rs1 ^ rs2).
Pseudocode Operation
R[rd] = ~(R[rs1] ^ R[rs2]);
Example
XNOR x10, x11, x12
Encoding
Binary Layout
0100000
31:25
rs2
24:20
rs1
19:15
100
14:12
rd
11:7
0110011
6:0
Operands
-
rd
Destination register (integer) -
rs1
Source register 1 (integer) -
rs2
Source register 2 (integer)