]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Revert "RISC-V: Add non-vector types to dfa pipelines"
authorEdwin Lu <ewlu@rivosinc.com>
Thu, 1 Feb 2024 05:50:58 +0000 (21:50 -0800)
committerEdwin Lu <ewlu@rivosinc.com>
Thu, 1 Feb 2024 05:50:58 +0000 (21:50 -0800)
This reverts commit 26c34b809cd1a6249027730a8b52bbf6a1c0f4a8.

gcc/config/riscv/generic-ooo.md
gcc/config/riscv/generic.md
gcc/config/riscv/riscv.md
gcc/config/riscv/sifive-7.md
gcc/config/riscv/vector.md
gcc/config/riscv/zc.md

index ef8cb96daf4939d71604384efe5ebf3d1ab3b917..421a7bb929d4400ff60ee8338b679ff6364f8ed7 100644 (file)
 (define_insn_reservation "generic_ooo_alu" 1
   (and (eq_attr "tune" "generic_ooo")
        (eq_attr "type" "unknown,const,arith,shift,slt,multi,auipc,nop,logical,\
-                       move,bitmanip,rotate,min,max,minu,maxu,clz,ctz,atomic,\
-                       condmove,mvpair,zicond"))
+                       move,bitmanip,min,max,minu,maxu,clz,ctz"))
   "generic_ooo_issue,generic_ooo_ixu_alu")
 
-(define_insn_reservation "generic_ooo_sfb_alu" 2
-  (and (eq_attr "tune" "generic_ooo")
-       (eq_attr "type" "sfb_alu"))
-  "generic_ooo_issue,generic_ooo_ixu_alu")
-
-;; Branch instructions
-(define_insn_reservation "generic_ooo_branch" 1
-  (and (eq_attr "tune" "generic_ooo")
-       (eq_attr "type" "branch,jump,call,jalr,ret,trap"))
-  "generic_ooo_issue,generic_ooo_ixu_alu")
 
 ;; Float move, convert and compare.
 (define_insn_reservation "generic_ooo_float_move" 3
 (define_insn_reservation "generic_ooo_vec_alu" 3
   (and (eq_attr "tune" "generic_ooo")
        (eq_attr "type" "vialu,viwalu,vext,vicalu,vshift,vnshift,viminmax,vicmp,\
-                       vimov,vsalu,vaalu,vsshift,vnclip,vmov,vfmov,vector"))
+                       vimov,vsalu,vaalu,vsshift,vnclip,vmov,vfmov"))
   "generic_ooo_vxu_issue,generic_ooo_vxu_alu")
 
 ;; Vector float comparison, conversion etc.
index 45986cfea89799252b9cf6672866a07f9ff29b2e..b99ae345bb3dff7f9cac7a2697b708e159d83fc7 100644 (file)
@@ -27,9 +27,7 @@
 
 (define_insn_reservation "generic_alu" 1
   (and (eq_attr "tune" "generic")
-       (eq_attr "type" "unknown,const,arith,shift,slt,multi,auipc,nop,logical,\
-                       move,bitmanip,min,max,minu,maxu,clz,ctz,rotate,atomic,\
-                       condmove,crypto,mvpair,zicond"))
+       (eq_attr "type" "unknown,const,arith,shift,slt,multi,auipc,nop,logical,move,bitmanip,min,max,minu,maxu,clz,ctz,cpop"))
   "alu")
 
 (define_insn_reservation "generic_load" 3
 
 (define_insn_reservation "generic_branch" 1
   (and (eq_attr "tune" "generic")
-       (eq_attr "type" "branch,jump,call,jalr,ret,trap"))
-  "alu")
-
-(define_insn_reservation "generic_sfb_alu" 2
-  (and (eq_attr "tune" "generic")
-       (eq_attr "type" "sfb_alu"))
+       (eq_attr "type" "branch,jump,call,jalr"))
   "alu")
 
 (define_insn_reservation "generic_imul" 10
   (and (eq_attr "tune" "generic")
-       (eq_attr "type" "imul,clmul,cpop"))
+       (eq_attr "type" "imul,clmul"))
   "imuldiv*10")
 
 (define_insn_reservation "generic_idivsi" 34
            (eq_attr "mode" "DI")))
   "imuldiv*66")
 
