blob: 15acc1cbb1a698aad879b8a438415833a0f6c6b4 [file] [log] [blame]
Andrew Geissler10fa1492020-12-11 16:25:29 -06001From 682f65fa3a6b37c207b0d727dd22b6f8cc5d8d3d Mon Sep 17 00:00:00 2001
Brad Bishop26bdd442019-08-16 17:08:17 -04002From: Nagaraju <nmekala@xilinx.com>
3Date: Thu, 14 Mar 2019 18:11:04 +0530
Andrew Geissler10fa1492020-12-11 16:25:29 -06004Subject: [PATCH 45/54] Fix the MB-64 bug of handling QI objects
Brad Bishop26bdd442019-08-16 17:08:17 -04005
6---
7 gcc/config/microblaze/microblaze.md | 14 +++++++-------
8 1 file changed, 7 insertions(+), 7 deletions(-)
9
10diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md
Andrew Geissler10fa1492020-12-11 16:25:29 -060011index 8f0ae901b77..207d2bf1b55 100644
Brad Bishop26bdd442019-08-16 17:08:17 -040012--- a/gcc/config/microblaze/microblaze.md
13+++ b/gcc/config/microblaze/microblaze.md
Andrew Geissler10fa1492020-12-11 16:25:29 -060014@@ -2348,11 +2348,11 @@ else
Brad Bishop26bdd442019-08-16 17:08:17 -040015
16 (define_insn "branch_zero_64"
17 [(set (pc)
18- (if_then_else (match_operator:SI 0 "ordered_comparison_operator"
19+ (if_then_else (match_operator 0 "ordered_comparison_operator"
20 [(match_operand:SI 1 "register_operand" "d")
21 (const_int 0)])
22- (match_operand:SI 2 "pc_or_label_operand" "")
23- (match_operand:SI 3 "pc_or_label_operand" "")))
24+ (match_operand 2 "pc_or_label_operand" "")
25+ (match_operand 3 "pc_or_label_operand" "")))
26 ]
27 "TARGET_MB_64"
28 {
Andrew Geissler10fa1492020-12-11 16:25:29 -060029@@ -2368,11 +2368,11 @@ else
Brad Bishop26bdd442019-08-16 17:08:17 -040030
31 (define_insn "long_branch_zero"
32 [(set (pc)
33- (if_then_else (match_operator 0 "ordered_comparison_operator"
34- [(match_operand 1 "register_operand" "d")
35+ (if_then_else (match_operator:DI 0 "ordered_comparison_operator"
36+ [(match_operand:DI 1 "register_operand" "d")
37 (const_int 0)])
38- (match_operand 2 "pc_or_label_operand" "")
39- (match_operand 3 "pc_or_label_operand" "")))
40+ (match_operand:DI 2 "pc_or_label_operand" "")
41+ (match_operand:DI 3 "pc_or_label_operand" "")))
42 ]
43 "TARGET_MB_64"
44 {
45--
Andrew Geisslera9ff2b32020-10-16 10:11:54 -0500462.17.1
Brad Bishop26bdd442019-08-16 17:08:17 -040047