From 4e1c6295679b43f61a5ffde8d41f795b627e6b3f Mon Sep 17 00:00:00 2001 From: Reed Kotler Date: Fri, 26 Oct 2012 16:18:19 +0000 Subject: [PATCH] (no commit message) llvm-svn: 166780 --- llvm/lib/Target/Mips/Mips16InstrInfo.td | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/Mips/Mips16InstrInfo.td b/llvm/lib/Target/Mips/Mips16InstrInfo.td index 3721cc7..feffddc 100644 --- a/llvm/lib/Target/Mips/Mips16InstrInfo.td +++ b/llvm/lib/Target/Mips/Mips16InstrInfo.td @@ -205,6 +205,11 @@ class FRR16_div_ins f, string asmstr, InstrItinClass itin> : FRR16 ; +class FUnaryRR16_ins f, string asmstr, InstrItinClass itin> : + FRR16 ; + + class FRR16_M_ins f, string asmstr, InstrItinClass itin> : FRR16 { // Purpose: Negate // To negate an integer value. // -def NegRxRy16: FRR16_ins<0b11101, "neg", IIAlu>; +def NegRxRy16: FUnaryRR16_ins<0b11101, "neg", IIAlu>; // // Format: NOT rx, ry MIPS16e // Purpose: Not // To complement an integer value // -def NotRxRy16: FRR16_ins<0b01111, "not", IIAlu>; +def NotRxRy16: FUnaryRR16_ins<0b01111, "not", IIAlu>; // // Format: OR rx, ry MIPS16e -- 2.7.4