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
25d4469c
Commit
25d4469c
authored
Sep 23, 2009
by
Christoph Mallon
Browse files
Implement binary emitter for fsub.
[r26629]
parent
1852308b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
25d4469c
...
...
@@ -3540,6 +3540,11 @@ static void bemit_fstp(const ir_node *node)
}
}
static
void
bemit_fsub
(
const
ir_node
*
node
)
{
bemit_fbinop
(
node
,
4
,
5
);
}
static
void
bemit_fsubp
(
const
ir_node
*
node
)
{
bemit_fbinopp
(
node
,
0xE8
);
...
...
@@ -3725,6 +3730,7 @@ static void ia32_register_binary_emitters(void)
register_emitter
(
op_ia32_fpushCopy
,
bemit_fpushcopy
);
register_emitter
(
op_ia32_fst
,
bemit_fst
);
register_emitter
(
op_ia32_fstp
,
bemit_fstp
);
register_emitter
(
op_ia32_fsub
,
bemit_fsub
);
register_emitter
(
op_ia32_fsubp
,
bemit_fsubp
);
register_emitter
(
op_ia32_fsubr
,
bemit_fsubr
);
register_emitter
(
op_ia32_fxch
,
bemit_fxch
);
...
...
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