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
9260a05e
Commit
9260a05e
authored
Sep 20, 2015
by
Matthias Braun
Browse files
amd64: Fix x87 phis
parent
4394cdc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/amd64/amd64_transform.c
View file @
9260a05e
...
...
@@ -1978,7 +1978,9 @@ static ir_node *gen_Phi(ir_node *const node)
/* all integer operations are on 64bit registers now */
req
=
amd64_reg_classes
[
CLASS_amd64_gp
].
class_req
;
}
else
if
(
mode_is_float
(
mode
))
{
req
=
amd64_reg_classes
[
CLASS_amd64_xmm
].
class_req
;
req
=
mode
==
x86_mode_E
?
amd64_reg_classes
[
CLASS_amd64_x87
].
class_req
:
amd64_reg_classes
[
CLASS_amd64_xmm
].
class_req
;
}
else
{
req
=
arch_memory_req
;
}
...
...
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