[Debian-med-packaging] Infernal on i386

Jakub Wilk jwilk at debian.org
Thu Sep 18 12:48:38 UTC 2014


* Rebecca Palmer <rebecca_palmer at 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



More information about the Debian-med-packaging mailing list