From: Nagaraju Mekala Date: Tue, 17 Jun 2014 22:19:07 +0000 (+0000) Subject: Revert patch on gcc-4_8-branch. X-Git-Tag: releases/gcc-4.8.4~407 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64c73b9c7218c1554e167ea86deea1e7839f6caf;p=thirdparty%2Fgcc.git Revert patch on gcc-4_8-branch. From-SVN: r211750 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f96b7442fd7e..98406feb6ee4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-06-17 Nagaraju Mekala + + Revert on gcc-4_8-branch. + * config/microblaze/microblaze.md: Add movsi4_rev insn pattern. + * config/microblaze/predicates.md: Add reg_or_mem_operand predicate. + 2014-06-17 Yufeng Zhang Backport from mainline diff --git a/gcc/config/microblaze/microblaze.md b/gcc/config/microblaze/microblaze.md index f1913b3c1db5..7d613f443512 100644 --- a/gcc/config/microblaze/microblaze.md +++ b/gcc/config/microblaze/microblaze.md @@ -1119,18 +1119,6 @@ } ) -;;Load and store reverse -(define_insn "movsi4_rev" - [(set (match_operand:SI 0 "reg_or_mem_operand" "=r,Q") - (bswap:SI (match_operand:SF 1 "reg_or_mem_operand" "Q,r")))] - "TARGET_REORDER" - "@ - lwr\t%0,%y1,r0 - swr\t%1,%y0,r0" - [(set_attr "type" "load,store") - (set_attr "mode" "SI") - (set_attr "length" "4,4")]) - ;; 32-bit floating point moves (define_expand "movsf" diff --git a/gcc/config/microblaze/predicates.md b/gcc/config/microblaze/predicates.md index 905d46a9d1f4..2c23291a9f7c 100644 --- a/gcc/config/microblaze/predicates.md +++ b/gcc/config/microblaze/predicates.md @@ -85,10 +85,6 @@ (ior (match_operand 0 "const_0_operand") (match_operand 0 "register_operand"))) -(define_predicate "reg_or_mem_operand" - (ior (match_operand 0 "memory_operand") - (match_operand 0 "register_operand"))) - ;; Return if the operand is either the PC or a label_ref. (define_special_predicate "pc_or_label_operand" (ior (match_code "pc,label_ref")