[Bug 599546] Faster read/write macros
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon May 30 09:29:22 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=599546
GStreamer | gstreamer (core) | git
--- Comment #15 from Edward Hervey <bilboed at gmail.com> 2011-05-30 16:29:11 UTC ---
I just re-applied the patches against current git master to check if the
optimisation still works and it does.
CFLAGS = -march=native -pipe -g2 -O3 -DG_DISABLE_CAST_CHECKS
-DG_THREADS_MANDATORY
gcc (Gentoo 4.5.2 p1.0, pie-0.4.5) 4.5.2 // AMD Phenom(tm) II X6 1055T
Processor
gstpluginloader.c:641
magic = GST_READ_UINT32_BE(out + 8);
before:
movzbl 0x8(%r13),%eax
movzbl 0x9(%r13),%ecx
shl $0x18,%eax
shl $0x10,%ecx
or %ecx,%eax
movzbl 0xb(%r13),%ecx
or %ecx,%eax
shl $0x8,%ecx
or %ecx,%eax
after:
mov 0x8(%r13),%edx
bswap %edx
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list