View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000445 | mercury | Bug | public | 2018-01-24 16:57 | 2018-03-19 15:19 | ||||
Reporter | wangp | ||||||||
Assigned To | wangp | ||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000445: __builtin_bswap16/32 support | ||||||||
Description | Detect 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
Notes | |
juliensf (administrator) 2018-01-24 17:54 Last edited: 2018-01-24 17:56 |
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. |
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 |