xserver-multidpi/include
Matt Turner d206d52f65 Use __builtin_constant_p to determine if we can use lswapl
If the address of the swapped memory location is known at compile time,
we can check its alignment at no runtime cost and use lswapl instead.

           text   data    bss      dec     hex  filename
before: 1872820  52136  78040  2002996  1e9034  hw/xfree86/Xorg
after:  1864396  52136  78040  1994572  1e6f4c  hw/xfree86/Xorg

bswap instructions: 131 ->  308 (used in lswapl)
rol instructions:   943 -> 1174 (used in lswaps)

Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-09-21 17:14:44 -04:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
callback.h dix: optimize CallCallbacks 2010-10-13 09:24:06 -07:00
client.h os: Add facilities for client ID tracking. 2010-12-23 13:53:18 +02:00
closestr.h dixfonts: Deobfuscate GC ops calls. 2010-09-13 15:55:17 -07:00
closure.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
colormap.h Quit using clientErrorValue in dix/colormap.c. 2010-05-13 17:14:07 -07:00
colormapst.h xfree86: Fix the sdk headers to be multilib-safe 2011-02-23 13:39:22 -05:00
cursor.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
cursorstr.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
dix-config-apple-verbatim.h Move the apple fat binary hacks back to a header file, and make it apple-only. 2009-01-30 16:36:45 -08:00
dix-config.h.in XQuartz: Rename launchd-id-prefix to bundle-id-prefix 2011-04-25 18:57:04 -07:00
dix.h dix: rename ProcessRawEvents to dix/events.c:DeliverRawEvent 2011-06-08 13:57:05 +10:00
dixaccess.h dix: add a new DixAccess bit, "DixPostAccess". 2009-06-26 17:05:52 -04:00
dixevents.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
dixfont.h dix: use one single function to register fpe fonts 2010-06-24 13:55:28 -07:00
dixfontstr.h Remove #define NEED_EVENTS and NEED_REPLIES 2008-12-12 11:43:32 +10:00
dixgrabs.h XKB: Add debug key actions for grabs & window tree 2011-07-01 08:46:20 +10:00
dixstruct.h os: Add facilities for client ID tracking. 2010-12-23 13:53:18 +02:00
eventconvert.h Input: Allow EventToCore to return multiple events 2011-02-17 09:40:59 +10:00
events.h XQuartz: Transition from xEvent based mieq to InternalEvent 2009-09-27 23:31:07 -07:00
eventstr.h input: change CHECKEVENT macro to verify_internal_event function 2011-05-06 09:58:08 +10:00
exevents.h Xi: constify XIChangeDeviceProperty() 2011-02-14 09:12:58 +10:00
extension.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
extinit.h include: XInputExtensionInit doesn't need to be exported. 2009-08-17 10:14:20 +10:00
extnsionst.h Declare functions that unconditionally call FatalError as _X_NORETURN. 2010-05-22 01:00:04 -07:00
gc.h Un-export CreateScratchGC now that nothing external uses it. 2010-09-13 15:58:08 -07:00
gcstruct.h Delete unused lastWinOrg field from GCs. 2010-09-13 15:55:17 -07:00
globals.h Move each screen's x/y origin into ScreenRec. 2010-06-03 14:03:23 -07:00
hotplug.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
input.h input: add POINTER_NORAW to avoid generation of raw events (#30068) 2011-07-01 08:46:28 +10:00
inputstr.h xserver: remove AbsoluteClass, breaking the A(P|B)I 2011-05-25 08:23:58 +10:00
inpututils.h input: change CHECKEVENT macro to verify_internal_event function 2011-05-06 09:58:08 +10:00
kdrive-config.h.in kdrive: Add option to compile out input drivers 2010-01-06 19:47:53 +06:00
list.h include: document list interface. 2011-02-25 09:03:08 +10:00
Makefile.am os: Add facilities for client ID tracking. 2010-12-23 13:53:18 +02:00
misc.h Use __builtin_constant_p to determine if we can use lswapl 2011-09-21 17:14:44 -04:00
miscstruct.h Merge branch 'master' into XACE-SELINUX 2007-08-28 07:25:21 -04:00
opaque.h dix: adds support for none root window background 2010-11-11 23:24:43 +02:00
os.h Terminate the log with one last message. 2011-07-27 09:31:02 +10:00
pixmap.h dix: Remove the memory of the multibuffer extension 2010-10-13 09:18:41 -07:00
pixmapstr.h Revert "dix: Remove usage_hint from pixmaps, store it in ->drawable.class" 2011-03-17 23:48:52 -07:00
privates.h "privates.h", line 198: warning: void function cannot return value 2011-05-27 19:52:10 -07:00
property.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
propertyst.h dix: Shrink PropertyRec on LP64 2011-03-14 13:44:46 -04:00
protocol-versions.h fixes: Add support for pointer barriers 2011-05-31 15:10:51 -04:00
ptrveloc.h dix: change ProcessVelocityData2D to BOOL. 2011-04-21 14:17:55 +10:00
region.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
regionstr.h Add RegionInitBoxes(), and fix some buggy callers of RegionInit(). 2011-04-22 21:39:31 -04:00
registry.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
resource.h dix: Define RESTYPE as uint32_t 2011-03-14 13:57:20 -04:00
rgb.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
screenint.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
scrnintstr.h Revert "dix: Remove usage_hint from pixmaps, store it in ->drawable.class" 2011-03-17 23:48:52 -07:00
selection.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
servermd.h xfree86: nds32: add nds32 related definitions into include headers. 2010-09-23 15:35:48 -07:00
site.h dix: delete logo hack screen saver 2010-11-11 23:20:35 +02:00
swaprep.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
swapreq.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
validate.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
version-config.h.in Move VENDOR_* defines from AC_SUBST to a header to avoid angering shave. 2009-04-14 10:35:44 -04:00
window.h DIX: Make PrintWindowTree actually useful 2011-07-01 08:46:15 +10:00
windowstr.h composite: Inhibit window background paint with manual subwindow redirection 2011-08-03 20:46:36 -07:00
XIstubs.h input: Purge AddOtherInputDevices DDX hook. 2010-09-01 15:26:52 +10:00
xkb-config.h.in XKB: Allow build-time configuration of XKB defaults 2009-01-20 15:32:18 +11:00
xkbfile.h XKB: Remove support for setting combined keymaps 2009-01-22 15:08:56 +11:00
xkbrules.h XKB: Remove descriptions from maprules 2009-01-22 15:08:56 +11:00
xkbsrv.h xkb: Release XKB component names when compiling keymap. 2011-03-16 15:21:41 +10:00
xkbstr.h Revert "XKB: Sanitise * actions" commits (#19602) 2009-07-10 11:23:52 +10:00
xorg-config.h.in DRI2: Allow building without libdrm 2010-06-03 11:56:03 +03:00
xorg-server.h.in xfree86: Fix the sdk headers to be multilib-safe 2011-02-23 13:39:22 -05:00
Xprintf.h Add asprintf() implementation for platforms without it 2010-12-07 11:10:35 -08:00
xserver-properties.h Add a property for device/product ID. 2011-05-26 15:27:10 +10:00
xsha1.h Move SHA1 computation from render/glyph.c to os/ 2009-10-15 01:17:44 +02:00
xwin-config.h.in Cygwin/X: Allow the default log location to be configurable 2010-03-16 14:02:17 +00:00