Re: [PATCH v2] RISC-V: Disable unsupported vsext/vzext patterns for XTheadVector.

2025-04-09 Thread Jeff Law
On 4/8/25 8:54 PM, Jin Ma wrote: On Tue, 8 Apr 2025 14:27:16 -0600, Jeff Law wrote: On 4/7/25 12:26 AM, Jin Ma wrote: XThreadVector does not support the vsext/vzext instructions; however, due to the reuse of RVV optimizations, it may generate these instructions in certain cases. To prevent

Re: [PATCH v2] RISC-V: Disable unsupported vsext/vzext patterns for XTheadVector.

2025-04-08 Thread Jin Ma
On Tue, 8 Apr 2025 14:27:16 -0600, Jeff Law wrote: > > > On 4/7/25 12:26 AM, Jin Ma wrote: > > XThreadVector does not support the vsext/vzext instructions; however, > > due to the reuse of RVV optimizations, it may generate these instructions > > in certain cases. To prevent the error "Unknown op

Re: [PATCH v2] RISC-V: Disable unsupported vsext/vzext patterns for XTheadVector.

2025-04-08 Thread Jeff Law
On 4/7/25 12:26 AM, Jin Ma wrote: XThreadVector does not support the vsext/vzext instructions; however, due to the reuse of RVV optimizations, it may generate these instructions in certain cases. To prevent the error "Unknown opcode 'th.vsext.vf2'," we should disable these patterns. V2: Chang

[PATCH v2] RISC-V: Disable unsupported vsext/vzext patterns for XTheadVector.

2025-04-06 Thread Jin Ma
XThreadVector does not support the vsext/vzext instructions; however, due to the reuse of RVV optimizations, it may generate these instructions in certain cases. To prevent the error "Unknown opcode 'th.vsext.vf2'," we should disable these patterns. V2: Change the value of dg-do in the test case f