Displaying 1 result from an estimated 1 matches for "_tofloat".
2009 Mar 11
4
[LLVMdev] a different hash for APInts
I'm working on a bug where LLVM takes over six minutes to compile a
module. After some hand-editing, the module looks like this:
class half
{
private:
union uif
{
unsigned int i;
float f;
};
static const uif _toFloat[1 << 16];
};
const half::uif half::_toFloat[1 << 16] =
{
{0x00000000}, {0x33800000}, {0x34000000}, {0x34400000},
{0x34800000}, {0x34a00000}, {0x34c00000}, {0x34e00000},
{0x35000000}, {0x35100000}, {0x35200000}, {0x35300000},
{0x35400000}, {0x35500000}, {0x35600000},...