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
4a8feab4
Commit
4a8feab4
authored
May 25, 2015
by
Matthias Braun
Browse files
ia32: add %E emit format for entities
parent
5796136e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
4a8feab4
...
...
@@ -533,6 +533,12 @@ destination_operand:
reg
=
arch_get_irn_register_out
(
node
,
*
fmt
++
-
'0'
);
goto
emit_R
;
case
'E'
:
{
const
ir_entity
*
const
entity
=
va_arg
(
ap
,
const
ir_entity
*
);
be_gas_emit_entity
(
entity
);
break
;
}
case
'F'
:
if
(
*
fmt
==
'M'
)
{
ia32_emit_x87_mode_suffix
(
node
);
...
...
ir/be/ia32/ia32_emitter.h
View file @
4a8feab4
...
...
@@ -23,6 +23,7 @@
* %ASx <node> address mode of the node or source register x
* %B <node> operands for binary operation
* %Dx <node> destination register x
* %E ir_entity const* emit entity name
* %Fx <node> x87 register x
* %FM <node> x87 mode suffix
* %FX <node> SSE mode suffix
...
...
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