[Issue 18089] New: AArch64: Need Quadruple float support in CTFE hashOf / core.internal.convert.parse

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 16 19:19:42 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=18089

          Issue ID: 18089
           Summary: AArch64: Need Quadruple float support in CTFE hashOf /
                    core.internal.convert.parse
           Product: D
           Version: D2
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: johannespfau at gmail.com

The core.internal.convert.parse function does currently not support the
'Quadruple' float format, which is used for the real type on AArch64.

Non-CTFE code seems to be suppoerted, but for CTFE this means that hashOf won't
work for reals on AArch64 targets. AFAICS this does not cause a problem when
compiling druntime / phobos, but when compiling the unittests, one test in
core.internal.hash causes a compile time failure:

enum raexpr = [8.99L+86i, 3.12L+99i, 5.66L+12i];
enum h29 = raexpr.hashOf();

So this blocks proper CI testing on AArch64 (as a compile failure when
compiling the tests obviously prevent us from doing any kind of regression
testing)

--


More information about the Digitalmars-d-bugs mailing list