public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] LoongArch:Enable testing for common
@ 2024-01-05  3:43 chenxiaolong
  2024-01-05  3:43 ` [PATCH v2 1/7] LoongArch: testsuite:Added support for vector object detection chenxiaolong
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: chenxiaolong @ 2024-01-05  3:43 UTC (permalink / raw)
  To: gcc-patches; +Cc: xry111, i, xuchenghua, chenglulu, chenxiaolong

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 2934 bytes --]

v1->v2:
  On the basis of v1, the reason of the analysis problem is described in detail.

When using binutils, which does not support vectorization, and the gcc compiler
toolchain, which does support vectorization, the following two types of error
problems occur in gcc regression testing.

1.Failure of common tests in the gcc.dg/vect directory.

Regression testing of GCC has found that vect-bic-bitmask-{12/23}.c has errors
at compile time, and similar problems exist on various architectures (e.g. x86,
aarch64,riscv, etc.). The reason is that the behavior of the program is the
assembly state, and the vector instruction cannot be recognized in the assembly
stage and an error occurs.

2.FAIL items of common vectorization tests are supported.

When LoongArch architecture supports common vector test cases, GCC regression
testing has many failures. Reasons include a lack of detection of targets
Rules, lack of vectorization options, lack of specific compilation options,
check for instruction set differences and test behavior for program Settings,
etc. For details, see the following patches:

chenxiaolong (7):
  LoongArch: testsuite:Added support for vector object detection.
  LoongArch: testsuite:Modify the test behavior of the
    vect-bic-bitmask-{12,23}.c file.
  LoongArch: testsuite:Added detection support for LoongArch
    architecture in vect-{82,83}.c.
  LoongArch: testsuite:Fix FAIL in file bind_c_array_params_2.f90.
  LoongArch: testsuite:Delete the default run behavior in pr60510.f.
  LoongArch: testsuite:Added additional vectorization "-mlasx"
    compilation option.
  LoongArch: testsuite:Give up the detection of the
    gcc.dg/fma-{3,4,6,7}.c file.

 gcc/testsuite/gcc.dg/fma-3.c                  |   2 +-
 gcc/testsuite/gcc.dg/fma-4.c                  |   2 +-
 gcc/testsuite/gcc.dg/fma-6.c                  |   2 +-
 gcc/testsuite/gcc.dg/fma-7.c                  |   2 +-
 gcc/testsuite/gcc.dg/vect/bb-slp-pattern-1.c  |   1 +
 .../gcc.dg/vect/slp-widen-mult-half.c         |   1 +
 gcc/testsuite/gcc.dg/vect/vect-82.c           |   2 +-
 gcc/testsuite/gcc.dg/vect/vect-83.c           |   2 +-
 .../gcc.dg/vect/vect-bic-bitmask-12.c         |   2 +-
 .../gcc.dg/vect/vect-bic-bitmask-23.c         |   2 +-
 .../gcc.dg/vect/vect-widen-mult-const-s16.c   |   1 +
 .../gcc.dg/vect/vect-widen-mult-const-u16.c   |   1 +
 .../gcc.dg/vect/vect-widen-mult-half-u8.c     |   1 +
 .../gcc.dg/vect/vect-widen-mult-half.c        |   1 +
 .../gcc.dg/vect/vect-widen-mult-u16.c         |   1 +
 .../gcc.dg/vect/vect-widen-mult-u8-s16-s32.c  |   1 +
 .../gcc.dg/vect/vect-widen-mult-u8-u32.c      |   1 +
 .../gcc.dg/vect/vect-widen-mult-u8.c          |   1 +
 .../gfortran.dg/bind_c_array_params_2.f90     |   4 +-
 gcc/testsuite/gfortran.dg/vect/pr60510.f      |   1 -
 gcc/testsuite/lib/target-supports.exp         | 217 +++++++++++++-----
 21 files changed, 183 insertions(+), 65 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-05 12:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-05  3:43 [PATCH v2 0/7] LoongArch:Enable testing for common chenxiaolong
2024-01-05  3:43 ` [PATCH v2 1/7] LoongArch: testsuite:Added support for vector object detection chenxiaolong
2024-01-05  3:43 ` [PATCH v2 2/7] LoongArch: testsuite:Modify the test behavior of the vect-bic-bitmask-{12,23}.c file chenxiaolong
2024-01-05  3:43 ` [PATCH v2 3/7] LoongArch: testsuite:Added detection support for LoongArch architecture in vect-{82,83}.c chenxiaolong
2024-01-05  3:43 ` [PATCH v2 4/7] LoongArch: testsuite:Fix FAIL in file bind_c_array_params_2.f90 chenxiaolong
2024-01-05  3:43 ` [PATCH v2 5/7] LoongArch: testsuite:Delete the default run behavior in pr60510.f chenxiaolong
2024-01-05  3:43 ` [PATCH v2 6/7] LoongArch: testsuite:Added additional vectorization "-mlasx" compilation option chenxiaolong
2024-01-05  3:43 ` [PATCH v2 7/7] LoongArch: testsuite:Give up the detection of the gcc.dg/fma-{3,4,6,7}.c file chenxiaolong
2024-01-05 12:29 ` [pushed][PATCH v2 0/7] LoongArch:Enable testing for common chenglulu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).