Landing: 613a3462bb23

Project / Subsystem

gcc / gcc/riscv-vector

Date

2026-06-09

Author

Lino Hsing-Yu Peng

Commit

613a3462bb231131ece33dca5849749498dc019b

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/riscv-vector
patch_id
commit_hash
613a3462bb231131ece33dca5849749498dc019b
source_type
github
headline
RISC-V: Track altfmt in RVV vtype state
tldr
GCC now tracks the new `altfmt` field in RISC-V Vector `vtype` state, crucial for FP8 format selection in Zvfofp8min instructions.
author
Lino Hsing-Yu Peng
outcome
committed
performance_win
false
breaking_change
false
series_id
gcc:risc-v: track altfmt in rvv vtype state
series_parts
[]
tags
  • risc-v
  • vectorization
  • fp8
  • isa-extension
discussion_id_link
bugzilla_pr
date
2026-06-09T00:00:00.000Z

GCC’s RISC-V backend now tracks the altfmt field within the RVV vtype state, which is vital for correctly handling Zvfofp8min instructions that use this field to select alternate FP8 formats. By integrating altfmt into vsetvl_info and the vsetvl pass, the compiler prevents merging or removing vector configurations that require distinct altfmt values. This ensures that vector operations, particularly those involving FP8, maintain correct functionality and efficiency.