projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
call optimize_cf() to delete dead-code that might arise after cond_eval
[libfirm]
/
ir
/
be
/
test
/
optest_float.c
1
#include <stdio.h>
2
3
#define TEST_FLOAT
4
5
#define tname(x) x##float
6
#define T float
7
#include "optest.h"
8
9
#undef tname
10
#undef T
11
#define tname(x) x##double
12
#define T double
13
#include "optest.h"
14
15
#if 0
16
#undef tname
17
#undef T
18
#define tname(x) x##long_double
19
#define T long_double
20
#include "optest.h"
21
#endif
22
23
int main(int argc, char *argv[]) {
24
test_float();
25
test_double();
26
#if 0
27
test_long_double();
28
#endif
29
return 0;
30
}