Skip to content

Commit

Permalink
revert AMD64 assembler to original behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
krauthaufen committed Aug 3, 2022
1 parent e6b7725 commit 9e10e33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 5.2.8
* revert obsolete AMD64 assembler to original behaviour

### 5.2.7
* fixed AMD64 assembler Begin/End (saving callee saved registers)

Expand Down
6 changes: 0 additions & 6 deletions src/Aardvark.Base.Runtime/Assembler/AMD64.fs
Original file line number Diff line number Diff line change
Expand Up @@ -278,14 +278,8 @@ module AMD64 =
x.Push(Register.Rbp)
x.Mov(Register.Rbp, Register.Rsp, true)
stackOffset <- stackOffset - 8

for r in localConvention.calleeSaved do
x.Push r

member x.End() =
for i in localConvention.calleeSaved.Length - 1 .. -1 .. 0 do
x.Pop localConvention.calleeSaved.[i]

x.Leave()
stackOffset <- stackOffset - 8

Expand Down

0 comments on commit 9e10e33

Please sign in to comment.