[mips] Fold FeatureBitCount into FeatureMips32 and FeatureMips64
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 12 May 2014 12:41:59 +0000 (12:41 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 12 May 2014 12:41:59 +0000 (12:41 +0000)
commitb396af375298e7af7dfaa818d1d38696b590e6fc
treea946797ed2a6dbe20953d6ea1ae0c14582edfe02
parentea27d2f50b1666732f2345fcb39be5f71485aa83
[mips] Fold FeatureBitCount into FeatureMips32 and FeatureMips64

Summary:
DCL[ZO] are now correctly marked as being MIPS64 instructions. This has no
effect on the CodeGen tests since expansion of i64 prevented their use
anyway.

The check for MIPS16 to prevent the use of CLZ no longer prevents DCLZ as
well. This is not a functional change since DCLZ is still prohibited by
being a MIPS64 instruction (MIPS16 is only compatible with MIPS32).

No functional change

Reviewers: vmedic

Reviewed By: vmedic

Differential Revision: http://reviews.llvm.org/D3694

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208544 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MicroMipsInstrInfo.td
lib/Target/Mips/Mips.td
lib/Target/Mips/Mips64InstrInfo.td
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsInstrInfo.td
lib/Target/Mips/MipsSubtarget.cpp
lib/Target/Mips/MipsSubtarget.h
test/MC/Mips/mips32/invalid-mips64.s [new file with mode: 0644]