D23120: Use compiler __SSE2__ definitions and C++11 alignas

Frederik Gladhorn <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
gladhorn created this revision.
Herald added a project: KWin.
Herald added a subscriber: kwin.
gladhorn requested review of this revision.

REVISION SUMMARY
  Since C++11 alignas is a keyword, so we don't need to create our own.
  All relevant compilers (gcc, clang, icc) define __SSE2__, so just use that.
  
  There seem to be frequent crashes in the quad version of this code, but
  this change should not make any difference from what I can tell.

REPOSITORY
  R108 KWin

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23120

AFFECTED FILES
  libkwineffects/kwineffects.cpp

To: gladhorn
Cc: kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.