This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 08/10] rs6000: compare->two for rld*;rld*.


These now are the only remaining patterns that have type "compare".
And they shouldn't: "two" is a better type for them.


2014-12-08  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/
	* config/rs6000/rs6000.md (*anddi3_2rld_dot, *anddi3_rld_dot2):
	Change type from "compare" to "two".

---
 gcc/config/rs6000/rs6000.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index eb15fff..d0b8bc8 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -7341,7 +7341,7 @@ (define_insn_and_split "*anddi3_2rld_dot"
 {
   build_mask64_2_operands (operands[2], &operands[4]);
 }
-  [(set_attr "type" "compare")
+  [(set_attr "type" "two")
    (set_attr "dot" "yes")
    (set_attr "length" "8,12")])
 
@@ -7374,7 +7374,7 @@ (define_insn_and_split "*anddi3_2rld_dot2"
 {
   build_mask64_2_operands (operands[2], &operands[4]);
 }
-  [(set_attr "type" "compare")
+  [(set_attr "type" "two")
    (set_attr "dot" "yes")
    (set_attr "length" "8,12")])
 
-- 
1.8.1.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]