1    /*
2     * Loads a specified register from vB. Used primarily for conversions
3     * from or to a floating-point type.
4     *
5     * Sets up a1 = A and a2 = B. a2 is later used by fcvtFooter.S to
6     * store the result in vA and jump to the next instruction.
7     *
8     * For: int-to-float, int-to-double, long-to-float, long-to-double,
9     *      float-to-int, float-to-long, float-to-double, double-to-int,
10     *      double-to-long, double-to-float, neg-float, neg-double.
11     */
12    ext     a1, rINST, 8, 4             # a1 <- A
13    srl     a2, rINST, 12               # a2 <- B
14    GET_VREG$suffix $valreg, a2
15    FETCH_ADVANCE_INST 1                # advance rPC, load rINST
16