Issue |
127903
|
Summary |
Is __attribute__ ((__mode__ (__TF__))) treated as x87 long double attribute?
|
Labels |
new issue
|
Assignees |
|
Reporter |
hjl-tools
|
Clang parseModeAttrArg has
```
case 'K': // KFmode - IEEE quad precision (__float128)
ExplicitType = FloatModeKind::Float128;
DestWidth = Str[1] == 'I' ? 0 : 128;
break;
case 'T':
ExplicitType = FloatModeKind::LongDouble;
DestWidth = 128;
break;
case 'I':
ExplicitType = FloatModeKind::Ibm128;
DestWidth = Str[1] == 'I' ? 0 : 128;
break;
}
if (Str[1] == 'F') {
IntegerMode = false;
} else if (Str[1] == 'C') {
IntegerMode = false;
ComplexMode = true;
} else if (Str[1] != 'I') {
DestWidth = 0;
}
break;
```
On x86, TFmode in GCC is IEEE _Float128, not x87 long double. Is __attribute__ ((__mode__ (__TF__))) treated
as x87 long double attribute?
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs