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
e4c7af3e
Commit
e4c7af3e
authored
Apr 23, 2013
by
Matthias Braun
Browse files
add a few gcc compatibility switches
parent
a6c4dbfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_architecture.c
View file @
e4c7af3e
...
...
@@ -139,6 +139,15 @@ ENUM_BITSET(cpu_arch_features)
static
int
opt_size
=
0
;
static
int
emit_machcode
=
0
;
static
int
use_softfloat
=
0
;
static
int
use_sse
=
0
;
static
int
use_sse2
=
0
;
static
int
use_sse3
=
0
;
static
int
use_sse4
=
0
;
static
int
use_sse4_1
=
0
;
static
int
use_sse4_2
=
0
;
static
int
use_sse4a
=
0
;
static
int
use_sse5
=
0
;
static
int
use_ssse3
=
0
;
static
cpu_arch_features
arch
=
cpu_generic
;
static
cpu_arch_features
opt_arch
=
0
;
static
int
fpu_arch
=
0
;
...
...
@@ -233,6 +242,15 @@ static const lc_opt_table_entry_t ia32_architecture_options[] = {
LC_OPT_ENT_BOOL
(
"unsafe_floatconv"
,
"do unsafe floating point controlword optimisations"
,
&
opt_unsafe_floatconv
),
LC_OPT_ENT_BOOL
(
"machcode"
,
"output machine code instead of assembler"
,
&
emit_machcode
),
LC_OPT_ENT_BOOL
(
"soft-float"
,
"equivalent to fpmath=softfloat"
,
&
use_softfloat
),
LC_OPT_ENT_BOOL
(
"sse"
,
"gcc compatibility"
,
&
use_sse
),
LC_OPT_ENT_BOOL
(
"sse2"
,
"gcc compatibility"
,
&
use_sse2
),
LC_OPT_ENT_BOOL
(
"sse3"
,
"gcc compatibility"
,
&
use_sse3
),
LC_OPT_ENT_BOOL
(
"sse4"
,
"gcc compatibility"
,
&
use_sse4
),
LC_OPT_ENT_BOOL
(
"sse4.1"
,
"gcc compatibility"
,
&
use_sse4_1
),
LC_OPT_ENT_BOOL
(
"sse4.2"
,
"gcc compatibility"
,
&
use_sse4_2
),
LC_OPT_ENT_BOOL
(
"sse4a"
,
"gcc compatibility"
,
&
use_sse4a
),
LC_OPT_ENT_BOOL
(
"sse5"
,
"gcc compatibility"
,
&
use_sse5
),
LC_OPT_ENT_BOOL
(
"ssse3"
,
"gcc compatibility"
,
&
use_ssse3
),
LC_OPT_LAST
};
...
...
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