After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 141620 - Byteswapping is not optimized on P4
Byteswapping is not optimized on P4
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2004-05-02 10:38 UTC by Sebastien Bacher
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
patch from Gabor Gombas <gombasg@sztaki.hu> (462 bytes, patch)
2004-05-02 10:40 UTC, Sebastien Bacher
committed Details | Review

Description Sebastien Bacher 2004-05-02 10:38:32 UTC
This bug has been reported in the Debian BTS: http://bugs.debian.org/246330

"GUINT32_SWAP_LE_BE_IA32 does not use bswap when compiling for P4. Fix
(should also work for glib-2.2.3 in Sid)"
Comment 1 Sebastien Bacher 2004-05-02 10:40:10 UTC
Created attachment 27296 [details] [review]
patch from Gabor Gombas <gombasg@sztaki.hu>
Comment 2 Manish Singh 2004-05-02 10:55:49 UTC
Thanks for noticing.

Sun May  2 03:51:59 2004  Manish Singh  <yosh@gimp.org>
                                                                                
        * glib/gtypes.h: check for __pentium4__ when deciding whether to
        use bswap for GUINT32_SWAP_LE_BE_IA32(). Fixes bug #141620.