2018-06-19 21:56 AEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000445mercuryBugpublic2018-03-19 15:19
Reporterwangp 
Assigned Towangp 
PrioritynormalSeverityminorReproducibilityN/A
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000445: __builtin_bswap16/32 support
DescriptionDetect support for __builtin_bswap{16,32} in configure, or figure out the earliest version of gcc/clang that support those builtins on relevant platforms.

e.g. the builtins are unavailable in gcc 4.2.1 on OpenBSD 6.2 (which is stuck on an old gcc for ideological reasons). It may be that we should only support clang on OpenBSD.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000962

juliensf (administrator)

Last edited: 2018-01-24 17:56

View 2 revisions

bswap32 and bswap64 first appeared in GCC 4.3.
bswap16 first appeared in GCC 4.8.

They are *not* listed among the platform specific builtins so I would assume
they are available on all platforms from those versions onward.

+Notes

-Issue History
Date Modified Username Field Change
2018-01-24 16:57 wangp New Issue
2018-01-24 17:54 juliensf Note Added: 0000962
2018-01-24 17:56 juliensf Note Edited: 0000962 View Revisions
2018-02-13 12:55 juliensf Assigned To => juliensf
2018-02-13 12:55 juliensf Status new => assigned
2018-03-19 15:19 wangp Assigned To juliensf => wangp
2018-03-19 15:19 wangp Status assigned => resolved
2018-03-19 15:19 wangp Resolution open => fixed
+Issue History