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
ec351574
Commit
ec351574
authored
Jul 27, 2015
by
Christoph Mallon
Browse files
sparc: Factorise common out requirements of Ld constructors.
parent
9b9ccf9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/sparc/sparc_spec.pl
View file @
ec351574
...
...
@@ -354,20 +354,19 @@ Ld => {
constructors
=>
{
imm
=>
{
in_reqs
=>
[
"
gp
",
"
none
"
],
out_reqs
=>
[
"
gp
",
"
none
"
],
ins
=>
[
"
ptr
",
"
mem
"
],
attr
=>
"
ir_mode *ls_mode, ir_entity *entity, int32_t offset, bool is_frame_entity
",
custominit
=>
"
init_sparc_load_store_attributes(res, ls_mode, entity, offset, is_frame_entity, false);
",
},
reg
=>
{
in_reqs
=>
[
"
gp
",
"
gp
",
"
none
"
],
out_reqs
=>
[
"
gp
",
"
none
"
],
ins
=>
[
"
ptr
",
"
ptr2
",
"
mem
"
],
attr
=>
"
ir_mode *ls_mode
",
custominit
=>
"
init_sparc_load_store_attributes(res, ls_mode, NULL, 0, false, true);
",
},
},
ins
=>
[
"
ptr
",
"
mem
"
],
out_reqs
=>
[
"
gp
",
"
none
"
],
outs
=>
[
"
res
",
"
M
"
],
attr_type
=>
"
sparc_load_store_attr_t
",
emit
=>
"
ld%ML %MO0, %D0
"
...
...
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