projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added test for inline assembler
[libfirm]
/
ir
/
be
/
test
/
asm_test.c
1
double test(double angle) {
2
double result;
3
asm ("fsinx %1,%0" : "=f" (result) : "f" (angle));
4
return result;
5
}
6
7
int main(int argc, char *argv[]) {
8
printf("%f\n", test(0.5));
9
}