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
7beca9df
Commit
7beca9df
authored
Feb 13, 2015
by
Christoph Mallon
Browse files
ia32: Use correct index for memory input requirement.
This corrects x86code/asm_test16.c.
parent
a48bb3b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/x86_asm.c
View file @
7beca9df
...
@@ -463,7 +463,7 @@ ir_node *x86_match_ASM(const ir_node *node, new_bd_asm_func new_bd_asm,
...
@@ -463,7 +463,7 @@ ir_node *x86_match_ASM(const ir_node *node, new_bd_asm_func new_bd_asm,
op
->
kind
=
ASM_OP_MEMORY
;
op
->
kind
=
ASM_OP_MEMORY
;
const
arch_register_req_t
*
req
const
arch_register_req_t
*
req
=
arch_get_irn_register_req
(
new_pred
);
=
arch_get_irn_register_req
(
new_pred
);
in_reg_reqs
[
i
]
=
req
->
cls
->
class_req
;
in_reg_reqs
[
i
n_pos
]
=
req
->
cls
->
class_req
;
}
else
if
(
parsed_constraint
.
memory_possible
)
{
}
else
if
(
parsed_constraint
.
memory_possible
)
{
/* TODO: match Load or Load/Store if memory possible is set */
/* TODO: match Load or Load/Store if memory possible is set */
}
}
...
...
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