repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
powerpc: Optimize memchr for power8
[glibc.git]
/
sysdeps
/
ia64
/
stackguard-macros.h
blob
390729327a2950c20df59dddde0828840cd2df95
1
#include <stdint.h>
2
3
#define STACK_CHK_GUARD \
4
({ uintptr_t x; asm (
"adds %0 = -8, r13;; ld8 %0 = [%0]"
:
"=r"
(x)); x; })
5
6
#define POINTER_CHK_GUARD \
7
({ uintptr_t x; asm (
"adds %0 = -16, r13;; ld8 %0 = [%0]"
:
"=r"
(x)); x; })