aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/cil32/cil32.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/cil32/cil32.md')
-rw-r--r--gcc/config/cil32/cil32.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/config/cil32/cil32.md b/gcc/config/cil32/cil32.md
index 9ea4af49d7f..89ca838f123 100644
--- a/gcc/config/cil32/cil32.md
+++ b/gcc/config/cil32/cil32.md
@@ -184,6 +184,30 @@
""
"xor")
+(define_insn "ashl<mode>3"
+ [(set (match_operand:ALLINTEVALMODES 0 "nonimmediate_operand" "")
+ (ashift:ALLINTEVALMODES
+ (match_operand:ALLINTEVALMODES 1 "general_operand" "")
+ (match_operand:ALLINTEVALMODES 2 "general_operand" "")))]
+ ""
+ "ashl")
+
+(define_insn "lshr<mode>3"
+ [(set (match_operand:ALLINTEVALMODES 0 "nonimmediate_operand" "")
+ (lshiftrt:ALLINTEVALMODES
+ (match_operand:ALLINTEVALMODES 1 "general_operand" "")
+ (match_operand:ALLINTEVALMODES 2 "general_operand" "")))]
+ ""
+ "lshr")
+
+(define_insn "ashr<mode>3"
+ [(set (match_operand:ALLINTEVALMODES 0 "nonimmediate_operand" "")
+ (ashiftrt:ALLINTEVALMODES
+ (match_operand:ALLINTEVALMODES 1 "general_operand" "")
+ (match_operand:ALLINTEVALMODES 2 "general_operand" "")))]
+ ""
+ "ashr")
+
;; Call insns.