Fix FP unknownEvaluationOrder on __builtin_bswap*. (#3240)
This commit is contained in:
parent
6f60c6d965
commit
d553df75c6
36
cfg/gnu.cfg
36
cfg/gnu.cfg
|
@ -25,15 +25,45 @@
|
|||
<alloc init="false" buffer-size="malloc">pvalloc</alloc>
|
||||
<dealloc>free</dealloc>
|
||||
</memory>
|
||||
<define name="bswap_16(x)" value="((unsigned short int) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)))"/>
|
||||
<function name="bswap_16">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<returnValue type="uint16_t"/>
|
||||
<leak-ignore/>
|
||||
<const/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<define name="__bswap_constant_16(x)" value="bswap_16(x)"/>
|
||||
<define name="__builtin_bswap16(x)" value="bswap_16(x)"/>
|
||||
<define name="__bswap_16(x)" value="bswap_16(x)"/>
|
||||
<define name="bswap_32(x)" value="((((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >> 8) | (((x) & 0x0000ff00) << 8) | (((x) & 0x000000ff) << 24))"/>
|
||||
<function name="bswap_32">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<returnValue type="uint32_t"/>
|
||||
<leak-ignore/>
|
||||
<const/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<define name="__bswap_constant_32(x)" value="bswap_32(x)"/>
|
||||
<define name="__builtin_bswap32(x)" value="bswap_32(x)"/>
|
||||
<define name="__bswap_32(x)" value="bswap_32(x)"/>
|
||||
<define name="bswap_64(x)" value="((((x) & 0xff00000000000000ull) >> 56) | (((x) & 0x00ff000000000000ull) >> 40) | (((x) & 0x0000ff0000000000ull) >> 24) | (((x) & 0x000000ff00000000ull) >> 8) | (((x) & 0x00000000ff000000ull) << 8) | (((x) & 0x0000000000ff0000ull) << 24) | (((x) & 0x000000000000ff00ull) << 40) | (((x) & 0x00000000000000ffull) << 56))"/>
|
||||
<function name="bswap_64">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<returnValue type="uint64_t"/>
|
||||
<leak-ignore/>
|
||||
<const/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<define name="__bswap_constant_64(x)" value="bswap_64(x)"/>
|
||||
<define name="__builtin_bswap64(x)" value="bswap_64(x)"/>
|
||||
<define name="__bswap_64(x)" value="bswap_64(x)"/>
|
||||
|
|
Loading…
Reference in New Issue