Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
2debf302
Commit
2debf302
authored
Sep 06, 2015
by
Christoph Mallon
Browse files
ia32: Directly use the attr, not set_ia32_ls_mode() in the node spec file.
parent
087ca172
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_spec.pl
View file @
2debf302
...
...
@@ -764,7 +764,7 @@ Setcc => {
attr
=>
"
x86_condition_code_t condition_code
",
# The way we handle Setcc with float nodes (potentially) destroys the flags
# (when we emit the setX; setp; orb and the setX;setnp;andb sequences)
init
=>
"
set_ia32_
ls_mode
(res,
mode_Bu
)
;
\n
"
.
init
=>
"
attr->attr.
ls_mode
=
mode_Bu;
\n
"
.
"
\t
if (condition_code & x86_cc_additional_float_cases) {
\n
"
.
"
\t\t
arch_add_irn_flags(res, arch_irn_flag_modify_flags);
\n
"
.
"
\t\t
/* attr->latency = 3; */
\n
"
.
...
...
@@ -780,7 +780,7 @@ SetccMem => {
ins
=>
[
"
base
",
"
index
",
"
mem
","
eflags
"
],
attr_type
=>
"
ia32_condcode_attr_t
",
attr
=>
"
x86_condition_code_t condition_code
",
init
=>
"
set_ia32_
ls_mode
(res,
mode_Bu
);
\n
",
init
=>
"
attr->attr.
ls_mode
=
mode_Bu
;
",
emit
=>
"
set%P3 %AM
",
latency
=>
1
,
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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