[MPlayer-dev-eng] mvi on alpha ev56 (i.e. there isn't any)
Andrew A. Gill
superluser at frontiernet.net
Thu Sep 11 22:33:54 CEST 2003
I'm having some trouble with compiling MPlayer-1.0-pre1 on a DEC Alpha
ev56.
I'm compiling it with GCC-3.2.2, and I keep getting complaints about
assembly operands. Trouble is, it looks like it's trying to build support
for MVI, but Alpha ev56 doesn't support MVI.
This might be a libavcodec problem, but as far as I can tell, the relevant
code in that makefile is unchanged.
So I propose a patch (attached). Note that I don't program shell scripts,
so this might not even work, but the concept should be sound.
--
|Andrew A. Gill |I posted to Silent-Tristero and|
|<superluser at frontiernet.net> |all I got was this stupid sig! |
|alt.tv.simpsons CBG-FAQ author | |
| (Report all obscene mail to Le Maitre Pots)|
|Nothing here yet: <http://www.needsfoodbadly.com> Temporary sig: --
TIA
-------------- next part --------------
--- configure.first Thu Sep 11 16:24:34 2003
+++ configure.second Thu Sep 11 16:31:12 2003
@@ -890,13 +890,13 @@
EOF
$_cc -o "$TMPO" "$TMPC"
case `"$TMPO"` in
- 0-0) proc="ev4" ;;
- 1-0) proc="ev5" ;;
- 1-1) proc="ev56" ;;
- 1-101) proc="pca56" ;;
- 2-303) proc="ev6" ;;
- 2-307) proc="ev67" ;;
- 2-1307) proc="ev68" ;;
+ 0-0) proc="ev4"; CAN_DO_MVI = 0;;
+ 1-0) proc="ev5"; CAN_DO_MVI = 0;;
+ 1-1) proc="ev56"; CAN_DO_MVI = 0;;
+ 1-101) proc="pca56"; CAN_DO_MVI = 1;;
+ 2-303) proc="ev6"; CAN_DO_MVI = 1;;
+ 2-307) proc="ev67"; CAN_DO_MVI = 1;;
+ 2-1307) proc="ev68"; CAN_DO_MVI = 1;;
esac
echores "$proc"
@@ -913,8 +913,8 @@
_optimizing="$proc"
echocheck "MVI instruction support in GCC"
- if test "$_cc_major" -ge "3"; then
- _def_gcc_mvi_support="#define CAN_COMPILE_ALPHA_MVI 1"
+ if test "$_cc_major" -ge "3" && test "$CAN_DO_MVI" = "1" ; then
+ _def_gcc_mvi_support="#define CAN_COMPILE_ALPHA_MVI 1"
echores "yes"
else
_def_gcc_mvi_support="#undef CAN_COMPILE_ALPHA_MVI"
More information about the MPlayer-dev-eng
mailing list