 of input values are listed in <a href="./VRNDSCALEPD.html#tbl-5-25">Table 5-25</a>.</p>
<h3 id="operation">Operation<a class="anchor" href="#operation">
			¶
		</a></h3>
<pre>RoundToIntegerSP(SRC[31:0], imm8[7:0]) {
    if (imm8[2] = 1)
        rounding_direction←MXCSR:RC
                    ; get round control from MXCSR
    else
        rounding_direction←imm8[1:0]
    M←imm8[7:4] ; get the scaling factor
    case (rounding_direction)
    00: TMP[31:0]←round_to_nearest_even_integer(2<sup>M</sup>