Open ch3root opened 8 years ago
It's not that long double
is not fully implemented, it's that it is not supported, period. tis-interpreter does not require as pre-requisite a platform where 80-bit long doubles are available, and these would be a pain to emulate in software, so long double
can not be used at all in interpreted programs. The examples showing how it is interesting because it's a scalar type with padding on x86-64 are not making a case for adding support for it.
It seems a full implementation of long double is not really required to illustrated the issue with padding in it.
Source code:
tis-interpreter (72384b0a1f37636c879e6f499785fb4e1292ee91) output:
gcc (GCC) 7.0.0 20160608 (experimental):
clang version 3.9.0 (trunk 271312):