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
3100bbc2
Commit
3100bbc2
authored
Nov 30, 2012
by
Christoph Mallon
Browse files
ia32: Fix some mostly harmless warnings.
parent
f9e2c357
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_x87.c
View file @
3100bbc2
...
...
@@ -809,7 +809,7 @@ static int sim_binop(x87_state *const state, ir_node *const n)
char
const
*
const
r
=
op2_idx
>=
0
?
get_st_reg
(
op2_idx
)
->
name
:
"[AM]"
;
char
const
*
const
o
=
get_st_reg
(
out_idx
)
->
name
;
DB
((
dbg
,
LEVEL_1
,
"<<< %s %s, %s -> %s
\n
"
,
get_irn_opname
(
n
),
l
,
r
,
o
));
)
;
)
return
NO_NODE_ADDED
;
}
...
...
@@ -918,7 +918,7 @@ static int sim_store(x87_state *state, ir_node *n)
* - stack full: fstp value and load again
* Note that we cannot test on mode_E, because floats might be 80bit ... */
ir_mode
*
const
mode
=
get_ia32_ls_mode
(
n
);
if
(
get_mode_size_bits
(
mode
)
>
(
mode_is_int
(
mode
)
?
32
:
64
))
{
if
(
get_mode_size_bits
(
mode
)
>
(
mode_is_int
(
mode
)
?
32
U
:
64
U
))
{
if
(
x87_get_depth
(
state
)
<
N_FLOAT_REGS
)
{
/* ok, we have a free register: push + fstp */
x87_create_fpush
(
state
,
n
,
op2_idx
,
REG_FP_FP_NOREG
,
val
);
...
...
@@ -983,7 +983,6 @@ static int sim_fprem(x87_state *const state, ir_node *const n)
(
void
)
state
;
(
void
)
n
;
panic
(
"TODO implement"
);
return
NO_NODE_ADDED
;
}
/**
...
...
@@ -1192,7 +1191,7 @@ static int sim_Fucom(x87_state *state, ir_node *n)
char
const
*
const
l
=
op1_idx
>=
0
?
get_st_reg
(
op1_idx
)
->
name
:
"[AM]"
;
char
const
*
const
r
=
op2_idx
>=
0
?
get_st_reg
(
op2_idx
)
->
name
:
"[AM]"
;
DB
((
dbg
,
LEVEL_1
,
"<<< %s %s, %s
\n
"
,
get_irn_opname
(
n
),
l
,
r
));
)
;
)
return
NO_NODE_ADDED
;
}
...
...
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