-(define_insn_reservation "generic_fmul_half" 5
-  (and (eq_attr "tune" "generic")
-       (and (eq_attr "type" "fadd,fmul,fmadd")
-           (eq_attr "mode" "HF")))
-  "alu")
-
 (define_insn_reservation "generic_fmul_single" 5
   (and (eq_attr "tune" "generic")
        (and (eq_attr "type" "fadd,fmul,fmadd")
   (and (eq_attr "tune" "generic")
        (eq_attr "type" "fsqrt"))
   "fdivsqrt*25")
-
index c5be1b25a8a8f05dfccc9572b811a0c146d79f06..b320ad0210e3d28af15fee05260298d130daff53 100644 (file)
 ;; rotate   rotation instructions
 ;; atomic   atomic instructions
 ;; condmove    conditional moves
+;; cbo    cache block instructions
 ;; crypto cryptography instructions
+;; pushpop    zc push and pop instructions
 ;; mvpair    zc move pair instructions
 ;; zicond    zicond instructions
 ;; Classification of RVV instructions which will be added to each RVV .md pattern and used by scheduler.
    mtc,mfc,const,arith,logical,shift,slt,imul,idiv,move,fmove,fadd,fmul,
    fmadd,fdiv,fcmp,fcvt,fsqrt,multi,auipc,sfb_alu,nop,trap,ghost,bitmanip,
    rotate,clmul,min,max,minu,maxu,clz,ctz,cpop,
-   atomic,condmove,crypto,mvpair,zicond,rdvlenb,rdvl,wrvxrm,wrfrm,
-   vsetvl,vsetvl_pre,vlde,vste,vldm,vstm,vlds,vsts,
+   atomic,condmove,cbo,crypto,pushpop,mvpair,zicond,rdvlenb,rdvl,wrvxrm,wrfrm,
+   rdfrm,vsetvl,vsetvl_pre,vlde,vste,vldm,vstm,vlds,vsts,
    vldux,vldox,vstux,vstox,vldff,vldr,vstr,
    vlsegde,vssegte,vlsegds,vssegts,vlsegdux,vlsegdox,vssegtux,vssegtox,vlsegdff,
    vialu,viwalu,vext,vicalu,vshift,vnshift,vicmp,viminmax,
     UNSPECV_CLEAN)]
   "TARGET_ZICBOM"
   "cbo.clean\t%a0"
-  [(set_attr "type" "store")]
+  [(set_attr "type" "cbo")]
 )
 
 (define_insn "riscv_flush_<mode>"
     UNSPECV_FLUSH)]
   "TARGET_ZICBOM"
   "cbo.flush\t%a0"
-  [(set_attr "type" "store")]
+  [(set_attr "type" "cbo")]
 )
 
 (define_insn "riscv_inval_<mode>"
     UNSPECV_INVAL)]
   "TARGET_ZICBOM"
   "cbo.inval\t%a0"
-  [(set_attr "type" "store")]
+  [(set_attr "type" "cbo")]
 )
 
 (define_insn "riscv_zero_<mode>"
     UNSPECV_ZERO)]
   "TARGET_ZICBOZ"
   "cbo.zero\t%a0"
-  [(set_attr "type" "store")]
+  [(set_attr "type" "cbo")]
 )
 
 (define_insn "prefetch"
     default: gcc_unreachable ();
   }
 }
-  [(set_attr "type" "store")])
+  [(set_attr "type" "cbo")])
 
 (define_insn "riscv_prefetchi_<mode>"
   [(unspec_volatile:X [(match_operand:X 0 "address_operand" "r")
               UNSPECV_PREI)]
   "TARGET_ZICBOP"
   "prefetch.i\t%a0"
-  [(set_attr "type" "store")])
+  [(set_attr "type" "cbo")])
 
 (define_expand "extv<mode>"
   [(set (match_operand:GPR 0 "register_operand" "=r")
index 52904f546ed861dc0d3f1062071247c25ece69e0..a63394c8c587b30795c52d9d860143db153a7d17 100644 (file)
@@ -34,7 +34,7 @@
 
 (define_insn_reservation "sifive_7_branch" 1
   (and (eq_attr "tune" "sifive_7")
-       (eq_attr "type" "branch,ret,trap"))
+       (eq_attr "type" "branch"))
   "sifive_7_B")
 
 (define_insn_reservation "sifive_7_sfb_alu" 2
@@ -59,8 +59,7 @@
 
 (define_insn_reservation "sifive_7_alu" 2
   (and (eq_attr "tune" "sifive_7")
-       (eq_attr "type" "unknown,arith,shift,slt,multi,logical,move,bitmanip,\
-                       rotate,min,max,minu,maxu,clz,ctz,atomic,condmove,crypto,mvpair,zicond"))
+       (eq_attr "type" "unknown,arith,shift,slt,multi,logical,move"))
   "sifive_7_A|sifive_7_B")
 
 (define_insn_reservation "sifive_7_load_immediate" 1
        (eq_attr "type" "nop,const,auipc"))
   "sifive_7_A|sifive_7_B")
 
-(define_insn_reservation "sifive_7_hfma" 5
-  (and (eq_attr "tune" "sifive_7")
-       (and (eq_attr "type" "fadd,fmul,fmadd")
-           (eq_attr "mode" "HF")))
-  "sifive_7_B")
-
 (define_insn_reservation "sifive_7_sfma" 5
   (and (eq_attr "tune" "sifive_7")
        (and (eq_attr "type" "fadd,fmul,fmadd")
        (eq_attr "type" "mfc"))
   "sifive_7_A")
 
-;; Popcount and clmul.
-(define_insn_reservation "sifive_7_popcount" 2
-  (and (eq_attr "tune" "sifive_7")
-       (eq_attr "type" "cpop,clmul"))
-  "sifive_7_A")
-
 (define_bypass 1 "sifive_7_load,sifive_7_alu,sifive_7_mul,sifive_7_f2i,sifive_7_sfb_alu"
   "sifive_7_alu,sifive_7_branch")
 
index f89f9c2fa86f2ee92894ca69b4d126a615838633..ab6e099852dc978342fa89ca09734cc07d2d8162 100644 (file)
        (reg:SI FRM_REGNUM))]
   "TARGET_VECTOR"
   "frrm\t%0"
