summaryrefslogtreecommitdiffstats
path: root/lib/libcrypt/crypt-nthash.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-01-17 07:30:36 +0000
committerkib <kib@FreeBSD.org>2012-01-17 07:30:36 +0000
commit6a34de7c5a0e59d6349ce628792e19d793eeb2b4 (patch)
treee5c90bbb0de4037c03826cbe27748513837da981 /lib/libcrypt/crypt-nthash.c
parente94bd75cc576b894958cd5eedcf1d25919af0fd4 (diff)
downloadFreeBSD-src-6a34de7c5a0e59d6349ce628792e19d793eeb2b4.zip
FreeBSD-src-6a34de7c5a0e59d6349ce628792e19d793eeb2b4.tar.gz
Implement xsetbv(), xsave() and xrstor() providing C access to the
similarly named CPU instructions. Since our in-tree binutils gas is not aware of the instructions, and I have to use the byte-sequence to encode them, hardcode the r/m operand as (%rdi). This way, first argument of the pseudo-function is already placed into proper register. MFC after: 1 week
Diffstat (limited to 'lib/libcrypt/crypt-nthash.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud