Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
d41bfe79
Commit
d41bfe79
authored
Dec 26, 2008
by
Michael Beck
Browse files
- only use immediate mode_E if x87 unit is used
[r24896]
parent
1b21df92
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/bearch_ia32.c
View file @
d41bfe79
...
...
@@ -124,6 +124,9 @@ static ia32_intrinsic_env_t intrinsic_env = {
typedef
ir_node
*
(
*
create_const_node_func
)
(
dbg_info
*
dbg
,
ir_node
*
block
);
/**
* Used to create a Pseudo-Register or Unknown node.
*/
static
inline
ir_node
*
create_const
(
ia32_code_gen_t
*
cg
,
ir_node
**
place
,
create_const_node_func
func
,
const
arch_register_t
*
reg
)
...
...
@@ -2383,9 +2386,10 @@ static const backend_params *ia32_get_libfirm_params(void) {
* is called... */
init_asm_constraints
();
p
.
dep_param
=
&
ad
;
p
.
if_conv_info
=
&
ifconv
;
p
.
mode_float_arithmetic
=
mode_E
;
p
.
dep_param
=
&
ad
;
p
.
if_conv_info
=
&
ifconv
;
if
(
!
ia32_cg_config
.
use_sse2
)
p
.
mode_float_arithmetic
=
mode_E
;
return
&
p
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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