Add some ISA predicates for Intel CPUID features.

Guard the popcnt instruction on the proper CPUID bits.
This commit is contained in:
Jakob Stoklund Olesen
2017-07-12 16:05:20 -07:00
parent b6f2f0d862
commit d8e2cb2b42
5 changed files with 41 additions and 9 deletions

View File

@@ -2,10 +2,10 @@
test compile
set is_64bit=0
isa intel
isa intel has_sse42 has_popcnt
set is_64bit=1
isa intel
isa intel has_sse42 has_popcnt
; Constants.