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
/
asm_test2.c
diff --git
a/ir/be/test/asm_test2.c
b/ir/be/test/asm_test2.c
index
bd9390d
..
65b960b
100644
(file)
--- a/
ir/be/test/asm_test2.c
+++ b/
ir/be/test/asm_test2.c
@@
-3,7
+3,8
@@
int main(int argc, char **argv) {
int i;
for(i = 0; i < 10; ++i) {
- __asm__ __volatile__("/* dummy3 */");
+ __asm__ __volatile__("/* dummy3 */"
+ : : : "eax", "ebx", "ecx", "edx", "esi", "edi" );
}
if(argc) {