Encoding:

MSA

011110

11

i8

ws

wd

I8

000000

6

2

8

5

5

6

Format:

XORI.B 

Immediate Logical Exclusive Or

XORI.B wd,ws,i8

MSA

Immediate Logical Exclusive Or

Purpose:

Immediate Logical Exclusive Or

Immediate by vector logical exclusive or.

Description:

wd[i] = ws[i] XOR i8

Each byte element of vector ws is combined with the 8-bit immediate i8 in a bitwis e logical XOR operation. The result is written to vector wd.

The operands and results are values in integer byte data format.

Restrictions:

No data-dependent exceptions are possible.

Operation:

 for i in 0 .. WRLEN/8-1
   WR[wd]8i+7..8i = WR[ws]8i+7..8i xor i87..0
endfor

Exceptions:

Reserved Instruction Exception, MSA Disabled Exception.