summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools/gcc/gcc-12/0043-Fix-the-MB-64-bug-of-handling-QI-objects.patch
blob: c8caff29cdbc06e4faa1a424ed7b82dc5e4292fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From 0ed24f5a2e6e47f5d13896793ab2c6ea89e8c8e6 Mon Sep 17 00:00:00 2001
From: Nagaraju <nmekala@xilinx.com>
Date: Thu, 14 Mar 2019 18:11:04 +0530
Subject: [PATCH 43/53] Fix the MB-64 bug of handling QI objects

---
 gcc/config/microblaze/microblaze.md | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
index f509bd5e665..27436c0f660 100644
--- a/gcc/config/microblaze/microblaze.md
+++ b/gcc/config/microblaze/microblaze.md
@@ -2345,11 +2345,11 @@ else
 
 (define_insn "branch_zero_64"
   [(set (pc)
-	(if_then_else (match_operator:SI 0 "ordered_comparison_operator"
+	(if_then_else (match_operator 0 "ordered_comparison_operator"
   				 [(match_operand:SI 1 "register_operand" "d")
                                   (const_int 0)])
-                      (match_operand:SI 2 "pc_or_label_operand" "")
-                      (match_operand:SI 3 "pc_or_label_operand" "")))
+                      (match_operand 2 "pc_or_label_operand" "")
+                      (match_operand 3 "pc_or_label_operand" "")))
   ]
   "TARGET_MB_64"
   {
@@ -2365,11 +2365,11 @@ else
 
 (define_insn "long_branch_zero"
   [(set (pc)
-	(if_then_else (match_operator 0 "ordered_comparison_operator"
-  				 [(match_operand 1 "register_operand" "d")
+	(if_then_else (match_operator:DI 0 "ordered_comparison_operator"
+				 [(match_operand:DI 1 "register_operand" "d")
                                   (const_int 0)])
-                      (match_operand 2 "pc_or_label_operand" "")
-                      (match_operand 3 "pc_or_label_operand" "")))
+                      (match_operand:DI 2 "pc_or_label_operand" "")
+                      (match_operand:DI 3 "pc_or_label_operand" "")))
   ]
   "TARGET_MB_64"
   {
-- 
2.37.1 (Apple Git-137.1)