[D-runtime] [D-Programming-Language/druntime] b57f92: replace return with pop and unconditional jump

GitHub noreply at github.com
Mon Feb 18 13:54:10 PST 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: b57f924b5af18e87adc6e949b842b567a566b2c5
      https://github.com/D-Programming-Language/druntime/commit/b57f924b5af18e87adc6e949b842b567a566b2c5
  Author: Martin Nowak <code at dawg.eu>
  Date:   2013-02-17 (Sun, 17 Feb 2013)

  Changed paths:
    M src/core/thread.d

  Log Message:
  -----------
  replace return with pop and unconditional jump

- CPU return stack is incorrect after a stack switch
  and thus branch prediction always fails for return
  instructions


  Commit: 0ce7d48c463a401aa35be3d3ef151f4aacdf6834
      https://github.com/D-Programming-Language/druntime/commit/0ce7d48c463a401aa35be3d3ef151f4aacdf6834
  Author: Alex Rønne Petersen <alex at alexrp.com>
  Date:   2013-02-18 (Mon, 18 Feb 2013)

  Changed paths:
    M src/core/thread.d

  Log Message:
  -----------
  Merge pull request #418 from dawgfoto/stackSwitchRet

replace return with pop and unconditional jump


Compare: https://github.com/D-Programming-Language/druntime/compare/ec2d7639a88c...0ce7d48c463a


More information about the D-runtime mailing list