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
eee24854
Commit
eee24854
authored
Aug 29, 2006
by
Matthias Braun
Browse files
fix fucompp emitter when no register is needed
parent
f6377fd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
eee24854
...
...
@@ -1000,7 +1000,7 @@ static void emit_ia32_x87CondJmp(ir_node *irn, ia32_emit_env_t *env) {
if
(
reverse
)
set_ia32_pncode
(
irn
,
(
long
)
get_inversed_pnc
(
get_ia32_pncode
(
irn
)));
snprintf
(
cmd_buf
,
SNPRINTF_BUF_LEN
,
"%s %
%
%s"
,
instr
,
reg
);
snprintf
(
cmd_buf
,
SNPRINTF_BUF_LEN
,
"%s %
s
%s"
,
instr
,
reg
[
0
]
==
'\0'
?
""
:
"%"
,
reg
);
lc_esnprintf
(
ia32_get_arg_env
(),
cmnt_buf
,
SNPRINTF_BUF_LEN
,
"/* %+F */"
,
irn
);
IA32_DO_EMIT
(
irn
);
lc_esnprintf
(
ia32_get_arg_env
(),
cmd_buf
,
SNPRINTF_BUF_LEN
,
"fnstsw %%ax"
,
irn
);
...
...
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