Skip to content

testsuite: Add predicate for CPU feature availability

Ben Gamari requested to merge wip/testsuite-cpu-features into master

Previously testing code-generation for ISA extensions was nearly impossible since we had no ability to determine whether the host supports the needed extension. Here we fix this by introducing a simple /proc/cpuinfo-based testsuite predicate.

Todo

  • Make sure that features are correctly detected on x86_64, i386 Linux, Darwin, and Windows
Edited by Ben Gamari

Merge request reports