[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian-med-packaging] Infernal on i386



* Rebecca Palmer <rebecca_palmer@zoho.com>, 2014-09-17, 21:39:
The solution recently added to Julia is to check, and if necessary abort with an error, on starting the program itself:

http://anonscm.debian.org/cgit/pkg-julia/julia.git/tree/debian/patches/require-sse2-on-i386.patch

FYI, since GCC 4.8 you can just write:
if (__builtin_cpu_supports("sse2")) ...

Reference:
https://gcc.gnu.org/onlinedocs/gcc/X86-Built-in-Functions.html#index-g_t_005f_005fbuiltin_005fcpu_005fsupports-3789
https://gcc.gnu.org/gcc-4.8/changes.html

--
Jakub Wilk


Reply to: