Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
8184be0f
Commit
8184be0f
authored
Apr 17, 2012
by
Niels Möller
Browse files
x86_64: New m4 macro WREG.
parent
a6b67c34
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
8184be0f
2012-04-17 Niels Möller <nisse@lysator.liu.se>
* x86_64/machine.m4 (WREG): New macro.
* salsa20.c (salsa20_hash): Deleted function, inlined into
salsa20_crypt.
(salsa20_set_key, salsa20_set_iv): Moved, to...
...
...
x86_64/machine.m4
View file @
8184be0f
...
...
@@ -26,6 +26,23 @@ define(<HREG>,<ifelse(
$1, %rcx, %ch,
$1, %rdx, %dh)>)dnl
define(<WREG>,<ifelse(
$1, %rax, %ax,
$1, %rbx, %bx,
$1, %rcx, %cx,
$1, %rdx, %dx,
$1, %rsi, %si,
$1, %rdi, %di,
$1, %rbp, %bp,
$1, %r8, %r8w,
$1, %r9, %r9w,
$1, %r10, %r10w,
$1, %r11, %r11w,
$1, %r12, %r12w,
$1, %r13, %r13w,
$1, %r14, %r14w,
$1, %r15, %r15w)>)dnl
define(<XREG>,<ifelse(
$1, %rax, %eax,
$1, %rbx, %ebx,
...
...
Write
Preview
Supports
Markdown
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