#412·tachyon

unsupported ADX CPU instruction set causes invalid ops exception during unit tests

Author: zkbitcoinCreated May 3, 2024Updated May 3, 2024

Issue type

Bug

OS platform and distribution

Ubuntu 22.04.4 LTS

Current behavior?

behavior occurs on on CPU's where cat /proc/cpuinfo | grep adx returns nothing (unsupported adx instruction set)

Expected Behavior?

unit tests should complete successfully

Standalone code or description to reproduce the issue

run unit tests on CPUS without ADX instructions set support (cat /proc/cpuinfo | grep adx returns nothing)

Additional context

problem isolated to ffiasm library which uses assembly code adcx and adox