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
e0440fe8
Commit
e0440fe8
authored
Dec 07, 2012
by
Christoph Mallon
Browse files
ia32: When optimising for size, use cwtd and cltd instead of disabling them.
parent
6633222e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_architecture.c
View file @
e0440fe8
...
...
@@ -900,7 +900,7 @@ void ia32_setup_cg_config(void)
c
->
use_imul_mem_imm32
=
!
flags
(
opt_arch
,
arch_k8
|
arch_k10
)
||
opt_size
;
c
->
use_pxor
=
flags
(
opt_arch
,
arch_netburst
);
c
->
use_mov_0
=
flags
(
opt_arch
,
arch_k6
)
&&
!
opt_size
;
c
->
use_short_sex_eax
=
!
flags
(
opt_arch
,
arch_k6
)
&&
!
opt_size
;
c
->
use_short_sex_eax
=
!
flags
(
opt_arch
,
arch_k6
)
||
opt_size
;
c
->
use_pad_return
=
flags
(
opt_arch
,
arch_athlon_plus
)
&&
!
opt_size
;
c
->
use_bt
=
flags
(
opt_arch
,
arch_core2
|
arch_athlon_plus
)
||
opt_size
;
c
->
use_fisttp
=
flags
(
opt_arch
&
arch
,
arch_feature_sse3
);
...
...
Write
Preview
Supports
Markdown
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