I wonder how fast we'd do
KnightMare
black80 at bk.ru
Tue May 28 13:47:28 UTC 2019
> https://pastebin.com/j0T0MRmA
> Windows Server 2019, i7-3615QM, DMD 2.086.0, LDC 1.16.0-b1
> 2) t3=0 for d_with_sum. lets see assembler for LDC (-output-s):
people explained why code is being thrown away
https://forum.dlang.org/thread/wxesgcjznvwpdwpnxnej@forum.dlang.org
I have next results now:
C:\content\downloadz\dlang>ldc2 -release -O3 -mattr=avx times2.d
C:\content\downloadz\dlang>times2.exe
t1=42 ms, 929 ╬╝s, and 1 hnsec r=109226661546_74544967680
t2=42 ms and 578 ╬╝s r=109226661546_74544967680
t3=333 ms, 539 ╬╝s, and 3 hnsecs r=109226661546_66672259072
t4=42 ms, 631 ╬╝s, and 9 hnsecs r=109226661546_74544967680
C:\content\downloadz\dlang>dmd -release -O -mcpu=avx times2.d
C:\content\downloadz\dlang>times2.exe
core.exception.OutOfMemoryError at src\core\exception.d(702): Memory
allocation failed
----------------
I have 16GB RAM, 8GB free (by Task Manager)
double[32M].sizeof=256MB
remove attrs from d_with_sum & main - nothing changed
strange a little bit.
More information about the Digitalmars-d
mailing list