Encoding:

MSA

011110

1100

df

wt

ws

wd

3RF

011011

6

4

1

5

5

5

6

Format:

FMIN.df 

Vector Floating-Point Minimum

FMIN.W wd,ws,wt

MSA

Vector Floating-Point Minimum

FMIN.D wd,ws,wt

MSA

Vector Floating-Point Minimum

Purpose:

Vector Floating-Point Minimum

Vector floating-point minimum.

Description:

wd[i] = min(ws[i], wt[i])

in v ector ws and v ector wt are written

The smallest value between corresponding floating-point elements to vector wd.

The smallest value is defined by the minNum operation in the IEEE Standard for Floating-Point Arithmetic 754TM2008.

The operands and results are values in floating-point data format df.

Restrictions:

Data-dependent exceptions are poss ible as s pecified by the I EEE Standard for Floating-Point Arithmetic 754TM2008.

Operation:

FMIN.W
   for i in 0 .. WRLEN/32-1
      WR[wd]32i+31..32i = MinFP(WR[ws]32i+31..32i, WR[wt]32i+31..32i, 32)
   endfor
FMIN.D
   for i in 0 .. WRLEN/64-1
      WR[wd]64i+63..64i = MinFP(WR[ws]64i+63..64i, WR[wt]64i+63..64i, 64)
   endfor
function MinFP(tt, ts, n)
   /* Implementation defined, returns the smallest argument. */
endfunction MinFP

Exceptions:

Reserved Instruction Exception, MSA Disabled Exception, MSA Floating Point Exception.