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
b0582842
Commit
b0582842
authored
Feb 09, 2007
by
Christian Würdig
Browse files
new machine spec
parent
6d2a8405
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/bearch_ia32.c
View file @
b0582842
...
...
@@ -368,7 +368,9 @@ static void ia32_set_frame_offset(const void *self, ir_node *irn, int bias) {
const
ia32_irn_ops_t
*
ops
=
self
;
if
(
get_ia32_frame_ent
(
irn
))
{
if
(
is_ia32_Pop
(
irn
))
{
ia32_am_flavour_t
am_flav
;
if
(
is_ia32_Pop
(
irn
))
{
int
omit_fp
=
be_abi_omit_fp
(
ops
->
cg
->
birg
->
abi
);
if
(
omit_fp
)
{
/* Pop nodes modify the stack pointer before calculating the destination
...
...
@@ -380,7 +382,7 @@ static void ia32_set_frame_offset(const void *self, ir_node *irn, int bias) {
DBG
((
ops
->
cg
->
mod
,
LEVEL_1
,
"stack biased %+F with %d
\n
"
,
irn
,
bias
));
ia32_
am_flav
our_t
am_flav
=
get_ia32_am_flavour
(
irn
);
am_flav
=
get_ia32_am_flavour
(
irn
);
am_flav
|=
ia32_O
;
set_ia32_am_flavour
(
irn
,
am_flav
);
...
...
@@ -1830,18 +1832,18 @@ static const be_execution_unit_t ***ia32_get_allowed_execution_units(const void
&
ia32_execution_units_BRANCH
[
IA32_EXECUNIT_TP_BRANCH_BRANCH2
],
NULL
,
};
static
const
be_execution_unit_t
*
_allowed_units_ALU
[]
=
{
&
ia32_execution_units_ALU
[
IA32_EXECUNIT_TP_ALU_ALU1
],
&
ia32_execution_units_ALU
[
IA32_EXECUNIT_TP_ALU_ALU2
],
&
ia32_execution_units_ALU
[
IA32_EXECUNIT_TP_ALU_ALU3
],
&
ia32_execution_units_ALU
[
IA32_EXECUNIT_TP_ALU_ALU4
],
static
const
be_execution_unit_t
*
_allowed_units_GP
[]
=
{
&
ia32_execution_units_GP
[
IA32_EXECUNIT_TP_GP_GP_EAX
],
&
ia32_execution_units_GP
[
IA32_EXECUNIT_TP_GP_GP_EBX
],
&
ia32_execution_units_GP
[
IA32_EXECUNIT_TP_GP_GP_ECX
],
&
ia32_execution_units_GP
[
IA32_EXECUNIT_TP_GP_GP_EDX
],
&
ia32_execution_units_GP
[
IA32_EXECUNIT_TP_GP_GP_ESI
],
&
ia32_execution_units_GP
[
IA32_EXECUNIT_TP_GP_GP_EDI
],
&
ia32_execution_units_GP
[
IA32_EXECUNIT_TP_GP_GP_EBP
],
NULL
,
};
static
const
be_execution_unit_t
*
_allowed_units_DUMMY
[]
=
{
&
ia32_execution_units_DUMMY
[
IA32_EXECUNIT_TP_DUMMY_DUMMY1
],
&
ia32_execution_units_DUMMY
[
IA32_EXECUNIT_TP_DUMMY_DUMMY2
],
&
ia32_execution_units_DUMMY
[
IA32_EXECUNIT_TP_DUMMY_DUMMY3
],
&
ia32_execution_units_DUMMY
[
IA32_EXECUNIT_TP_DUMMY_DUMMY4
],
&
be_machine_execution_units_DUMMY
[
0
],
NULL
,
};
static
const
be_execution_unit_t
**
_units_callret
[]
=
{
...
...
@@ -1849,7 +1851,7 @@ static const be_execution_unit_t ***ia32_get_allowed_execution_units(const void
NULL
};
static
const
be_execution_unit_t
**
_units_other
[]
=
{
_allowed_units_
ALU
,
_allowed_units_
GP
,
NULL
};
static
const
be_execution_unit_t
**
_units_dummy
[]
=
{
...
...
ir/be/ia32/ia32_spec.pl
View file @
b0582842
This diff is collapsed.
Click to expand it.
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