aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-8/0057-Fix-the-MB-64-bug-of-handling-QI-objects.patch
blob: a5a2039d9998a85a4bd7b0a25719c1bae8de3363 (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 6c58973f1cc1e37773aeab583aa3ac6331489106 Mon Sep 17 00:00:00 2001
From: Nagaraju <nmekala@xilinx.com>
Date: Thu, 14 Mar 2019 18:11:04 +0530
Subject: [PATCH 57/57] 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 e03b835..88aee9e 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.7.4