Skip to content

FROUND

Operation

Rounds a floating-point source to a nearest-even integral value independently of FSTATUS.RM.

Assembler Syntax

FROUND.{S|D}(z) Fn(s), Fn(d)

FROUND.{S|D}(z) <ea>(e), Fn(d)

FROUND.{S|D}(z) Fn(s), <ea>(e)

Privilege

Unprivileged

Required CPUID flags

FP

Repeat eligibility

REP eligible

Rounds the selected floating-point source to the nearest integral value in the same format using nearest-even, independently of FSTATUS.RM.

2.75in

Encodings

FROUND.{S|D}(z) Fn(s), Fn(d)

Format: Instruction format for FROUND.{S|D}(z) Fn(s), Fn(d)

Format: Instruction format for FROUND.{S|D}(z) Fn(s), Fn(d)

2.75in FROUND.{S|D}(z) <ea>(e), Fn(d)

Format: Instruction format for FROUND.{S|D}(z) <ea>(e), Fn(d)

Format: Instruction format for FROUND.{S|D}(z) <ea>(e), Fn(d)

2.75in FROUND.{S|D}(z) Fn(s), <ea>(e)

Format: Instruction format for FROUND.{S|D}(z) Fn(s), <ea>(e)

Format: Instruction format for FROUND.{S|D}(z) Fn(s), <ea>(e)

dstexcluded: immediate [invalid_destination]