Encoding:

MSA

011110

101

df

wt

ws

wd

3R

001111

6

3

2

5

5

5

6

Format:

CLE_U.df 

Vector Compare Unsigned Less Than or Equal

CLE_U.B wd,ws,wt

MSA

Vector Compare Unsigned Less Than or Equal

CLE_U.H wd,ws,wt

MSA

Vector Compare Unsigned Less Than or Equal

CLE_U.W wd,ws,wt

MSA

Vector Compare Unsigned Less Than or Equal

CLE_U.D wd,ws,wt

MSA

Vector Compare Unsigned Less Than or Equal

Purpose:

Vector Compare Unsigned Less Than or Equal

Vector to vector compare for unsigned less or equal; if true all destination bits are set, otherwise clear.

Description:

wd[i] = (ws[i] <= wt[i])

Set all bits to 1 in wd elements if the corresponding ws elements are unsigned less than or equal to wt elements, otherwise set all bits to 0.

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

Restrictions:

No data-dependent exceptions are possible.

Operation:

CLE_U.B
   for i in 0 .. WRLEN/8-1
      c = (0 || WR[ws]8i+7..8i) <= (0 || WR[wt]8i+7..8i)
      WR[wd]8i+7..8i = c8
   endfor
CLE_U.H
   for i in 0 .. WRLEN/16-1
      c = (0 || WR[ws]16i+15..16i) <= (0 || WR[wt]16i+15..16i)
      WR[wd]16i+15..16i = c16
   endfor
CLE_U.W
   for i in 0 .. WRLEN/32-1
      c = (0 || WR[ws]__32i+31..32i_)_ <= (0 || WR[wt]32i+31..32i)
      WR[wd]32i+31..32i = c32
   endfor
CLE_U.D
   for i in 0 .. WRLEN/64-1
      c = (0 || WR[ws]64i+63..64i) <= (0 || WR[wt]64i+63..64i)
      WR[wd]64i+63..64i = c64
   endfor

Exceptions:

Reserved Instruction Exception, MSA Disabled Exception.