Add some ISA predicates for Intel CPUID features.
Guard the popcnt instruction on the proper CPUID bits.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
; binary emission of 32-bit code.
|
||||
test binemit
|
||||
isa intel
|
||||
isa intel has_sse42 has_popcnt
|
||||
|
||||
; The binary encodings can be verified with the command:
|
||||
;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
; binary emission of 64-bit code.
|
||||
test binemit
|
||||
set is_64bit
|
||||
isa intel
|
||||
isa intel has_sse42 has_popcnt
|
||||
|
||||
; The binary encodings can be verified with the command:
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user