[PATCH] D42172: [ARC] Add missing condition codes.
Tatyana Krasnukha via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 06:16:06 PST 2018
tatyana-krasnukha created this revision.
tatyana-krasnukha added a reviewer: petecoup.
Added VS and VC, required for disassembling.
Repository:
rL LLVM
https://reviews.llvm.org/D42172
Files:
lib/Target/ARC/ARCInstrInfo.cpp
lib/Target/ARC/InstPrinter/ARCInstPrinter.cpp
lib/Target/ARC/MCTargetDesc/ARCInfo.h
Index: lib/Target/ARC/MCTargetDesc/ARCInfo.h
===================================================================
--- lib/Target/ARC/MCTargetDesc/ARCInfo.h
+++ lib/Target/ARC/MCTargetDesc/ARCInfo.h
@@ -30,6 +30,8 @@
N = 0x4,
LO = 0x5,
HS = 0x6,
+ VS = 0x7,
+ VC = 0x8,
GT = 0x9,
GE = 0xa,
LT = 0xb,
Index: lib/Target/ARC/InstPrinter/ARCInstPrinter.cpp
===================================================================
--- lib/Target/ARC/InstPrinter/ARCInstPrinter.cpp
+++ lib/Target/ARC/InstPrinter/ARCInstPrinter.cpp
@@ -66,6 +66,10 @@
return "gt";
case ARCCC::GE:
return "ge";
+ case ARCCC::VS:
+ return "vs";
+ case ARCCC::VC:
+ return "vc";
case ARCCC::LT:
return "lt";
case ARCCC::LE:
Index: lib/Target/ARC/ARCInstrInfo.cpp
===================================================================
--- lib/Target/ARC/ARCInstrInfo.cpp
+++ lib/Target/ARC/ARCInstrInfo.cpp
@@ -103,6 +103,10 @@
return ARCCC::LE;
case ARCCC::GE:
return ARCCC::LT;
+ case ARCCC::VS:
+ return ARCCC::VC;
+ case ARCCC::VC:
+ return ARCCC::VS;
case ARCCC::LT:
return ARCCC::GE;
case ARCCC::LE:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42172.130157.patch
Type: text/x-patch
Size: 1153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180117/f42a04a6/attachment.bin>
More information about the llvm-commits
mailing list