https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107284
Bug ID: 107284 Summary: Option properties Mask infrastructure can be extended with wide_int_bitmask Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: crazylht at gmail dot com Target Milestone: --- For x86, as more and more ISAs are introduced, we're almost running out of ix86_isa_flags2, a ix86_isa_flags3 needs to be introduced, that caused maintainance difficulty since there're depenedence between bits in different isa_flag(and several values used as same purpose for isa bit mask), it would be nice if we can introduce wide_int_bit_mask in the opth-gen.awk/opts-functions.awk ..etc, extend wide_int_bit_mask to 256 bits, and overload bit set/shift in wide_int_bitmask.h. So the backend can be released from maintain those "overloads" for mask bits.