Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
bc8ec47b
Commit
bc8ec47b
authored
18 years ago
by
Måns Rullgård
Browse files
Options
Downloads
Patches
Plain Diff
simplify altivec warning
Originally committed as revision 7916 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
412c1562
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure
+9
-12
9 additions, 12 deletions
configure
with
9 additions
and
12 deletions
configure
+
9
−
12
View file @
bc8ec47b
...
@@ -1289,40 +1289,37 @@ fi
...
@@ -1289,40 +1289,37 @@ fi
# Add processor-specific flags
# Add processor-specific flags
POWERPCMODE
=
"32bits"
POWERPCMODE
=
"32bits"
if
test
$cpu
!=
"generic"
;
then
if
test
$cpu
!=
"generic"
;
then
warn_altivec_enabled
(){
warn_altivec
(){
enabled altivec
&&
echo
"WARNING: Tuning for
$1
but AltiVec enabled."
;
$1
altivec
&&
echo
"WARNING: Tuning for
$2
but AltiVec
$1
."
;
}
warn_altivec_disabled
(){
disabled altivec
&&
echo
"WARNING: Tuning for
$1
but AltiVec disabled."
;
}
}
case
$cpu
in
case
$cpu
in
601|ppc601|PowerPC601
)
601|ppc601|PowerPC601
)
add_cflags
"-mcpu=601"
add_cflags
"-mcpu=601"
warn_altivec
_
enabled PPC601
warn_altivec
enabled PPC601
;;
;;
603
*
|
ppc603
*
|
PowerPC603
*
)
603
*
|
ppc603
*
|
PowerPC603
*
)
add_cflags
"-mcpu=603"
add_cflags
"-mcpu=603"
warn_altivec
_
enabled PPC603
warn_altivec
enabled PPC603
;;
;;
604
*
|
ppc604
*
|
PowerPC604
*
)
604
*
|
ppc604
*
|
PowerPC604
*
)
add_cflags
"-mcpu=604"
add_cflags
"-mcpu=604"
warn_altivec
_
enabled PPC604
warn_altivec
enabled PPC604
;;
;;
G3|g3|75
*
|
ppc75
*
|
PowerPC75
*
)
G3|g3|75
*
|
ppc75
*
|
PowerPC75
*
)
add_cflags
"-mcpu=750 -mpowerpc-gfxopt"
add_cflags
"-mcpu=750 -mpowerpc-gfxopt"
warn_altivec
_
enabled PPC75x
warn_altivec
enabled PPC75x
;;
;;
G4|g4|745
*
|
ppc745
*
|
PowerPC745
*
)
G4|g4|745
*
|
ppc745
*
|
PowerPC745
*
)
add_cflags
"-mcpu=7450 -mpowerpc-gfxopt"
add_cflags
"-mcpu=7450 -mpowerpc-gfxopt"
warn_altivec
_
disabled PPC745x
warn_altivec
disabled PPC745x
;;
;;
74
*
|
ppc74
*
|
PowerPC74
*
)
74
*
|
ppc74
*
|
PowerPC74
*
)
add_cflags
"-mcpu=7400 -mpowerpc-gfxopt"
add_cflags
"-mcpu=7400 -mpowerpc-gfxopt"
warn_altivec
_
disabled PPC74xx
warn_altivec
disabled PPC74xx
;;
;;
G5|g5|970|ppc970|PowerPC970|power4
*
|
Power4
*
)
G5|g5|970|ppc970|PowerPC970|power4
*
|
Power4
*
)
add_cflags
"-mcpu=970 -mpowerpc-gfxopt -mpowerpc64"
add_cflags
"-mcpu=970 -mpowerpc-gfxopt -mpowerpc64"
warn_altivec
_
disabled PPC970
warn_altivec
disabled PPC970
POWERPCMODE
=
"64bits"
POWERPCMODE
=
"64bits"
;;
;;
# targets that do NOT support conditional mov (cmov)
# targets that do NOT support conditional mov (cmov)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment