Hi, Jeff.
I removed mem-to-mem patterns as you suggested that means we don't have scalar
move optimization for small size vector modes.
Is it ok for trunk?
Since it is a bug fix patch, I hope we can land it soon. We may will find
another way to optimize small size vector mode mem-to-mem.
ju
OK。
Remove mem-to-mem pattern:
[PATCH V3] RISC-V: Remove mem-to-mem VLS move pattern[PR111566] (gnu.org)
juzhe.zh...@rivai.ai
From: Jeff Law
Date: 2023-09-26 23:15
To: 钟居哲; gcc-patches
CC: kito.cheng; kito.cheng; rdapp.gcc
Subject: Re: [Committed] RISC-V: Fix mem-to-mem VLS move pattern[PR11
Thanks Jeff.
Address comments:
[PATCH V2] RISC-V: Fix mem-to-mem VLS move pattern[PR111566] (gnu.org)
Actually, we only allow mem-to-mem move for VLS modes size <= MAX_BITS_PER_WORD.
Since we want to optimize this case:
- typedef int8_t v2qi __attribute__ ((vector_size (2)));
-