These may not be set from a value derived from cpu_arch_flags: That starts with (almost) all functionality enabled, while cpu_arch_isa_flags is supposed to track features that were explicitly enabled (and perhaps later disabled) by the user. To avoid needing to do any such adjustment in two places (each), introduce helper functions used by both command line handling and directive processing.
20 lines
203 B
ArmAsm
20 lines
203 B
ArmAsm
.text
|
|
default:
|
|
movsbl %al,%esi
|
|
.p2align 4
|
|
|
|
.arch .nopopcnt
|
|
nopopcnt:
|
|
movsbl %al,%esi
|
|
.p2align 4
|
|
|
|
.arch .popcnt
|
|
popcnt:
|
|
popcnt %eax,%esi
|
|
.p2align 4
|
|
|
|
.arch .nop
|
|
nop:
|
|
movsbl %al,%esi
|
|
.p2align 4
|