Landing: cd28fb866379

Project / Subsystem

binutils / risc-v

Date

2026-06-30

Author

Jiawei Chen <jiawei@sourceware.org>

Commit

cd28fb866379c5dbbe431feb24aa62d369554f80

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
risc-v
patch_id
commit_hash
cd28fb866379c5dbbe431feb24aa62d369554f80
source_type
public_inbox
headline
RISC-V disassembler correctly checks vector type extensions for altfmt disassembly
tldr
Fixes RISC-V disassembly to only show alternative format (altfmt) vector type names when supported extensions are advertised.
author
Jiawei Chen <jiawei@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • risc-v
  • disassembler
  • vector extensions
discussion_id_link
bugzilla_pr
date
2026-06-30T00:00:00.000Z

The RISC-V disassembler now correctly checks for supported vector type extensions before displaying alternative format (altfmt) names. This prevents the disassembler from showing altfmt encodings for instructions that are not supported by the target architecture’s extensions. The change ensures accurate disassembly output by only displaying these extended formats when the object file advertises the relevant extensions or when all extensions are explicitly enabled.