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
/
types.c
diff --git
a/ir/be/test/types.c
b/ir/be/test/types.c
index
08d55ce
..
d7c665a
100644
(file)
--- a/
ir/be/test/types.c
+++ b/
ir/be/test/types.c
@@
-7,9
+7,9
@@
struct opcode {
int main(void) {
int i;
- struct opcode oc;
+ struct opcode oc
= { { 42 } }
;
- i = oc.foo.imm16 & 0x80
00
;
- printf("
i: %d
\n", i);
+ i = oc.foo.imm16 & 0x80
f4
;
+ printf("
Result: %d (should be 32)
\n", i);
return 0;
}