mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
(alpha): Replace CPU-determining program with one that's more precise
and also supports pca56 and ev6. Handle those in returned name.
This commit is contained in:
parent
e0e277ff6a
commit
5773304ab3
56
config.guess
vendored
56
config.guess
vendored
@ -65,9 +65,14 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||||||
main:
|
main:
|
||||||
.frame \$30,0,\$26,0
|
.frame \$30,0,\$26,0
|
||||||
.prologue 0
|
.prologue 0
|
||||||
.long 0x47e03d84
|
.long 0x47e03d80 # implver $0
|
||||||
cmoveq \$4,0,\$3
|
lda \$2,259
|
||||||
addl \$3,\$31,\$0
|
.long 0x47e20c21 # amask $2,$1
|
||||||
|
srl \$1,8,\$2
|
||||||
|
sll \$2,2,\$2
|
||||||
|
sll \$0,3,\$0
|
||||||
|
addl \$1,\$0,\$0
|
||||||
|
addl \$2,\$0,\$0
|
||||||
ret \$31,(\$26),1
|
ret \$31,(\$26),1
|
||||||
.end main
|
.end main
|
||||||
EOF
|
EOF
|
||||||
@ -75,12 +80,21 @@ EOF
|
|||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
./dummy
|
./dummy
|
||||||
case "$?" in
|
case "$?" in
|
||||||
1)
|
7)
|
||||||
|
UNAME_MACHINE="alpha"
|
||||||
|
;;
|
||||||
|
15)
|
||||||
UNAME_MACHINE="alphaev5"
|
UNAME_MACHINE="alphaev5"
|
||||||
;;
|
;;
|
||||||
2)
|
14)
|
||||||
UNAME_MACHINE="alphaev56"
|
UNAME_MACHINE="alphaev56"
|
||||||
;;
|
;;
|
||||||
|
10)
|
||||||
|
UNAME_MACHINE="alphapca56"
|
||||||
|
;;
|
||||||
|
16)
|
||||||
|
UNAME_MACHINE="alphaev6"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
rm -f dummy.s dummy
|
rm -f dummy.s dummy
|
||||||
@ -503,9 +517,14 @@ EOF
|
|||||||
main:
|
main:
|
||||||
.frame \$30,0,\$26,0
|
.frame \$30,0,\$26,0
|
||||||
.prologue 0
|
.prologue 0
|
||||||
.long 0x47e03d84
|
.long 0x47e03d80 # implver $0
|
||||||
cmoveq \$4,0,\$3
|
lda \$2,259
|
||||||
addl \$3,\$31,\$0
|
.long 0x47e20c21 # amask $2,$1
|
||||||
|
srl \$1,8,\$2
|
||||||
|
sll \$2,2,\$2
|
||||||
|
sll \$0,3,\$0
|
||||||
|
addl \$1,\$0,\$0
|
||||||
|
addl \$2,\$0,\$0
|
||||||
ret \$31,(\$26),1
|
ret \$31,(\$26),1
|
||||||
.end main
|
.end main
|
||||||
EOF
|
EOF
|
||||||
@ -514,12 +533,21 @@ EOF
|
|||||||
if test "$?" = 0 ; then
|
if test "$?" = 0 ; then
|
||||||
./dummy
|
./dummy
|
||||||
case "$?" in
|
case "$?" in
|
||||||
1)
|
7)
|
||||||
UNAME_MACHINE="alphaev5"
|
UNAME_MACHINE="alpha"
|
||||||
;;
|
;;
|
||||||
2)
|
15)
|
||||||
UNAME_MACHINE="alphaev56"
|
UNAME_MACHINE="alphaev5"
|
||||||
;;
|
;;
|
||||||
|
14)
|
||||||
|
UNAME_MACHINE="alphaev56"
|
||||||
|
;;
|
||||||
|
10)
|
||||||
|
UNAME_MACHINE="alphapca56"
|
||||||
|
;;
|
||||||
|
16)
|
||||||
|
UNAME_MACHINE="alphaev6"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
objdump --private-headers dummy | \
|
objdump --private-headers dummy | \
|
||||||
|
Loading…
Reference in New Issue
Block a user