From 86b96a79b81fa6fcbb3e136d8c720c4aa6df8eda Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 26 May 2023 10:14:34 +0200 Subject: [PATCH] iamcu: suppress tests which can't possibly work With neither --32 nor --64 passed to gas, advanced features like AVX aren't available without explicitly enabling them. --- gas/testsuite/gas/i386/i386.exp | 41 ++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp index 3325ea6efb8..d78f1937c84 100644 --- a/gas/testsuite/gas/i386/i386.exp +++ b/gas/testsuite/gas/i386/i386.exp @@ -749,7 +749,9 @@ if {![istarget "i*86-*-elfiamcu"] && [gas_64_check]} then { run_list_test "string-bad" "" run_list_test "reg-bad" "" run_list_test "space1" "-al" -run_list_test "xmmword" "" +if {![istarget "i*86-*-elfiamcu"]} then { + run_list_test "xmmword" +} # Disabled due to large memory requirement. # run_dump_test rept run_dump_test pr19498 @@ -769,23 +771,26 @@ if {[is_elf_format] || [istarget "*-*-vxworks*"]} then { run_dump_test "dw2-compressed-3a" run_dump_test "dw2-compressed-3b" - run_dump_test "property-2" - run_dump_test "property-3" - run_dump_test "property-4" - run_dump_test "property-5" - run_dump_test "property-6" - run_dump_test "property-10" - run_dump_test "property-11" - run_dump_test "property-12" - run_dump_test "property-13" - run_dump_test "property-cvtpi2pd" - run_dump_test "property-cvtpi2ps" - run_dump_test "property-ldmxcsr" - run_dump_test "property-v4fmaddps" - run_dump_test "property-vfmaddps" - run_dump_test "property-vldmxcsr" - run_dump_test "property-vpcmov" - run_dump_test "property-vzeroall" + if {![istarget "i*86-*-elfiamcu"]} then { + run_dump_test "property-2" + run_dump_test "property-3" + run_dump_test "property-4" + run_dump_test "property-5" + run_dump_test "property-6" + run_dump_test "property-10" + run_dump_test "property-11" + run_dump_test "property-12" + run_dump_test "property-13" + run_dump_test "property-cvtpi2pd" + run_dump_test "property-cvtpi2ps" + run_dump_test "property-ldmxcsr" + run_dump_test "property-v4fmaddps" + run_dump_test "property-vfmaddps" + run_dump_test "property-vldmxcsr" + run_dump_test "property-vpcmov" + run_dump_test "property-vzeroall" + } + run_dump_test "code16-2" if {![istarget "*-*-dragonfly*"] -- 2.30.2