Skip to content

Commit 21757b7

Browse files
committed
Add D_HardDoubleFloat version identifier
This is for when the target has a floating point coprocessor (D_HardFloat is true), but only supports single precision operations. So double precision is still handled using software emulation. D_HardDoubleFloat implies that D_HardFloat is also true. Conversely, D_SoftFloat implies that D_HardDoubleFloat is false. The combination of D_HardFloat=true and D_HardDoubleFloat=false can occur on MIPS and RISC-V targets.
1 parent 826ea94 commit 21757b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/version.dd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ $(H3 $(LEGACY_LNAME2 PredefinedVersions, predefined-versions, Predefined Version
322322
(command line switch $(DDSUBLINK dmd, switch-m64, $(TT -m64))). (Do not confuse this with C's LP64 model)))
323323
$(TROW $(ARGS $(D D_X32)) , $(ARGS Pointers are 32 bits, but words are still 64 bits (x32 ABI) (This can be defined in parallel to $(D X86_64))))
324324
$(TROW $(ARGS $(D D_HardFloat)) , $(ARGS The target hardware has a floating point unit))
325+
$(TROW $(ARGS $(D D_HardDoubleFloat)) , $(ARGS The target hardware has a floating point unit and supports double-precision operations))
325326
$(TROW $(ARGS $(D D_SoftFloat)) , $(ARGS The target hardware does not have a floating point unit))
326327
$(TROW $(ARGS $(D D_PIC)) , $(ARGS Position Independent Code
327328
(command line switch $(DDSUBLINK dmd-linux, switch-fPIC, $(TT -fPIC))) is being generated))

0 commit comments

Comments
 (0)