summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-10-20 03:57:55 +0200
committerDiego Biurrun <diego@biurrun.de>2017-11-02 11:00:25 +0100
commit9b0aff51a7ae03215c4e1a3e7220fdbcfb858b08 (patch)
tree55beb8a7bfb33238f0ca31e17d08d1b565a104ec /configure
parent192fe52e42f64a493c47cad1461b20fe1149dbea (diff)
configure: Simplify MIPS instruction set handling
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index fc45fde2d4..6445976175 100755
--- a/configure
+++ b/configure
@@ -4268,10 +4268,10 @@ EOF
elif enabled mips; then
- check_inline_asm loongson '"dmult.g $1, $2, $3"'
+ # make sure that only one instruction set is enabled
+ disable $ARCH_EXT_LIST_MIPS
- # make sure that only an instruction set is enabled
- disable mips64r6 mips32r6 mips64r2 mips32r2 mips64r1 mips32r1
+ check_inline_asm loongson '"dmult.g $1, $2, $3"'
if enabled mips64; then
check_inline_asm mips64r6 '"dlsa $0, $0, $0, 1"' ||