From: Yuri Sedunov <aris@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] WebKitGTK-2.24.1 & SSE2
Date: Tue, 09 Apr 2019 13:20:45 +0300
Message-ID: <803e6d4e6a50c15ab8e0cb3b82b152c6d1d0c74e.camel@altlinux.org> (raw)
In-Reply-To: <f34d9d0f-9cb9-6758-6038-3d9c3cbd6d35@basealt.ru>
В Вт, 09/04/2019 в 13:12 +0300, Anton Farygin пишет:
> 09.04.2019 12:58, Yuri Sedunov пишет:
> > Неожиданно свежий вебкит захотел SSE2 на ix86
> > https://webkitgtk.org/2019/04/09/webkitgtk2.24.1-released.html
> > ...
> > Detect SSE2 at compile time.
> >
> > Принимаются конструктивные соображения по теме.
>
> Форсируй SSE2 enabled at compile time для x86 архитектур.
>
> А как они детектят ? у нас на сборочнице есть же sse2.
$ tail -30 Source/cmake/FindSSE2.cmake
macro(CHECK_FOR_SSE2)
include(CheckCXXSourceRuns)
check_cxx_source_runs("
#include <emmintrin.h>
int main ()
{
__m128d a, b;
double vals[2] = {0};
a = _mm_loadu_pd (vals);
b = _mm_add_pd (a,a);
_mm_storeu_pd (vals,b);
return(0);
}"
HAVE_SSE2_EXTENSIONS)
if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR
CMAKE_COMPILER_IS_CLANG)
if (HAVE_SSE2_EXTENSIONS)
set(SSE2_SUPPORT_FOUND TRUE)
endif ()
elseif (MSVC AND NOT CMAKE_CL_64)
if (HAVE_SSE2_EXTENSIONS)
set(SSE2_SUPPORT_FOUND TRUE)
message(STATUS "Found SSE2 extensions.")
endif (HAVE_SSE2_EXTENSIONS)
endif ()
endmacro(CHECK_FOR_SSE2)
CHECK_FOR_SSE2()
--
Yuri N. Sedunov
next prev parent reply other threads:[~2019-04-09 10:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-09 9:58 Yuri Sedunov
2019-04-09 10:12 ` Anton Farygin
2019-04-09 10:20 ` Yuri Sedunov [this message]
2019-04-09 10:25 ` Anton Farygin
2019-04-09 10:29 ` Yuri Sedunov
2019-04-09 10:34 ` Alexey V. Vissarionov
2019-04-09 10:40 ` Anton Farygin
2019-04-09 10:45 ` Alexey V. Vissarionov
2019-04-09 10:35 ` Anton Farygin
2019-04-09 10:36 ` Anton Farygin
2019-04-09 10:41 ` Alexey V. Vissarionov
2019-04-09 10:44 ` Anton Farygin
2019-04-09 10:28 ` Michael Shigorin
2019-04-09 10:29 ` Anton Farygin
2019-04-09 10:39 ` Alexey V. Vissarionov
2019-04-09 10:45 ` Sergey Afonin
2019-04-09 10:47 ` Alexey V. Vissarionov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=803e6d4e6a50c15ab8e0cb3b82b152c6d1d0c74e.camel@altlinux.org \
--to=aris@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git