This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, Minor changes. Now -mno-mips16 is implied for -mmsa and the tests are not run in the absence of -ffat-lto-objects switch if just -flto is given. Regards, Robert > -----Original Message----- > From: gcc-patches-owner@gcc.gnu.org [mailto:gcc-patches-owner@gcc.gnu.org] On > Behalf Of Robert Suchanek > Sent: 05 January 2016 16:17 > To: Catherine_Moore@mentor.com; Matthew Fortune > Cc: gcc-patches@gcc.gnu.org > Subject: RE: [PATCH 4/4] [MIPS] Add tests for MSA > > Hi, > > Here are the updated tests for MSA. Some of the changes to the patterns > exposed more optimization opportunities, and hence, the expected output has > changed. > > > The attached patch adds tests and enables supported auto-vectorization tests > > for MSA. > > > > As mentioned in the first message, there is a minor regression that should > > be fixed by a follow up patch for O32 ABI. There are 3 tests failing: > > vect-32.c, vect-multitypes-{3,6}.c, and an unexpected pass: vect-96.c. > > > > Tested with mips-img-linux-gnu and mips-mti-linux-gnu. > > Regards, > Robert > > gcc/testsuite/ChangeLog: > > * gcc.dg/vect/slp-26.c: Check if vectorized for MIPS MSA. > * gcc.dg/vect/tree-vect.h (check_vect): Check for MIPS SIMD support. > * gcc.target/mips/mips.exp: Add support for -mmsa. > * gcc.target/mips/msa.c: New test. > * gcc.target/mips/msa-builtins.c: Likewise. > * lib/target-supports.exp (check_mips_msa_hw_available): New. > (check_effective_target_mips_msa_runtime): Likewise. > (check_effective_target_mips_msa): Likewise. > (add_options_for_mips_msa): Likewise. > (check_effective_target_vect_int): Return TRUE for MIPS MSA. > (check_effective_target_vect_intfloat_cvt): Likewise. > (check_effective_target_vect_uintfloat_cvt): Likewise. > (check_effective_target_vect_floatint_cvt): Likewise. > (check_effective_target_vect_floatuint_cvt): Likewise. > (check_effective_target_vect_shift): ewise. > (check_effective_target_vect_shift_char): Likewise. > (check_effective_target_vect_long): Likewise. > (check_effective_target_vect_float): Likewise. > (check_effective_target_vect_double): Likewise. > (check_effective_target_vect_long_long): Likewise. > (check_effective_target_vect_perm): Likewise. > (check_effective_target_vect_perm_byte): Likewise. > (check_effective_target_vect_perm_short): Likewise. > (check_effective_target_vect_sdot_qi): Likewise. > (check_effective_target_vect_udot_qi): Likewise. > (check_effective_target_vect_sdot_hi): Likewise. > (check_effective_target_vect_udot_hi): Likewise. > (check_effective_target_vect_pack_trunc): Likewise. > (check_effective_target_vect_unpack): Likewise. > (check_effective_target_vect_hw_misalign): Likewise. > (check_effective_target_vect_condition): Likewise. > (check_effective_target_vect_cond_mixed): Likewise. > (check_effective_target_vect_char_mult): Likewise. > (check_effective_target_vect_short_mult): Likewise. > (check_effective_target_vect_int_mult): Likewise. > (check_effective_target_vect_extract_even_odd): Likewise. > (check_effective_target_vect_interleave): Likewise. > (check_vect_support_and_set_flags): Check if the target supports MSA > and append to the list of EFFECTIVE_TARGETS.
Attachment:
0004-MIPS-Add-tests-for-MSA.patch
Description: 0004-MIPS-Add-tests-for-MSA.patch
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |