summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2011-02-23 18:52:05 +0000
committerRichard Osborne <richard@xmos.com>2011-02-23 18:52:05 +0000
commitbfa5cc0e089250133566cf309e3a7cc384a34fed (patch)
tree3d69721d80adabf2cac808d9900295887cd87be6 /llvm/lib/Target
parente71b378dc7c0fa9e43532d33827b876008126b10 (diff)
downloadbcm5719-llvm-bfa5cc0e089250133566cf309e3a7cc384a34fed.tar.gz
bcm5719-llvm-bfa5cc0e089250133566cf309e3a7cc384a34fed.zip
Add XCore intrinsic for clre instruction.
llvm-svn: 126322
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/XCore/XCoreInstrInfo.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreInstrInfo.td b/llvm/lib/Target/XCore/XCoreInstrInfo.td
index 90a725220f2..d9bd2a44bec 100644
--- a/llvm/lib/Target/XCore/XCoreInstrInfo.td
+++ b/llvm/lib/Target/XCore/XCoreInstrInfo.td
@@ -895,10 +895,12 @@ def SETV_1r : _F1R<(outs), (ins GRRegs:$r),
[(int_xcore_setv GRRegs:$r, R11)]>;
// Zero operand short
-// TODO clre, ssync, freet, ldspc, stspc, ldssr, stssr, ldsed, stsed,
+// TODO ssync, freet, ldspc, stspc, ldssr, stssr, ldsed, stsed,
// stet, geted, getet, getkep, getksp, setkep, getid, kret, dcall, dret,
// dentsp, drestsp
+def CLRE_0R : _F0R<(outs), (ins), "clre", [(int_xcore_clre)]>;
+
let Defs = [R11] in
def GETID_0R : _F0R<(outs), (ins),
"get r11, id",
OpenPOWER on IntegriCloud