projects
/
external
/
nettle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initialize Tizen 2.3
[external/nettle.git]
/
x86
/
machine.m4
1
C OFFSET(i)
2
C Expands to 4*i, or to the empty string if i is zero
3
define(<OFFSET>, <ifelse($1,0,,eval(4*$1))>)
4
5
dnl LREG(reg) gives the 8-bit register corresponding to the given 32-bit register.
6
define(<LREG>,<ifelse(
7
$1, %eax, %al,
8
$1, %ebx, %bl,
9
$1, %ecx, %cl,
10
$1, %edx, %dl)>)dnl
11
12
define(<HREG>,<ifelse(
13
$1, %eax, %ah,
14
$1, %ebx, %bh,
15
$1, %ecx, %ch,
16
$1, %edx, %dh)>)dnl