diff mbox

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

Message ID 6f5bccdd35cac1b8bb8cb7a16a48c08c79fbbc8d.1418024189.git.segher@kernel.crashing.org
State New
Headers show

Commit Message

Segher Boessenkool Dec. 8, 2014, 2:18 p.m. UTC
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(-)

Comments

David Edelsohn Dec. 9, 2014, 6:56 p.m. UTC | #1
On Mon, Dec 8, 2014 at 9:18 AM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> 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".

Okay.

Thanks, David
diff mbox

Patch

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")])