According to v-spec 1.0, these 2 instructions shall be enabled in V ext.
but not in Zve ext. This patch addresses it.
Credits to Jianjian as he pointed this out in D117854.
Paths
| Differential D117865
[RISCV][MC] Guard vmulh, vsmul correctly AbandonedPublic Authored by eopXD on Jan 21 2022, 1:29 AM.
Details
Summary According to v-spec 1.0, these 2 instructions shall be enabled in V ext. Credits to Jianjian as he pointed this out in D117854.
Diff Detail
Event TimelineHerald added subscribers: VincentWu, luke957, achieveartificialintelligence and 27 others. · View Herald TranscriptJan 21 2022, 1:29 AM eopXD retitled this revision from [RISCV][MC] Guard vmulh, vsmul correctly. to [RISCV][MC] Guard vmulh, vsmul correctly. Comment Actions The instructions are only not supported with SEW=64. Smaller SEWs are supported. The MC layer doesn’t know about SEW. This revision now requires changes to proceed.Jan 21 2022, 8:28 AM
Revision Contents
Diff 401898 llvm/lib/Target/RISCV/RISCV.td
llvm/lib/Target/RISCV/RISCVInstrInfoV.td
llvm/lib/Target/RISCV/RISCVSubtarget.h
llvm/test/MC/RISCV/rvv/mul.s
|