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
7983af14
Commit
7983af14
authored
Oct 10, 2008
by
Christoph Mallon
Browse files
Emit * in all necessary places for EMIT_ALTERNATE_AM.
[r22656]
parent
c69a615a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
7983af14
...
...
@@ -599,9 +599,9 @@ static void ia32_emitf(const ir_node *node, const char *fmt, ...)
case
'R'
:
{
const
arch_register_t
*
reg
=
va_arg
(
ap
,
const
arch_register_t
*
);
if
(
mod
&
EMIT_ALTERNATE_AM
)
be_emit_char
(
'*'
);
if
(
get_ia32_op_type
(
node
)
==
ia32_AddrModeS
)
{
if
(
mod
&
EMIT_ALTERNATE_AM
)
be_emit_char
(
'*'
);
ia32_emit_am
(
node
);
}
else
{
emit_register
(
reg
,
NULL
);
...
...
@@ -681,6 +681,8 @@ emit_S:
be_emit_char
(
'$'
);
emit_ia32_Immediate_no_prefix
(
in
);
}
else
{
if
(
mod
&
EMIT_ALTERNATE_AM
)
be_emit_char
(
'*'
);
const
arch_register_t
*
reg
=
get_in_reg
(
node
,
pos
);
emit_register
(
reg
,
mod
&
EMIT_RESPECT_LS
?
get_ia32_ls_mode
(
node
)
:
NULL
);
}
...
...
Write
Preview
Markdown
is supported
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