Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions spec/std/isa/ext/Zvfofp8min.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright (c) 2025 RISC-V International. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause-Clear

# yaml-language-server: $schema=../../schemas/ext_schema.json

$schema: "ext_schema.json#"
kind: extension
name: Zvfofp8min
long_name: Vector OFP8 Converts
description: |
This extension provides the minimal set of instructions needed to enable vector support of the
OFP8 format.
It enables OFP8 as an interchange format as it provides conversion between OFP8 values and FP32 values.
The extension offers conversion between OFP8 and BF16 (both directions), and from FP32 to OFP8
(only quad narrowing conversion). The narrowing conversions support both saturate and non-saturate
modes. Both OFP8 formats, E4M3 and E5M2, are supported.
Comment on lines +11 to +16
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did this text originate? It would be best to use text directly from the spec.


This extension depends upon either the V extension or the Zve32f embedded vector extension.
type: unprivileged
versions:
- version: "0.2.1"
state: ratified
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
state: ratified
state: development

ratification_date: null
requires:
anyOf:
- V
- Zve32f
Comment on lines +24 to +27
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per my understanding:

Suggested change
requires:
anyOf:
- V
- Zve32f
requires: Zve32f

The "Zve*" extensions are designed for minimal vector support in embedded-class implementations, not full "V"/RVV support.

Loading