Thread overview
[Issue 9378] std.internal.digest.sha_SSE3 breaks if compiled with PIC
Mar 30, 2015
zunkree@gmail.com
Feb 07, 2016
Dicebot
Dec 25, 2016
Martin Nowak
March 30, 2015
https://issues.dlang.org/show_bug.cgi?id=9378

zunkree@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zunkree@gmail.com

--
February 07, 2016
https://issues.dlang.org/show_bug.cgi?id=9378

Dicebot <public@dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public@dicebot.lv

--- Comment #2 from Dicebot <public@dicebot.lv> ---
Any idea if this applies only to DMD or LDC is likely to have problems to?

--
December 24, 2016
https://issues.dlang.org/show_bug.cgi?id=9378

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/12c56c935c6bd0130fcb545264293cc0e500799f partly fix Issue 9378 - SHA1 asm not PIC compatible

- access SHA1 constants through extra register in x64 code
- tried same for x86 but there is no register left and
  loading constants via stack was way too slow

https://github.com/dlang/phobos/commit/d85b5e0a120f35ec800566cf6c64acb5c2a4563c Merge pull request #4994 from MartinNowak/fix9378

partly fix Issue 9378 - SHA1 asm not PIC compatible

--
December 25, 2016
https://issues.dlang.org/show_bug.cgi?id=9378

--- Comment #4 from Martin Nowak <code@dawg.eu> ---
Let's keep this closed, PIC is too slow to be widely used and we have a non-SSE
fallback.
One way to make this work, would be to have the weave function keeping track of
the temporary (T1, T2) register usage, quite a lot of effort.

--
January 15, 2017
https://issues.dlang.org/show_bug.cgi?id=9378

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/12c56c935c6bd0130fcb545264293cc0e500799f partly fix Issue 9378 - SHA1 asm not PIC compatible

https://github.com/dlang/phobos/commit/d85b5e0a120f35ec800566cf6c64acb5c2a4563c Merge pull request #4994 from MartinNowak/fix9378

--
January 16, 2017
https://issues.dlang.org/show_bug.cgi?id=9378

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/12c56c935c6bd0130fcb545264293cc0e500799f partly fix Issue 9378 - SHA1 asm not PIC compatible

https://github.com/dlang/phobos/commit/d85b5e0a120f35ec800566cf6c64acb5c2a4563c Merge pull request #4994 from MartinNowak/fix9378

--