blob: b74c79ec64fa8914279efc46c1d63d1b97a61b4b [file] [log] [blame]
Andrew Geissler10fa1492020-12-11 16:25:29 -06001From 410348f4fd9b641afa24e6c6b6a62a4c74d18862 Mon Sep 17 00:00:00 2001
Brad Bishop26bdd442019-08-16 17:08:17 -04002From: Mahesh Bodapati <mbodapat@xilinx.com>
3Date: Wed, 8 Aug 2018 17:37:26 +0530
Andrew Geissler10fa1492020-12-11 16:25:29 -06004Subject: [PATCH 32/54] [Patch,Microblaze] : previous commit broke the
Brad Bishop26bdd442019-08-16 17:08:17 -04005 handling of SI Branch compare for Microblaze 32-bit..
6
7---
8 gcc/config/microblaze/microblaze.md | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
Andrew Geissler10fa1492020-12-11 16:25:29 -060012index cfe9e5312d1..592757baf2f 100644
Brad Bishop26bdd442019-08-16 17:08:17 -040013--- a/gcc/config/microblaze/microblaze.md
14+++ b/gcc/config/microblaze/microblaze.md
Andrew Geissler10fa1492020-12-11 16:25:29 -060015@@ -2227,8 +2227,8 @@ else
Brad Bishop26bdd442019-08-16 17:08:17 -040016 (define_expand "cbranchsi4"
17 [(set (pc)
18 (if_then_else (match_operator 0 "ordered_comparison_operator"
19- [(match_operand 1 "register_operand")
20- (match_operand 2 "arith_operand" "I,i")])
21+ [(match_operand:SI 1 "register_operand")
22+ (match_operand:SI 2 "arith_operand" "I,i")])
23 (label_ref (match_operand 3 ""))
24 (pc)))]
25 ""
26--
Andrew Geisslera9ff2b32020-10-16 10:11:54 -0500272.17.1
Brad Bishop26bdd442019-08-16 17:08:17 -040028