projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
we can parse lots of assembler constraints now (but not all yet), and emit immediates...
[libfirm]
/
ir
/
be
/
test
/
cmp.c
diff --git
a/ir/be/test/cmp.c
b/ir/be/test/cmp.c
index
bb06499
..
9097582
100644
(file)
--- a/
ir/be/test/cmp.c
+++ b/
ir/be/test/cmp.c
@@
-1,3
+1,5
@@
+#include <stdio.h>
+
int cmp1(int a, int b)
{
return a < b;
@@
-142,4
+144,6
@@
int main()
printf("dcmp2(%f, %f) = %f\n", -fa, -fb, dcmp2(-fa, -fb));
printf("dcmp1(%f, %f) = %f\n", fa, fb, dcmp1(fa, fb));
printf("dcmp2(%f, %f) = %f\n", fa, fb, dcmp2(fa, fb));
+
+ return 0;
}