| commit | ad9de929c3ef0b3b6c32db05cf3dc33ff3904990 | [log] [tgz] |
|---|---|---|
| author | Jan Beulich <jbeulich@suse.com> | Thu Mar 17 11:04:41 2022 +0100 |
| committer | Jan Beulich <jbeulich@suse.com> | Thu Mar 17 11:04:41 2022 +0100 |
| tree | cc8815e24abb964ae9d5a628123fc1adb0f78ba4 | |
| parent | b1f8a900fdd64dee497912276c9f176169444219 [diff] |
x86: unify CPU flag on/off processing There's no need for the arbitrary special "unknown" token: Simply recognize the leading ~ and process everything else the same, merely recording whether to set individual fields to 1 or 0. While there exclude CpuIAMCU from CPU_UNKNOWN_FLAGS - CPU_IAMCU_FLAGS override cpu_arch_flags anyway when -march=iamcu is passed, and there's no reason to have the stray flag set even if no insn actually is keyed to it.