Hi, This test hangs on avx512er, maybe that's why: > According to POSIX, the behavior of a process is undefined after it ignores a > SIGFPE, SIGILL, or SIGSEGV signal that was not generated by kill(2) or > raise(3).
And volatile make it work even without a patch(r1 and r2 are not combined then). Added other changes. Thanks, Julia > -----Original Message----- > From: Uros Bizjak [mailto:ubiz...@gmail.com] > Sent: Wednesday, June 14, 2017 11:54 AM > To: Koval, Julia <julia.ko...@intel.com> > Cc: Richard Biener <richard.guent...@gmail.com>; Jakub Jelinek > <ja...@redhat.com>; H.J. Lu <hjl.to...@gmail.com>; GCC Patches <gcc- > patc...@gcc.gnu.org>; Kirill Yukhin <kirill.yuk...@gmail.com> > Subject: Re: [PATCH][X86] Fix rounding pattern similar to PR73350 > > On Tue, Jun 13, 2017 at 1:37 PM, Koval, Julia <julia.ko...@intel.com> wrote: > > Thank you for your help. I fixed the test similar to existing sigaction > > tests. > > > > gcc/ > > * config/i386/i386.c: Fix rounding expand for new pattern. > > * config/i386/subst.md: Fix pattern (parallel -> unspec). > > gcc/testsuite/ > > * gcc.target/i386/pr73350-2.c: New test. > > The test will fail at runtime on non-avx512er targets. Can you please > test the attached testcase? > > Uros.
0001-fix.patch
Description: 0001-fix.patch