This is the mail archive of the 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]

Re: [PATCH] i386: Expand roundeven for SSE4.1+

Thanks for the heads up. I did successful bootstrap build and
regression testing on x86_64-linux-gnu for the above patch and have
the test summary diff for patched and unpatched versions, but I do not
know if it has passed the regression test or not hence attaching the
diff here.


On Mon, 15 Jul 2019 at 01:48, Uros Bizjak <> wrote:
> > This patch is for expanding roundeven inline for SSE4.1 and later.
> > Note that this patch is to be applied on top of
> > <>. The patch
> > is bootstrapped and regression tested on x86_64-linux-gnu.
> Actually, your patch at [1] is the way to go, but you need several
> other changes to get x87 mode switching in order. Please also note
> that there is no corresponding non-SSE4 ix86_expand_... function for
> roundeven, so non-SSE4 SSE FP-math <rounding_insn><mode>2 expander has
> to be disabled for ROUNDEVEN int iterator. Please see (otherwise
> untested) attached patch which fixes both issues.
> [1]
> Uros.

Attachment: test_results.diff.txt
Description: Text document

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]