Encoding:

MSA

011110

01

i8

ws

wd

I8

000000

6

2

8

5

5

6

Format:

ORI.B 

Immediate Logical Or

ORI.B wd,ws,i8

MSA

Immediate Logical Or

Purpose:

Immediate Logical Or

Immediate by vector logical or.

Description:

wd[i] = ws[i] OR i8

Each byte element of vector ws is combined with the 8-bit immediate i8 in a bitwise logical OR 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 or i87..0
endfor

Exceptions:

Reserved Instruction Exception, MSA Disabled Exception.