# `fcvt.d.lu`

[RISC-V Documentation](https://asm-editor.specy.app/documentation/risc-v.md) › [Instructions](https://asm-editor.specy.app/documentation/risc-v/instruction.md)

Web page: https://asm-editor.specy.app/documentation/risc-v/instruction/fcvt.d.lu

**Convert double from unsigned 64 bit integer** · RV64 only

Category: Floating point

Converts the unsigned 64-bit integer in the second register to double precision and stores it in the first.

[RISC-V manual: fcvt.d.lu](https://docs.riscv.org/reference/isa/v20260120/unpriv/d-st-ext.html#norm:fcvt-wu-d_fcvt-lu-d_fcvt-d-wu_fcvt-d-lu_op)

## Forms

- `fcvt.d.lu f1, t1, rm`

## Pseudo-instructions

The processor does not have these forms. The assembler replaces each of them with one or more real instructions. Open a row to see them.

- `fcvt.d.lu f1, t1`
  - `fcvt.d.lu f1, t1` → `fcvt.d.lu f1, t1, dyn`

## Operands

- `f1`: Any floating-point register, `f0` to `f31`, or its named alias, such as `ft0`, `fa0` or `ft11`.
- `t1`: Any integer register, `x0` to `x31`, or its named alias, such as `zero`, `t0` or `t6`.
- `rm`: A rounding mode: `rne` (nearest, ties to even), `rtz` (toward zero), `rdn` (toward negative infinity), `rup` (toward positive infinity), `rmm` (nearest, ties away from zero) or `dyn` (use the rounding mode in `fcsr`).

## Example

```riscv64
# Convert the value 6 from lu to d; f2 (ft2) holds 6.0.
.text
li t0, 6
fcvt.d.lu f2, t0
```
