re PR target/77308 (surprisingly large stack usage for sha512 on arm)
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 17 Oct 2016 17:46:59 +0000 (17:46 +0000)
committerBernd Edlinger <edlinger@gcc.gnu.org>
Mon, 17 Oct 2016 17:46:59 +0000 (17:46 +0000)
commitfd9593e9d2addd7b96ab4da00c4a240edc111fc7
tree0db6d5545cefe7f382e2a1309d9240101c8af3e8
parent558c7db0615b6127566a7b0c3b4c75e97249892d
re PR target/77308 (surprisingly large stack usage for sha512 on arm)

2016-10-17  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR target/77308
        * config/arm/arm.c (arm_emit_coreregs_64bit_shift): Clear the result
        register explicitly.
        * config/arm/arm.md (ashldi3, ashrdi3, lshrdi3): Don't FAIL if
        optimizing for size.

testsuite:
2016-10-17  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR target/77308
        * gcc.target/arm/pr77308.c: New test.

From-SVN: r241273
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr77308.c [new file with mode: 0644]