Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Wim Lewis
nettle
Commits
7ba1434c
Commit
7ba1434c
authored
Apr 23, 2013
by
Martin Storsjö
Committed by
Niels Möller
Apr 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win64: Correctly read the fifth parameter from the stack if we've pushed xmm registers
This fixes the umac test on win64.
parent
2c508beb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
ChangeLog
ChangeLog
+3
-1
x86_64/machine.m4
x86_64/machine.m4
+6
-2
No files found.
ChangeLog
View file @
7ba1434c
...
...
@@ -7,7 +7,9 @@
within this subfunction.
* x86_64/machine.m4 (W64_ENTRY): Use movdqu instead of movdqa for
saving xmm registers, since the stack is not guaranteed to be
16-byte aligned on win64.
16-byte aligned on win64. Take pushed xmm registers into account
when reading the fifth parameter from the stack.
* Makefile.in: Consistently use EXEEXT_FOR_BUILD.
2013-04-21 Niels Möller <nisse@lysator.liu.se>
...
...
x86_64/machine.m4
View file @
7ba1434c
...
...
@@ -67,7 +67,7 @@ define(<XREG>,<ifelse(
dnl W64_ENTRY(nargs, xmm_used)
define(<W64_ENTRY>, <
changequote([,])dnl
ifelse(<<<<<<<<<<<<<<< ignored; only for balancing)
ifelse(<<<<<<<<<<<<<<<
<
ignored; only for balancing)
ifelse(W64_ABI,yes,[
ifelse(eval($2 > 6), 1, [
sub [$]eval(8 + 16*($2 - 6)), %rsp
...
...
@@ -115,7 +115,11 @@ define(<W64_ENTRY>, <
mov %r9, %rcx
])
ifelse(eval($1 >= 5), 1, [
mov 56(%rsp), %r8
ifelse(eval($2 > 6), 1, [
mov eval(8 + 16*($2 - 6) + 56)(%rsp), %r8
], [
mov 56(%rsp), %r8
])
])
])
changequote(<,>)dnl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment