unsigned WCharWidth, WCharAlign;
unsigned IntWidth, IntAlign;
unsigned DoubleWidth, DoubleAlign;
+ unsigned LongWidth, LongAlign;
const llvm::fltSemantics *FloatFormat, *DoubleFormat, *LongDoubleFormat;
/// getLongWidth/Align - Return the size of 'signed long' and 'unsigned long'
/// for this target, in bits.
- unsigned getLongWidth() const { return 32; } // FIXME
- unsigned getLongAlign() const { return 32; } // FIXME
+ unsigned getLongWidth() const { return LongWidth; }
+ unsigned getLongAlign() const { return LongAlign; }
/// getLongLongWidth/Align - Return the size of 'signed long long' and
/// 'unsigned long long' for this target, in bits.
// Set defaults. These should be overridden by concrete targets as needed.
CharIsSigned = true;
WCharWidth = WCharAlign = 32;
+ LongWidth = LongAlign = 32;
IntWidth = IntAlign = 32;
DoubleWidth = 64;
DoubleAlign = 32;