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
751265e9
Commit
751265e9
authored
Nov 13, 2014
by
Christoph Mallon
Browse files
ia32: Correct emitter of Inport and Outport.
The operands were swapped.
parent
75d2e4ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_spec.pl
View file @
751265e9
...
...
@@ -1332,7 +1332,7 @@ Outport => {
state
=>
"
pinned
",
reg_req
=>
{
in
=>
[
"
edx
",
"
eax
",
"
none
"
],
out
=>
[
"
none
"
]
},
ins
=>
[
"
port
",
"
value
",
"
mem
"
],
emit
=>
"
out%M %
^S0, %#S1
",
emit
=>
"
out%M %
#S1, %^S0
",
latency
=>
1
,
mode
=>
mode_M
,
modified_flags
=>
$status_flags
...
...
@@ -1347,7 +1347,7 @@ Inport => {
reg_req
=>
{
in
=>
[
"
edx
",
"
none
"
],
out
=>
[
"
eax
",
"
none
"
]
},
ins
=>
[
"
port
",
"
mem
"
],
outs
=>
[
"
res
",
"
M
"
],
emit
=>
"
in%M %
#D
0, %
^S
0
",
emit
=>
"
in%M %
^S
0, %
#D
0
",
latency
=>
1
,
mode
=>
mode_T
,
modified_flags
=>
$status_flags
...
...
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