Skip to content

Should vfslide1* do nanbox checking? #2161

@avakar

Description

@avakar

I'm guessing it should, based on the spike implementation and the text in extension D:

Apart from transfer operations described in the previous paragraph, all other floating-point operations on narrower n-bit operations, n<FLEN, check if the input operands are correctly NaN-boxed

However, the text on vslide1down.vx states:

If XLEN > SEW, the least-significant bits are copied over and the high SEW-XLEN bits are ignored.

and then the text on vfslide1down.vf states, somewhat vaguely:

The vfslide1down instruction is defined analogously to vslide1down, but sources its scalar argument from an f register.

This has already led to some confusion, I suggest at least adding a note. Same issue for vfslide1up.vf of course.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions