toolkit/content/jar.mn
author Steve Snyder <swsnyder@snydernet.net>
Thu, 01 Oct 2009 14:19:41 -0400
changeset 33346 8a43f01f1d6478ad072c1f4a41fb633f8a5e3a32
parent 32234 0925624977a2d9917ed29a3de8c4777d61f03073
child 34241 1ad6877618197ca24a8be1a4104cdc9517ca581d
permissions -rw-r--r--
Bug 512865. qcms: Improve SSE2 performance, add SSE support. r=jrmuizel This patch greatly improves the performance of QCMS transformations on x86 & x86_64 systems. Some notes: 0. On 32-bit x86 systems it does runtime selection between non-SIMD, SSE, and SSE2 code paths. 1. On x86_64 systems the SSE2 code path is always taken. The non-SIMD and SSE code paths are left intact, but contemporary versions of the GCC and MSVC compilers will see that they cannot be reached and optimize them away. 2. The execution of the SSE2 code path is reduced by 67%, relative to the original Intel/Microsoft formatted ASM code. The relative performance is seen on a Pentium4 (Northwood) 2.4GHz CPU with DDR1 RAM. 3. The SSE code path provides a 80% reduction in execution time, relative to the non-SIMD code path. The relative performance is seen on a Pentium3 (Coppermine) 1.26GHz CPU with SDRAM. 4. The code has been split out into separate files so that it can be built with different cflags (-msse, and -msse2) when using gcc. 5. Try to land again, this time with __attribute__((__force_align_arg_pointer__)) to avoid crashes on linux.

toolkit.jar:
%  content global %content/global/ xpcnativewrappers=yes contentaccessible=yes
%  content global-platform %content/global-platform/ platform xpcnativewrappers=yes
%  content global-region %content/global-region/ xpcnativewrappers=yes
# provide the nsTransferable in nsDragAndDrop.js to extensions that have to
# work with Geckos from before 1.9, when there was a separate file
%  override chrome://global/content/nsTransferable.js chrome://global/content/nsDragAndDrop.js
*  content/global/license.html                (license.html)
   content/global/XPCNativeWrapper.js         (XPCNativeWrapper.js)
*  content/global/xul.css                     (xul.css)
   content/global/textbox.css                 (textbox.css)
   content/global/menulist.css                (menulist.css)
*  content/global/about.xhtml                 (about.xhtml)
*  content/global/aboutRights.xhtml           (aboutRights.xhtml)
*  content/global/aboutRights-unbranded.xhtml (aboutRights-unbranded.xhtml)
   content/global/directionDetector.html
   content/global/plugins.html
   content/global/plugins.css
*+  content/global/buildconfig.html            (buildconfig.html)
+  content/global/charsetOverlay.js           (charsetOverlay.js)
+  content/global/charsetOverlay.xul          (charsetOverlay.xul)
*+ content/global/commonDialog.js             (commonDialog.js)
*+ content/global/commonDialog.xul            (commonDialog.xul)
   content/global/commonDialog.css            (commonDialog.css)
*  content/global/contentAreaUtils.js         (contentAreaUtils.js)
*  content/global/customizeCharset.js         (customizeCharset.js)
*  content/global/customizeCharset.xul        (customizeCharset.xul)
   content/global/customizeToolbar.css        (customizeToolbar.css)
*  content/global/customizeToolbar.js         (customizeToolbar.js)
*  content/global/customizeToolbar.xul        (customizeToolbar.xul)
*+ content/global/editMenuOverlay.js          (editMenuOverlay.js)
*+ content/global/editMenuOverlay.xul         (editMenuOverlay.xul)
*+ content/global/finddialog.js               (finddialog.js)
*+ content/global/finddialog.xul              (finddialog.xul)
*+ content/global/findUtils.js                (findUtils.js)
*+ content/global/globalOverlay.js            (globalOverlay.js)
*+ content/global/inlineSpellCheckUI.js       (inlineSpellCheckUI.js)
+  content/global/mozilla.xhtml               (mozilla.xhtml)
*+ content/global/nsDragAndDrop.js            (nsDragAndDrop.js)
+  content/global/selectDialog.js             (selectDialog.js)
+  content/global/selectDialog.xul            (selectDialog.xul)
*+ content/global/viewZoomOverlay.js          (viewZoomOverlay.js)
*+ content/global/bindings/autocomplete.xml    (widgets/autocomplete.xml)
*+ content/global/bindings/browser.xml         (widgets/browser.xml)
*+ content/global/bindings/button.xml          (widgets/button.xml)
*+ content/global/bindings/checkbox.xml        (widgets/checkbox.xml)
*+ content/global/bindings/colorpicker.xml     (widgets/colorpicker.xml)
*+ content/global/bindings/datetimepicker.xml  (widgets/datetimepicker.xml)
*+ content/global/bindings/dialog.xml          (widgets/dialog.xml)
*+ content/global/bindings/editor.xml          (widgets/editor.xml)
*  content/global/bindings/expander.xml        (widgets/expander.xml)
*  content/global/bindings/filefield.xml       (widgets/filefield.xml)
*+ content/global/bindings/findbar.xml         (widgets/findbar.xml)
*+ content/global/bindings/general.xml         (widgets/general.xml)
*+ content/global/bindings/groupbox.xml        (widgets/groupbox.xml)
*+ content/global/bindings/listbox.xml         (widgets/listbox.xml)
*+ content/global/bindings/menu.xml            (widgets/menu.xml)
*+ content/global/bindings/menulist.xml        (widgets/menulist.xml)
*+ content/global/bindings/notification.xml    (widgets/notification.xml)
*+ content/global/bindings/numberbox.xml       (widgets/numberbox.xml)
*+ content/global/bindings/popup.xml           (widgets/popup.xml)
*+ content/global/bindings/preferences.xml     (widgets/preferences.xml)
*+ content/global/bindings/progressmeter.xml   (widgets/progressmeter.xml)
*+ content/global/bindings/radio.xml           (widgets/radio.xml)
*+ content/global/bindings/resizer.xml         (widgets/resizer.xml)
*+ content/global/bindings/richlistbox.xml     (widgets/richlistbox.xml)
*+ content/global/bindings/scale.xml           (widgets/scale.xml)
*+ content/global/bindings/scrollbar.xml       (widgets/scrollbar.xml)
*+ content/global/bindings/scrollbox.xml       (widgets/scrollbox.xml)
*+ content/global/bindings/splitter.xml        (widgets/splitter.xml)
*+ content/global/bindings/spinbuttons.xml     (widgets/spinbuttons.xml)
*+ content/global/bindings/stringbundle.xml    (widgets/stringbundle.xml)
*+ content/global/bindings/tabbox.xml          (widgets/tabbox.xml)
*+ content/global/bindings/text.xml            (widgets/text.xml)
*+ content/global/bindings/textbox.xml         (widgets/textbox.xml)
*+ content/global/bindings/toolbar.xml         (widgets/toolbar.xml)
*+ content/global/bindings/toolbarbutton.xml   (widgets/toolbarbutton.xml)
*+ content/global/bindings/tree.xml            (widgets/tree.xml)
*+ content/global/bindings/videocontrols.xml   (widgets/videocontrols.xml)
*+ content/global/bindings/videocontrols.css   (widgets/videocontrols.css)
*+ content/global/bindings/wizard.xml          (widgets/wizard.xml)
#ifdef XP_MACOSX
*  content/global/macWindowMenu.js             (macWindowMenu.js)
#endif
#ifdef MOZ_SVG
   content/global/svg/svgBindings.xml          (/layout/svg/base/src/resources/content/svgBindings.xml)
#endif