On 10/30/24 8:10 AM, Craig Blackmore wrote:
The function body checks for f3 only ran with -mcmodel explicitly set
which meant I missed a regression in my local testing of:

   commit b039d06c9a810a3fab4c5eb9d50b0c7aff94b2d8
   Author: Craig Blackmore <craig.blackm...@embecosm.com>
   Date:   Fri Oct 18 09:17:21 2024 -0600

       [PATCH 3/7] RISC-V: Fix vector memcpy smaller LMUL generation

The failure showed up in the rivos CI and it is due to f3 now using
LMUL m1 instead of m8.

I have reworked the test to make it more robust and maintainable.  This
allowed most of the special casing of command line arguments to be
removed.  It also fixes an issue where some targets would enable
multiple versions of the function body check e.g. `-march=rv32gcv
-mcmodel=medany`.

Changes since v1: Added missing ChangeLog.

gcc/testsuite/ChangeLog:

        * gcc.target/riscv/rvv/base/cpymem-1.c: Fix and rework f3.
Thanks.  Pushed to the trunk.
jeff

Reply via email to