projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Example for optimizing non-strict programs using combo.
[libfirm]
/
ir
/
be
/
test
/
am_test4.c
diff --git
a/ir/be/test/am_test4.c
b/ir/be/test/am_test4.c
index
03eb9cd
..
e5722de
100644
(file)
--- a/
ir/be/test/am_test4.c
+++ b/
ir/be/test/am_test4.c
@@
-18,6
+18,10
@@
char f4(char *p, int k) {
return p[k];
}
+short f5(short *p, int k) {
+ return p[k];
+}
+
#define TTYPE(name, type, OP, OP2) \
void dest_am_##name##type(type *arr, int from, int to) { \
int i; \