arch_x86: improve flags support for semantic