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

Frederik Gladhorn noreply at phabricator.kde.org
Tue Aug 13 07:23:07 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190813/e4fa6a0a/attachment.html>


More information about the kwin mailing list