June 04, 2020 General » Re: Counting bits in a ulong | |||
|---|---|---|---|
| |||
...ifdef __POPCNT__ return __builtin_popcountll(w); #else return CHAR_BIT*sizeof w - PopCountFewSet(~w); #endif } | |||
April 29, 2020 Learn » Re: Compililng C++ and D together without going mad | |||
|---|---|---|---|
| |||
...CMAKE_D_FLAGS} -c --of=<OBJECT> <SOURCE>") endif() set(CMAKE_D_INFORMATION_LOADED 1) CMakeTestDCompiler... | |||
December 10, 2019 Learn » Re: How add "version.txt" Version File by Command Line or by resources.res using dmd.exe | |||
|---|---|---|---|
| |||
...ifdef _DEBUG FILEFLAGS 0x1L #else FILEFLAGS 0x0L #endif FILEOS 0x4L FILETYPE 0x1L FILESUBTYPE 0x0L BEGIN... | |||
November 05, 2019 LDC » Can't add the allocated section to elf file using inline assembly | |||
|---|---|---|---|
| |||
...size _.stapsdt.base,1\n" \ ".popsection\n" \ ".endif" ); ``` adds the allocated section to elf file... | |||
October 30, 2019 LDC » FYI: build broken with LLVM 10 since 25 oct 2019 | |||
|---|---|---|---|
| |||
...to conform to")
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_CXX_EXTENSIONS NO)
endif()
| |||
October 23, 2019 General » Re: DMD release compiler flags when building with LDC | |||
|---|---|---|---|
| |||
...VERSION))$(findstring LDC,$(HOST_DMD_VERSION))) HOST_DMD_KIND=ldc HOST_DMD_VERNUM=2 endif | |||
October 23, 2019 General » Re: DMD release compiler flags when building with LDC | |||
|---|---|---|---|
| |||
...set ifdef ENABLE_LTO DFLAGS += -flto=full endif in the case when `HOST_DC` is... | |||
October 22, 2019 General » Re: DMD release compiler flags when building with LDC | |||
|---|---|---|---|
| |||
...on DMD itself, from DMD's src/posix.mak: ifdef ENABLE_LTO CXXFLAGS += -flto endif | |||
October 03, 2019 General » Re: [SAoC] MLIR Support for LDC | |||
|---|---|---|---|
| |||
...support")
add_definitions("-DLDC_LLVM_MLIR_ENABLED")
endif()
(that's exactly how SPIR-V support... | |||
July 30, 2019 General » Re: [GSoC] Header Generation for C/C++ | |||
|---|---|---|---|
| |||
...endif
#if defined(__DMC__)
#define END_PACK() #pragma pack(pop)
#else
#define END_PACK()
#endif
| |||
Copyright © 1999-2021 by the D Language Foundation