projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Do not overestimate code size reduction in presense of debug info.
[oota-llvm.git]
/
test
/
FrontendC
/
inline-asm-mrv.c
1
// RUN: %llvmgcc -S %s -o - -O | not grep alloca
2
// PR2094
3
4
int sad16_sse2(void *v, unsigned char *blk2, unsigned char *blk1,
5
int stride, int h) {
6
int ret;
7
asm volatile( "%0 %1 %2 %3"
8
: "+r" (h), "+r" (blk1), "+r" (blk2)
9
: "r" ((long)stride));
10
asm volatile("set %0 %1" : "=r"(ret) : "r"(blk1));
11
return ret;
12
}