* [PATCH] RISC-V: Minor pattern name cleanup.
@ 2018-05-16 18:44 Jim Wilson
0 siblings, 0 replies; only message in thread
From: Jim Wilson @ 2018-05-16 18:44 UTC (permalink / raw)
To: gcc-patches; +Cc: Jim Wilson
This just fixes a minor nit with an earlier patch. I added some new patterns
that are never directly called, and forgot to put the asterisk in the name.
Tested with riscv{32,64}-{elf,linux} builds to verify that the compiler still
builds OK.
Committed.
Jim
gcc/
* config/riscv/riscv.md (<optab>si3_mask, <optab>si3_mask_1): Prepend
asterisk to name.
(<optab>di3_mask, <optab>di3_mask_1): Likewise.
---
gcc/config/riscv/riscv.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md
index 9d222731a06..56fe516dbcf 100644
--- a/gcc/config/riscv/riscv.md
+++ b/gcc/config/riscv/riscv.md
@@ -1504,7 +1504,7 @@
[(set_attr "type" "shift")
(set_attr "mode" "SI")])
-(define_insn_and_split "<optab>si3_mask"
+(define_insn_and_split "*<optab>si3_mask"
[(set (match_operand:SI 0 "register_operand" "= r")
(any_shift:SI
(match_operand:SI 1 "register_operand" " r")
@@ -1523,7 +1523,7 @@
[(set_attr "type" "shift")
(set_attr "mode" "SI")])
-(define_insn_and_split "<optab>si3_mask_1"
+(define_insn_and_split "*<optab>si3_mask_1"
[(set (match_operand:SI 0 "register_operand" "= r")
(any_shift:SI
(match_operand:SI 1 "register_operand" " r")
@@ -1559,7 +1559,7 @@
[(set_attr "type" "shift")
(set_attr "mode" "DI")])
-(define_insn_and_split "<optab>di3_mask"
+(define_insn_and_split "*<optab>di3_mask"
[(set (match_operand:DI 0 "register_operand" "= r")
(any_shift:DI
(match_operand:DI 1 "register_operand" " r")
@@ -1579,7 +1579,7 @@
[(set_attr "type" "shift")
(set_attr "mode" "DI")])
-(define_insn_and_split "<optab>di3_mask_1"
+(define_insn_and_split "*<optab>di3_mask_1"
[(set (match_operand:DI 0 "register_operand" "= r")
(any_shift:DI
(match_operand:DI 1 "register_operand" " r")
--
2.14.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-16 18:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-16 18:44 [PATCH] RISC-V: Minor pattern name cleanup Jim Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).