mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
clo/clz aren't supported on mips I. Keep them around for when we'll
want them later (mips32/64). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -479,8 +479,11 @@ def MTHI : MoveFromTo<0x11, "mthi">;
|
||||
def MTLO : MoveFromTo<0x13, "mtlo">;
|
||||
|
||||
// Count Leading
|
||||
def CLO : CountLeading<0x21, "clo">;
|
||||
def CLZ : CountLeading<0x20, "clz">;
|
||||
// CLO/CLZ are part of the newer MIPS32(tm) instruction
|
||||
// set and not older Mips I keep this for future use
|
||||
// though.
|
||||
//def CLO : CountLeading<0x21, "clo">;
|
||||
//def CLZ : CountLeading<0x20, "clz">;
|
||||
|
||||
// No operation
|
||||
let addr=0 in
|
||||
@@ -618,4 +621,3 @@ def : Pat<(setge CPURegs:$lhs, immSExt16:$rhs),
|
||||
(XORi (SLTi CPURegs:$lhs, immSExt16:$rhs), 1)>;
|
||||
def : Pat<(setuge CPURegs:$lhs, immZExt16:$rhs),
|
||||
(XORi (SLTiu CPURegs:$lhs, immZExt16:$rhs), 1)>;
|
||||
|
||||
|
Reference in New Issue
Block a user