1 //===--- TargetInfo.cpp - Information about Target machine ----------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements the TargetInfo and TargetInfoImpl interfaces.
12 //===----------------------------------------------------------------------===//
14 #include "clang/Basic/TargetInfo.h"
15 #include "clang/Basic/AddressSpaces.h"
16 #include "clang/Basic/CharInfo.h"
17 #include "clang/Basic/Diagnostic.h"
18 #include "clang/Basic/LangOptions.h"
19 #include "llvm/ADT/APFloat.h"
20 #include "llvm/ADT/STLExtras.h"
21 #include "llvm/Support/ErrorHandling.h"
22 #include "llvm/Support/TargetParser.h"
24 using namespace clang;
26 static const LangASMap DefaultAddrSpaceMap = {0};
28 // TargetInfo Constructor.
29 TargetInfo::TargetInfo(const llvm::Triple &T) : TargetOpts(), Triple(T) {
30 // Set defaults. Defaults are set for a 32-bit RISC platform, like PPC or
31 // SPARC. These should be overridden by concrete targets as needed.
32 BigEndian = !T.isLittleEndian();
35 NoAsmVariants = false;
36 HasLegalHalfType = false;
38 PointerWidth = PointerAlign = 32;
39 BoolWidth = BoolAlign = 8;
40 IntWidth = IntAlign = 32;
41 LongWidth = LongAlign = 32;
42 LongLongWidth = LongLongAlign = 64;
44 // Fixed point default bit widths
45 ShortAccumWidth = ShortAccumAlign = 16;
46 AccumWidth = AccumAlign = 32;
47 LongAccumWidth = LongAccumAlign = 64;
48 ShortFractWidth = ShortFractAlign = 8;
49 FractWidth = FractAlign = 16;
50 LongFractWidth = LongFractAlign = 32;
52 // Fixed point default integral and fractional bit sizes
53 // We give the _Accum 1 fewer fractional bits than their corresponding _Fract
54 // types by default to have the same number of fractional bits between _Accum
56 PaddingOnUnsignedFixedPoint = false;
62 DefaultAlignForAttributeAligned = 128;
64 // From the glibc documentation, on GNU systems, malloc guarantees 16-byte
65 // alignment on 64-bit systems and 8-byte alignment on 32-bit systems. See
66 // https://www.gnu.org/software/libc/manual/html_node/Malloc-Examples.html
67 if (T.isGNUEnvironment() || T.isWindowsMSVCEnvironment())
68 NewAlign = Triple.isArch64Bit() ? 128 : Triple.isArch32Bit() ? 64 : 0;
70 NewAlign = 0; // Infer from basic type alignment.
80 LargeArrayMinWidth = 0;
82 MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 0;
86 SizeType = UnsignedLong;
87 PtrDiffType = SignedLong;
88 IntMaxType = SignedLongLong;
89 IntPtrType = SignedLong;
90 WCharType = SignedInt;
92 Char16Type = UnsignedShort;
93 Char32Type = UnsignedInt;
94 Int64Type = SignedLongLong;
95 SigAtomicType = SignedInt;
96 ProcessIDType = SignedInt;
97 UseSignedCharForObjCBool = true;
98 UseBitFieldTypeAlignment = true;
99 UseZeroLengthBitfieldAlignment = false;
100 UseExplicitBitFieldAlignment = true;
101 ZeroLengthBitfieldBoundary = 0;
102 HalfFormat = &llvm::APFloat::IEEEhalf();
103 FloatFormat = &llvm::APFloat::IEEEsingle();
104 DoubleFormat = &llvm::APFloat::IEEEdouble();
105 LongDoubleFormat = &llvm::APFloat::IEEEdouble();
106 Float128Format = &llvm::APFloat::IEEEquad();
107 MCountName = "mcount";
110 HasAlignMac68kSupport = false;
111 HasBuiltinMSVaList = false;
112 IsRenderScriptTarget = false;
114 // Default to no types using fpret.
115 RealTypeUsesObjCFPRet = 0;
117 // Default to not using fp2ret for __Complex long double
118 ComplexLongDoubleUsesFP2Ret = false;
120 // Set the C++ ABI based on the triple.
121 TheCXXABI.set(Triple.isKnownWindowsMSVCEnvironment()
122 ? TargetCXXABI::Microsoft
123 : TargetCXXABI::GenericItanium);
125 // Default to an empty address space map.
126 AddrSpaceMap = &DefaultAddrSpaceMap;
127 UseAddrSpaceMapMangling = false;
129 // Default to an unknown platform name.
130 PlatformName = "unknown";
131 PlatformMinVersion = VersionTuple();
134 // Out of line virtual dtor for TargetInfo.
135 TargetInfo::~TargetInfo() {}
138 TargetInfo::checkCFProtectionBranchSupported(DiagnosticsEngine &Diags) const {
139 Diags.Report(diag::err_opt_not_valid_on_target) << "cf-protection=branch";
144 TargetInfo::checkCFProtectionReturnSupported(DiagnosticsEngine &Diags) const {
145 Diags.Report(diag::err_opt_not_valid_on_target) << "cf-protection=return";
149 /// getTypeName - Return the user string for the specified integer type enum.
150 /// For example, SignedShort -> "short".
151 const char *TargetInfo::getTypeName(IntType T) {
153 default: llvm_unreachable("not an integer!");
154 case SignedChar: return "signed char";
155 case UnsignedChar: return "unsigned char";
156 case SignedShort: return "short";
157 case UnsignedShort: return "unsigned short";
158 case SignedInt: return "int";
159 case UnsignedInt: return "unsigned int";
160 case SignedLong: return "long int";
161 case UnsignedLong: return "long unsigned int";
162 case SignedLongLong: return "long long int";
163 case UnsignedLongLong: return "long long unsigned int";
167 /// getTypeConstantSuffix - Return the constant suffix for the specified
168 /// integer type enum. For example, SignedLong -> "L".
169 const char *TargetInfo::getTypeConstantSuffix(IntType T) const {
171 default: llvm_unreachable("not an integer!");
174 case SignedInt: return "";
175 case SignedLong: return "L";
176 case SignedLongLong: return "LL";
178 if (getCharWidth() < getIntWidth())
182 if (getShortWidth() < getIntWidth())
185 case UnsignedInt: return "U";
186 case UnsignedLong: return "UL";
187 case UnsignedLongLong: return "ULL";
191 /// getTypeFormatModifier - Return the printf format modifier for the
192 /// specified integer type enum. For example, SignedLong -> "l".
194 const char *TargetInfo::getTypeFormatModifier(IntType T) {
196 default: llvm_unreachable("not an integer!");
198 case UnsignedChar: return "hh";
200 case UnsignedShort: return "h";
202 case UnsignedInt: return "";
204 case UnsignedLong: return "l";
206 case UnsignedLongLong: return "ll";
210 /// getTypeWidth - Return the width (in bits) of the specified integer type
211 /// enum. For example, SignedInt -> getIntWidth().
212 unsigned TargetInfo::getTypeWidth(IntType T) const {
214 default: llvm_unreachable("not an integer!");
216 case UnsignedChar: return getCharWidth();
218 case UnsignedShort: return getShortWidth();
220 case UnsignedInt: return getIntWidth();
222 case UnsignedLong: return getLongWidth();
224 case UnsignedLongLong: return getLongLongWidth();
228 TargetInfo::IntType TargetInfo::getIntTypeByWidth(
229 unsigned BitWidth, bool IsSigned) const {
230 if (getCharWidth() == BitWidth)
231 return IsSigned ? SignedChar : UnsignedChar;
232 if (getShortWidth() == BitWidth)
233 return IsSigned ? SignedShort : UnsignedShort;
234 if (getIntWidth() == BitWidth)
235 return IsSigned ? SignedInt : UnsignedInt;
236 if (getLongWidth() == BitWidth)
237 return IsSigned ? SignedLong : UnsignedLong;
238 if (getLongLongWidth() == BitWidth)
239 return IsSigned ? SignedLongLong : UnsignedLongLong;
243 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth,
244 bool IsSigned) const {
245 if (getCharWidth() >= BitWidth)
246 return IsSigned ? SignedChar : UnsignedChar;
247 if (getShortWidth() >= BitWidth)
248 return IsSigned ? SignedShort : UnsignedShort;
249 if (getIntWidth() >= BitWidth)
250 return IsSigned ? SignedInt : UnsignedInt;
251 if (getLongWidth() >= BitWidth)
252 return IsSigned ? SignedLong : UnsignedLong;
253 if (getLongLongWidth() >= BitWidth)
254 return IsSigned ? SignedLongLong : UnsignedLongLong;
258 TargetInfo::RealType TargetInfo::getRealTypeByWidth(unsigned BitWidth) const {
259 if (getFloatWidth() == BitWidth)
261 if (getDoubleWidth() == BitWidth)
266 if (&getLongDoubleFormat() == &llvm::APFloat::x87DoubleExtended())
270 if (&getLongDoubleFormat() == &llvm::APFloat::PPCDoubleDouble() ||
271 &getLongDoubleFormat() == &llvm::APFloat::IEEEquad())
273 if (hasFloat128Type())
281 /// getTypeAlign - Return the alignment (in bits) of the specified integer type
282 /// enum. For example, SignedInt -> getIntAlign().
283 unsigned TargetInfo::getTypeAlign(IntType T) const {
285 default: llvm_unreachable("not an integer!");
287 case UnsignedChar: return getCharAlign();
289 case UnsignedShort: return getShortAlign();
291 case UnsignedInt: return getIntAlign();
293 case UnsignedLong: return getLongAlign();
295 case UnsignedLongLong: return getLongLongAlign();
299 /// isTypeSigned - Return whether an integer types is signed. Returns true if
300 /// the type is signed; false otherwise.
301 bool TargetInfo::isTypeSigned(IntType T) {
303 default: llvm_unreachable("not an integer!");
314 case UnsignedLongLong:
319 /// adjust - Set forced language options.
320 /// Apply changes to the target information with respect to certain
321 /// language options which change the target configuration and adjust
322 /// the language based on the target options where applicable.
323 void TargetInfo::adjust(LangOptions &Opts) {
324 if (Opts.NoBitFieldTypeAlign)
325 UseBitFieldTypeAlignment = false;
327 switch (Opts.WCharSize) {
328 default: llvm_unreachable("invalid wchar_t width");
330 case 1: WCharType = Opts.WCharIsSigned ? SignedChar : UnsignedChar; break;
331 case 2: WCharType = Opts.WCharIsSigned ? SignedShort : UnsignedShort; break;
332 case 4: WCharType = Opts.WCharIsSigned ? SignedInt : UnsignedInt; break;
335 if (Opts.AlignDouble) {
336 DoubleAlign = LongLongAlign = 64;
337 LongDoubleAlign = 64;
341 // OpenCL C requires specific widths for types, irrespective of
342 // what these normally are for the target.
343 // We also define long long and long double here, although the
344 // OpenCL standard only mentions these as "reserved".
345 IntWidth = IntAlign = 32;
346 LongWidth = LongAlign = 64;
347 LongLongWidth = LongLongAlign = 128;
348 HalfWidth = HalfAlign = 16;
349 FloatWidth = FloatAlign = 32;
351 // Embedded 32-bit targets (OpenCL EP) might have double C type
352 // defined as float. Let's not override this as it might lead
353 // to generating illegal code that uses 64bit doubles.
354 if (DoubleWidth != FloatWidth) {
355 DoubleWidth = DoubleAlign = 64;
356 DoubleFormat = &llvm::APFloat::IEEEdouble();
358 LongDoubleWidth = LongDoubleAlign = 128;
360 unsigned MaxPointerWidth = getMaxPointerWidth();
361 assert(MaxPointerWidth == 32 || MaxPointerWidth == 64);
362 bool Is32BitArch = MaxPointerWidth == 32;
363 SizeType = Is32BitArch ? UnsignedInt : UnsignedLong;
364 PtrDiffType = Is32BitArch ? SignedInt : SignedLong;
365 IntPtrType = Is32BitArch ? SignedInt : SignedLong;
367 IntMaxType = SignedLongLong;
368 Int64Type = SignedLong;
370 HalfFormat = &llvm::APFloat::IEEEhalf();
371 FloatFormat = &llvm::APFloat::IEEEsingle();
372 LongDoubleFormat = &llvm::APFloat::IEEEquad();
375 if (Opts.NewAlignOverride)
376 NewAlign = Opts.NewAlignOverride * getCharWidth();
378 // Each unsigned fixed point type has the same number of fractional bits as
379 // its corresponding signed type.
380 PaddingOnUnsignedFixedPoint |= Opts.PaddingOnUnsignedFixedPoint;
381 CheckFixedPointBits();
384 bool TargetInfo::initFeatureMap(
385 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU,
386 const std::vector<std::string> &FeatureVec) const {
387 for (const auto &F : FeatureVec) {
389 // Apply the feature via the target.
390 bool Enabled = Name[0] == '+';
391 setFeatureEnabled(Features, Name.substr(1), Enabled);
396 TargetInfo::CallingConvKind
397 TargetInfo::getCallingConvKind(bool ClangABICompat4) const {
398 if (getCXXABI() != TargetCXXABI::Microsoft &&
399 (ClangABICompat4 || getTriple().getOS() == llvm::Triple::PS4))
400 return CCK_ClangABI4OrPS4;
404 LangAS TargetInfo::getOpenCLTypeAddrSpace(OpenCLTypeKind TK) const {
408 return LangAS::opencl_global;
411 return LangAS::opencl_constant;
414 return LangAS::Default;
418 //===----------------------------------------------------------------------===//
421 static StringRef removeGCCRegisterPrefix(StringRef Name) {
422 if (Name[0] == '%' || Name[0] == '#')
423 Name = Name.substr(1);
428 /// isValidClobber - Returns whether the passed in string is
429 /// a valid clobber in an inline asm statement. This is used by
431 bool TargetInfo::isValidClobber(StringRef Name) const {
432 return (isValidGCCRegisterName(Name) ||
433 Name == "memory" || Name == "cc");
436 /// isValidGCCRegisterName - Returns whether the passed in string
437 /// is a valid register name according to GCC. This is used by Sema for
438 /// inline asm statements.
439 bool TargetInfo::isValidGCCRegisterName(StringRef Name) const {
443 // Get rid of any register prefix.
444 Name = removeGCCRegisterPrefix(Name);
448 ArrayRef<const char *> Names = getGCCRegNames();
450 // If we have a number it maps to an entry in the register name array.
451 if (isDigit(Name[0])) {
453 if (!Name.getAsInteger(0, n))
454 return n < Names.size();
457 // Check register names.
458 if (std::find(Names.begin(), Names.end(), Name) != Names.end())
461 // Check any additional names that we have.
462 for (const AddlRegName &ARN : getGCCAddlRegNames())
463 for (const char *AN : ARN.Names) {
466 // Make sure the register that the additional name is for is within
467 // the bounds of the register names from above.
468 if (AN == Name && ARN.RegNum < Names.size())
472 // Now check aliases.
473 for (const GCCRegAlias &GRA : getGCCRegAliases())
474 for (const char *A : GRA.Aliases) {
484 StringRef TargetInfo::getNormalizedGCCRegisterName(StringRef Name,
485 bool ReturnCanonical) const {
486 assert(isValidGCCRegisterName(Name) && "Invalid register passed in");
488 // Get rid of any register prefix.
489 Name = removeGCCRegisterPrefix(Name);
491 ArrayRef<const char *> Names = getGCCRegNames();
493 // First, check if we have a number.
494 if (isDigit(Name[0])) {
496 if (!Name.getAsInteger(0, n)) {
497 assert(n < Names.size() && "Out of bounds register number!");
502 // Check any additional names that we have.
503 for (const AddlRegName &ARN : getGCCAddlRegNames())
504 for (const char *AN : ARN.Names) {
507 // Make sure the register that the additional name is for is within
508 // the bounds of the register names from above.
509 if (AN == Name && ARN.RegNum < Names.size())
510 return ReturnCanonical ? Names[ARN.RegNum] : Name;
513 // Now check aliases.
514 for (const GCCRegAlias &RA : getGCCRegAliases())
515 for (const char *A : RA.Aliases) {
525 bool TargetInfo::validateOutputConstraint(ConstraintInfo &Info) const {
526 const char *Name = Info.getConstraintStr().c_str();
527 // An output constraint must start with '=' or '+'
528 if (*Name != '=' && *Name != '+')
532 Info.setIsReadWrite();
538 if (!validateAsmConstraint(Name, Info)) {
539 // FIXME: We temporarily return false
540 // so we can add more constraints as we hit it.
541 // Eventually, an unknown constraint should just be treated as 'g'.
545 case '&': // early clobber.
546 Info.setEarlyClobber();
548 case '%': // commutative.
549 // FIXME: Check that there is a another register after this one.
551 case 'r': // general register.
552 Info.setAllowsRegister();
554 case 'm': // memory operand.
555 case 'o': // offsetable memory operand.
556 case 'V': // non-offsetable memory operand.
557 case '<': // autodecrement memory operand.
558 case '>': // autoincrement memory operand.
559 Info.setAllowsMemory();
561 case 'g': // general register, memory operand or immediate integer.
562 case 'X': // any operand.
563 Info.setAllowsRegister();
564 Info.setAllowsMemory();
566 case ',': // multiple alternative constraint. Pass it.
567 // Handle additional optional '=' or '+' modifiers.
568 if (Name[1] == '=' || Name[1] == '+')
571 case '#': // Ignore as constraint.
572 while (Name[1] && Name[1] != ',')
575 case '?': // Disparage slightly code.
576 case '!': // Disparage severely.
577 case '*': // Ignore for choosing register preferences.
578 case 'i': // Ignore i,n,E,F as output constraints (match from the other
589 // Early clobber with a read-write constraint which doesn't permit registers
591 if (Info.earlyClobber() && Info.isReadWrite() && !Info.allowsRegister())
594 // If a constraint allows neither memory nor register operands it contains
595 // only modifiers. Reject it.
596 return Info.allowsMemory() || Info.allowsRegister();
599 bool TargetInfo::resolveSymbolicName(const char *&Name,
600 ArrayRef<ConstraintInfo> OutputConstraints,
601 unsigned &Index) const {
602 assert(*Name == '[' && "Symbolic name did not start with '['");
604 const char *Start = Name;
605 while (*Name && *Name != ']')
613 std::string SymbolicName(Start, Name - Start);
615 for (Index = 0; Index != OutputConstraints.size(); ++Index)
616 if (SymbolicName == OutputConstraints[Index].getName())
622 bool TargetInfo::validateInputConstraint(
623 MutableArrayRef<ConstraintInfo> OutputConstraints,
624 ConstraintInfo &Info) const {
625 const char *Name = Info.ConstraintStr.c_str();
633 // Check if we have a matching constraint
634 if (*Name >= '0' && *Name <= '9') {
635 const char *DigitStart = Name;
636 while (Name[1] >= '0' && Name[1] <= '9')
638 const char *DigitEnd = Name;
640 if (StringRef(DigitStart, DigitEnd - DigitStart + 1)
641 .getAsInteger(10, i))
644 // Check if matching constraint is out of bounds.
645 if (i >= OutputConstraints.size()) return false;
647 // A number must refer to an output only operand.
648 if (OutputConstraints[i].isReadWrite())
651 // If the constraint is already tied, it must be tied to the
652 // same operand referenced to by the number.
653 if (Info.hasTiedOperand() && Info.getTiedOperand() != i)
656 // The constraint should have the same info as the respective
657 // output constraint.
658 Info.setTiedOperand(i, OutputConstraints[i]);
659 } else if (!validateAsmConstraint(Name, Info)) {
660 // FIXME: This error return is in place temporarily so we can
661 // add more constraints as we hit it. Eventually, an unknown
662 // constraint should just be treated as 'g'.
668 if (!resolveSymbolicName(Name, OutputConstraints, Index))
671 // If the constraint is already tied, it must be tied to the
672 // same operand referenced to by the number.
673 if (Info.hasTiedOperand() && Info.getTiedOperand() != Index)
676 // A number must refer to an output only operand.
677 if (OutputConstraints[Index].isReadWrite())
680 Info.setTiedOperand(Index, OutputConstraints[Index]);
683 case '%': // commutative
684 // FIXME: Fail if % is used with the last operand.
686 case 'i': // immediate integer.
687 case 'n': // immediate integer with a known value.
689 case 'I': // Various constant constraints with target-specific meanings.
697 if (!validateAsmConstraint(Name, Info))
700 case 'r': // general register.
701 Info.setAllowsRegister();
703 case 'm': // memory operand.
704 case 'o': // offsettable memory operand.
705 case 'V': // non-offsettable memory operand.
706 case '<': // autodecrement memory operand.
707 case '>': // autoincrement memory operand.
708 Info.setAllowsMemory();
710 case 'g': // general register, memory operand or immediate integer.
711 case 'X': // any operand.
712 Info.setAllowsRegister();
713 Info.setAllowsMemory();
715 case 'E': // immediate floating point.
716 case 'F': // immediate floating point.
717 case 'p': // address operand.
719 case ',': // multiple alternative constraint. Ignore comma.
721 case '#': // Ignore as constraint.
722 while (Name[1] && Name[1] != ',')
725 case '?': // Disparage slightly code.
726 case '!': // Disparage severely.
727 case '*': // Ignore for choosing register preferences.
737 void TargetInfo::CheckFixedPointBits() const {
738 // Check that the number of fractional and integral bits (and maybe sign) can
739 // fit into the bits given for a fixed point type.
740 assert(ShortAccumScale + getShortAccumIBits() + 1 <= ShortAccumWidth);
741 assert(AccumScale + getAccumIBits() + 1 <= AccumWidth);
742 assert(LongAccumScale + getLongAccumIBits() + 1 <= LongAccumWidth);
743 assert(getUnsignedShortAccumScale() + getUnsignedShortAccumIBits() <=
745 assert(getUnsignedAccumScale() + getUnsignedAccumIBits() <= AccumWidth);
746 assert(getUnsignedLongAccumScale() + getUnsignedLongAccumIBits() <=
749 assert(getShortFractScale() + 1 <= ShortFractWidth);
750 assert(getFractScale() + 1 <= FractWidth);
751 assert(getLongFractScale() + 1 <= LongFractWidth);
752 assert(getUnsignedShortFractScale() <= ShortFractWidth);
753 assert(getUnsignedFractScale() <= FractWidth);
754 assert(getUnsignedLongFractScale() <= LongFractWidth);
756 // Each unsigned fract type has either the same number of fractional bits
757 // as, or one more fractional bit than, its corresponding signed fract type.
758 assert(getShortFractScale() == getUnsignedShortFractScale() ||
759 getShortFractScale() == getUnsignedShortFractScale() - 1);
760 assert(getFractScale() == getUnsignedFractScale() ||
761 getFractScale() == getUnsignedFractScale() - 1);
762 assert(getLongFractScale() == getUnsignedLongFractScale() ||
763 getLongFractScale() == getUnsignedLongFractScale() - 1);
765 // When arranged in order of increasing rank (see 6.3.1.3a), the number of
766 // fractional bits is nondecreasing for each of the following sets of
767 // fixed-point types:
768 // - signed fract types
769 // - unsigned fract types
770 // - signed accum types
771 // - unsigned accum types.
772 assert(getLongFractScale() >= getFractScale() &&
773 getFractScale() >= getShortFractScale());
774 assert(getUnsignedLongFractScale() >= getUnsignedFractScale() &&
775 getUnsignedFractScale() >= getUnsignedShortFractScale());
776 assert(LongAccumScale >= AccumScale && AccumScale >= ShortAccumScale);
777 assert(getUnsignedLongAccumScale() >= getUnsignedAccumScale() &&
778 getUnsignedAccumScale() >= getUnsignedShortAccumScale());
780 // When arranged in order of increasing rank (see 6.3.1.3a), the number of
781 // integral bits is nondecreasing for each of the following sets of
782 // fixed-point types:
783 // - signed accum types
784 // - unsigned accum types
785 assert(getLongAccumIBits() >= getAccumIBits() &&
786 getAccumIBits() >= getShortAccumIBits());
787 assert(getUnsignedLongAccumIBits() >= getUnsignedAccumIBits() &&
788 getUnsignedAccumIBits() >= getUnsignedShortAccumIBits());
790 // Each signed accum type has at least as many integral bits as its
791 // corresponding unsigned accum type.
792 assert(getShortAccumIBits() >= getUnsignedShortAccumIBits());
793 assert(getAccumIBits() >= getUnsignedAccumIBits());
794 assert(getLongAccumIBits() >= getUnsignedLongAccumIBits());