mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-06 09:54:49 +00:00
First code from the Mips16 compiler. Includes trivial test program. Patch by Reed Kotler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157408 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
756 B
TableGen
19 lines
756 B
TableGen
//===- Mips16InstrInfo.td - Target Description for Mips16 -*- tablegen -*-=//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file describes Mips16 instructions.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
let isReturn=1, isTerminator=1, hasDelaySlot=1, isCodeGenOnly=1,
|
|
isBarrier=1, hasCtrlDep=1, rx=0b000, ry=0b001 in
|
|
def RET16 : FRR16 <0, (outs), (ins CPURAReg:$target),
|
|
"jr\t$target", [(MipsRet CPURAReg:$target)], IIBranch>,
|
|
Requires<[InMips16Mode]>;
|