]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Adjust overlap attr after revert d3544cea63d and e65aaf8efe1
authorPan Li <pan2.li@intel.com>
Mon, 22 Apr 2024 13:20:02 +0000 (21:20 +0800)
committerPan Li <pan2.li@intel.com>
Mon, 22 Apr 2024 22:49:58 +0000 (06:49 +0800)
After we reverted below 2 commits, the reference to attr need some
adjustment as the group_overlap is no longer available.

* RISC-V: Robostify the W43, W86, W87 constraint enabled attribute
* RISC-V: Rename vconstraint into group_overlap

The below tests are passed for this patch.

* The rv64gcv fully regression tests.

gcc/ChangeLog:

* config/riscv/vector-crypto.md:

Signed-off-by: Pan Li <pan2.li@intel.com>
gcc/config/riscv/vector-crypto.md

index 519c6a10d94f5c35ab2bfde2cb0fc04933962376..23dc549e5b83e66ae59403a7d7f21308fd21eab8 100755 (executable)
   "vwsll.v%o4\t%0,%3,%4%p1"
   [(set_attr "type" "vwsll")
    (set_attr "mode" "<V_DOUBLE_TRUNC>")
-   (set_attr "group_overlap" "W21,W21,W21,W21,W42,W42,W42,W42,W84,W84,W84,W84,none,none")])
+   (set_attr "vconstraint" "W21,W21,W21,W21,W42,W42,W42,W42,W84,W84,W84,W84,no,no")])
 
 ;; vbrev.v vbrev8.v vrev8.v
 (define_insn "@pred_v<rev><mode>"