Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
e350b484
Commit
e350b484
authored
Sep 29, 2009
by
Christoph Mallon
Browse files
get_mode_size_bits() returns the size in bits, not bytes.
[r26658]
parent
37daf463
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
e350b484
...
...
@@ -2804,15 +2804,15 @@ static void bemit_##op##mem(const ir_node *node) \
if (is_ia32_Immediate(count)) { \
int offset = get_ia32_immediate_attr_const(count)->offset; \
if (offset == 1) { \
bemit8(size ==
1
? 0xD0 : 0xD1); \
bemit8(size ==
8
? 0xD0 : 0xD1); \
bemit_mod_am(ext, node); \
} else { \
bemit8(size ==
1
? 0xC0 : 0xC1); \
bemit8(size ==
8
? 0xC0 : 0xC1); \
bemit_mod_am(ext, node); \
bemit8(offset); \
} \
} else { \
bemit8(size ==
1
? 0xD2 : 0xD3); \
bemit8(size ==
8
? 0xD2 : 0xD3); \
bemit_mod_am(ext, node); \
} \
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment