public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7136] aarch64: Generalise vec_set predicate
@ 2022-02-09 16:57 Richard Sandiford
  0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2022-02-09 16:57 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:fabc5d9bceb0aec8db2147eb50ae375c711eea90

commit r12-7136-gfabc5d9bceb0aec8db2147eb50ae375c711eea90
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Wed Feb 9 16:57:02 2022 +0000

    aarch64: Generalise vec_set predicate
    
    The aarch64_simd_vec_set<mode> define_insn takes memory operands,
    so this patch makes the vec_set<mode> optab expander do the same.
    
    gcc/
            * config/aarch64/aarch64-simd.md (vec_set<mode>): Allow the
            element to be an aarch64_simd_nonimmediate_operand.

Diff:
---
 gcc/config/aarch64/aarch64-simd.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/aarch64/aarch64-simd.md b/gcc/config/aarch64/aarch64-simd.md
index 9529bdb4997..872a3d78269 100644
--- a/gcc/config/aarch64/aarch64-simd.md
+++ b/gcc/config/aarch64/aarch64-simd.md
@@ -1378,7 +1378,7 @@
 
 (define_expand "vec_set<mode>"
   [(match_operand:VALL_F16 0 "register_operand")
-   (match_operand:<VEL> 1 "register_operand")
+   (match_operand:<VEL> 1 "aarch64_simd_nonimmediate_operand")
    (match_operand:SI 2 "immediate_operand")]
   "TARGET_SIMD"
   {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-09 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09 16:57 [gcc r12-7136] aarch64: Generalise vec_set predicate Richard Sandiford

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).