Andrew Geissler | 10fa149 | 2020-12-11 16:25:29 -0600 | [diff] [blame^] | 1 | From 410348f4fd9b641afa24e6c6b6a62a4c74d18862 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 2 | From: Mahesh Bodapati <mbodapat@xilinx.com> |
| 3 | Date: Wed, 8 Aug 2018 17:37:26 +0530 |
Andrew Geissler | 10fa149 | 2020-12-11 16:25:29 -0600 | [diff] [blame^] | 4 | Subject: [PATCH 32/54] [Patch,Microblaze] : previous commit broke the |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 5 | 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 | |
| 11 | diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md |
Andrew Geissler | 10fa149 | 2020-12-11 16:25:29 -0600 | [diff] [blame^] | 12 | index cfe9e5312d1..592757baf2f 100644 |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 13 | --- a/gcc/config/microblaze/microblaze.md |
| 14 | +++ b/gcc/config/microblaze/microblaze.md |
Andrew Geissler | 10fa149 | 2020-12-11 16:25:29 -0600 | [diff] [blame^] | 15 | @@ -2227,8 +2227,8 @@ else |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 16 | (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 Geissler | a9ff2b3 | 2020-10-16 10:11:54 -0500 | [diff] [blame] | 27 | 2.17.1 |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 28 | |