https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117669
Bug ID: 117669 Summary: RISC-V:The 'VEEWTRUNC4' iterator 'RVVMF2BF' type condition error Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sundongya at nucleisys dot com Target Milestone: --- Hi, While studying the bf16 type within the RISC-V related code, I noticed a potential discrepancy in the vector-iterators.md file, specifically within the "VEEWTRUNC4" iterator concerning the condition for "RVVMF2BF". The existing code is as follows: (RVVM2BF "TARGET_VECTOR_ELEN_BF_16") (RVVM1BF "TARGET_VECTOR_ELEN_BF_16") (RVVMF2BF "TARGET_VECTOR_ELEN_FP_16") (RVVMF4BF "TARGET_VECTOR_ELEN_BF_16 && TARGET_MIN_VLEN > 32 && TARGET_64BIT") It seems that the constraint for RVVMF2BF should ideally be "TARGET_VECTOR_ELEN_BF_16". I hope this observation can be of some help in enhancing the accuracy of our code.