Re:[PATCH v4] RISC-V: Handle differences between XTheadvector and Vector

2024-01-08 Thread joshua
mer; andrew; "philipp.tomsich"; Jeff Law; "Christoph Müllner"; "cooper.joshua"; jinma; Cooper Qu 主 题:Re: [PATCH v4] RISC-V: Handle differences between XTheadvector and Vector -  return TAIL_ANY; +  return TARGET_XTHEADVECTOR ? TAIL_AGNOSTIC : TAIL_ANY; -  retur

Re:[PATCH v4] RISC-V: Handle differences between XTheadvector and Vector

2024-01-08 Thread joshua
..@rivai.ai   From: Jun Sha (Joshua) Date: 2024-01-03 14:15 To: gcc-patches CC: jim.wilson.gcc; palmer; andrew; philipp.tomsich; jeffreyalaw; christoph.muellner; juzhe.zhong; Jun Sha (Joshua); Jin Ma; Xianmiao Qu Subject: [PATCH v4] RISC-V: Handle differences between XTheadvector and Vector This patch

[PATCH v4] RISC-V: Handle differences between XTheadvector and Vector

2024-01-03 Thread Jun Sha (Joshua)
This patch is to handle the differences in instruction generation between Vector and XTheadVector. In this version, we only support partial xtheadvector instructions that leverage directly from current RVV1.0 with simple adding "th." prefix. For different name xtheadvector instructions but share sa

[PATCH v4] RISC-V: Handle differences between XTheadvector and Vector

2024-01-02 Thread Jun Sha (Joshua)
This patch is to handle the differences in instruction generation between Vector and XTheadVector. In this version, we only support partial xtheadvector instructions that leverage directly from current RVV1.0 with simple adding "th." prefix. For different name xtheadvector instructions but share sa

Re: [PATCH v4] RISC-V: Handle differences between XTheadvector and Vector

2024-01-02 Thread Kito Cheng
> diff --git a/gcc/config/riscv/riscv_th_vector.h > b/gcc/config/riscv/riscv_th_vector.h > new file mode 100644 > index 000..6f47e0c90a4 > --- /dev/null > +++ b/gcc/config/riscv/riscv_th_vector.h > @@ -0,0 +1,49 @@ > +/* RISC-V 'XTheadVector' Extension intrinsics include file. > + Copyri

[PATCH v4] RISC-V: Handle differences between XTheadvector and Vector

2024-01-02 Thread Jun Sha (Joshua)
This patch is to handle the differences in instruction generation between Vector and XTheadVector. In this version, we only support partial xtheadvector instructions that leverage directly from current RVV1.0 with simple adding "th." prefix. For different name xtheadvector instructions but share sa

Re:[PATCH v4] RISC-V: Handle differences between XTheadvector and Vector

2024-01-02 Thread joshua
r.md. -- 发件人:juzhe.zh...@rivai.ai 发送时间:2024年1月2日(星期二) 10:00 收件人:"cooper.joshua"; "gcc-patches" 抄 送:Jim Wilson; palmer; andrew; "philipp.tomsich"; jeffreyalaw; "christoph.muellner"; "cooper.joshua"; jinma; "cooper.qu" 主 题:Re: [PATC

Re:Re:[PATCH v4] RISC-V: Handle differences between XTheadvector and Vector

2024-01-01 Thread joshua
ilson; palmer; andrew; "philipp.tomsich"; jeffreyalaw; "christoph.muellner" 主 题:Re: Re:[PATCH v4] RISC-V: Handle differences between XTheadvector and Vector Like riscv_output_move if (TARGET_THEADVECTOR)   return vsetvlino tail policy and mask policy. else   return ..

Re:[PATCH v4] RISC-V: Handle differences between XTheadvector and Vector

2024-01-01 Thread joshua
-- 发件人:juzhe.zh...@rivai.ai 发送时间:2024年1月2日(星期二) 10:00 收件人:"cooper.joshua"; "gcc-patches" 抄 送:Jim Wilson; palmer; andrew; "philipp.tomsich"; jeffreyalaw; "christoph.muellner"; "cooper.joshua";

[PATCH v4] RISC-V: Handle differences between XTheadvector and Vector

2023-12-28 Thread Jun Sha (Joshua)
This patch is to handle the differences in instruction generation between Vector and XTheadVector. In this version, we only support partial xtheadvector instructions that leverage directly from current RVV1.0 with simple adding "th." prefix. For different name xtheadvector instructions but share sa