-  [(set_attr "type" "fmove")
+  [(set_attr "type" "rdfrm")
    (set_attr "mode" "SI")]
 )
 
index 462ab37569e38689b7baa7df29bebfc813fb8ef6..216232cb9f2fe105b7c3d6a2c15d466aa930df7c 100644 (file)
@@ -27,7 +27,7 @@
                        (const_int <slot0_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s0_<mode>"
   [(set (reg:X SP_REGNUM)
@@ -41,7 +41,7 @@
                        (const_int <slot1_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s1_<mode>"
   [(set (reg:X SP_REGNUM)
@@ -58,7 +58,7 @@
                        (const_int <slot2_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0-s1}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s2_<mode>"
   [(set (reg:X SP_REGNUM)
@@ -78,7 +78,7 @@
                        (const_int <slot3_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0-s2}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s3_<mode>"
   [(set (reg:X SP_REGNUM)
                        (const_int <slot4_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0-s3}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s4_<mode>"
   [(set (reg:X SP_REGNUM)
                        (const_int <slot5_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0-s4}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s5_<mode>"
   [(set (reg:X SP_REGNUM)
                        (const_int <slot6_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0-s5}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s6_<mode>"
   [(set (reg:X SP_REGNUM)
                        (const_int <slot7_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0-s6}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s7_<mode>"
   [(set (reg:X SP_REGNUM)
                       (const_int <slot8_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0-s7}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s8_<mode>"
   [(set (reg:X SP_REGNUM)
                        (const_int <slot9_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0-s8}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s9_<mode>"
   [(set (reg:X SP_REGNUM)
                        (const_int <slot10_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0-s9}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_pop_up_to_s11_<mode>"
   [(set (reg:X SP_REGNUM)
                        (const_int <slot12_offset>))))]
   "TARGET_ZCMP"
   "cm.pop      {ra, s0-s11}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_ra_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s0_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s1_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0-s1}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s2_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0-s2}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s3_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0-s3}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s4_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0-s4}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s5_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0-s5}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s6_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0-s6}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s7_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0-s7}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s8_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0-s8}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s9_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0-s9}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popret_up_to_s11_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popret   {ra, s0-s11}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_ra_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s0_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s1_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0-s1}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s2_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0-s2}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s3_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0-s3}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s4_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0-s4}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s5_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0-s5}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s6_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0-s6}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s7_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0-s7}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s8_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0-s8}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s9_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0-s9}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_popretz_up_to_s11_<mode>"
   [(set (reg:X SP_REGNUM)
    (use (reg:SI RETURN_ADDR_REGNUM))]
   "TARGET_ZCMP"
   "cm.popretz  {ra, s0-s11}, %0"
-[(set_attr "type" "load")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_ra_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_ra_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s0_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s0_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s1_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s1_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0-s1}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s2_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s2_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0-s2}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s3_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s3_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0-s3}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s4_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s4_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0-s4}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s5_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s5_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0-s5}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s6_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s6_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0-s6}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s7_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s7_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0-s7}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s8_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s8_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0-s8}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s9_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s9_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0-s9}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 (define_insn "@gpr_multi_push_up_to_s11_<mode>"
   [(set (mem:X (plus:X (reg:X SP_REGNUM)
                  (match_operand 0 "stack_push_up_to_s11_operand" "I")))]
   "TARGET_ZCMP"
   "cm.push     {ra, s0-s11}, %0"
-[(set_attr "type" "store")])
+[(set_attr "type" "pushpop")])
 
 ;; ZCMP mv
 (define_insn "*mva01s<X:mode>"