Skip to content

Commit

Permalink
configure: Simplify MIPS instruction set handling
Browse files Browse the repository at this point in the history
  • Loading branch information
DonDiego committed Nov 2, 2017
1 parent 192fe52 commit 9b0aff5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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"' ||
Expand Down

0 comments on commit 9b0aff5

Please sign in to comment.