Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0b818f9d
Commit
0b818f9d
authored
Oct 29, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IA32] Use -march=pentium{-mmx,3,4} in CFLAGS when available.
parent
f144c7fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/i386/Makefile
arch/i386/Makefile
+3
-3
No files found.
arch/i386/Makefile
View file @
0b818f9d
...
@@ -29,10 +29,10 @@ cflags-$(CONFIG_M386) += -march=i386
...
@@ -29,10 +29,10 @@ cflags-$(CONFIG_M386) += -march=i386
cflags-$(CONFIG_M486)
+=
-march
=
i486
cflags-$(CONFIG_M486)
+=
-march
=
i486
cflags-$(CONFIG_M586)
+=
-march
=
i586
cflags-$(CONFIG_M586)
+=
-march
=
i586
cflags-$(CONFIG_M586TSC)
+=
-march
=
i586
cflags-$(CONFIG_M586TSC)
+=
-march
=
i586
cflags-$(CONFIG_M586MMX)
+=
-march
=
i586
cflags-$(CONFIG_M586MMX)
+=
$(
shell
if
$(CC)
-march
=
pentium-mmx
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
"-march=pentium-mmx"
;
else
echo
"-march=i586"
;
fi
)
cflags-$(CONFIG_M686)
+=
-march
=
i686
cflags-$(CONFIG_M686)
+=
-march
=
i686
cflags-$(CONFIG_MPENTIUMIII)
+=
-march
=
i686
cflags-$(CONFIG_MPENTIUMIII)
+=
$(
shell
if
$(CC)
-march
=
pentium3
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
"-march=pentium3"
;
else
echo
"-march=i686"
;
fi
)
cflags-$(CONFIG_MPENTIUM4)
+=
-march
=
i686
cflags-$(CONFIG_MPENTIUM4)
+=
$(
shell
if
$(CC)
-march
=
pentium4
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
"-march=pentium4"
;
else
echo
"-march=i686"
;
fi
)
cflags-$(CONFIG_MK6)
+=
$(
shell
if
$(CC)
-march
=
k6
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
"-march=k6"
;
else
echo
"-march=i586"
;
fi
)
cflags-$(CONFIG_MK6)
+=
$(
shell
if
$(CC)
-march
=
k6
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
"-march=k6"
;
else
echo
"-march=i586"
;
fi
)
cflags-$(CONFIG_MK7)
+=
$(
shell
if
$(CC)
-march
=
athlon
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
"-march=athlon"
;
else
echo
"-march=i686 -malign-functions=4"
;
fi
)
cflags-$(CONFIG_MK7)
+=
$(
shell
if
$(CC)
-march
=
athlon
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
"-march=athlon"
;
else
echo
"-march=i686 -malign-functions=4"
;
fi
)
cflags-$(CONFIG_MCRUSOE)
+=
-march
=
i686
-malign-functions
=
0
-malign-jumps
=
0
-malign-loops
=
0
cflags-$(CONFIG_MCRUSOE)
+=
-march
=
i686
-malign-functions
=
0
-malign-jumps
=
0
-malign-loops
=
0
...
...
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