[Issue 13474] Discard excess precision for float and double (x87)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Nov 7 03:12:27 PST 2016


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

--- Comment #27 from Walter Bright <bugzilla at digitalmars.com> ---
> stop supporting targets without xmm regs

A couple problems with this:

1. It is unknown what 32 bit x86 CPUs are used for embedded systems. I dislike
adding more codegen switches, because every switch doubles the time it takes to
run the test suite, and few developers set them correctly. (Who ever sets that
blizzard of switches gcc has correctly?)

2. It's not a simple matter of turning it on, even though dmd generates XMM
code for OSX 32 bit. The trouble is in getting the stack aligned to 16 bytes.
The Linux way of doing that is different from OSX, so there's some significant
dev work to do to match it.

I believe that making faster 64 bit code should have priority over making
faster 32 bit code, based on the idea that users who feel the need for speed
are going to be using -m64.

--


More information about the Digitalmars-d-bugs mailing list