Enable MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for march=tremont

Hongtao Liu crazylht@gmail.com
Tue Nov 10 12:03:29 GMT 2020


On Tue, Nov 10, 2020 at 4:17 PM Hongtao Liu <crazylht@gmail.com> wrote:
>
> On Tue, Nov 10, 2020 at 3:22 AM Jason Merrill via Gcc-patches
> <gcc-patches@gcc.gnu.org> wrote:
> >
> > This patch was also applied to the GCC 9 and 10 branches and breaks those
> > builds, because PTA_CLDEMOTE is not defined.
> >
> Mine, let me fix it, sorry for that.
>

Since CLDEMOTE already existed in gcc9 and later, define PTA_CLDEMOTE
instead of removing it.
Similar for MOVDIRI, MOVDIR64B.

GCC10-Fix.patch

gcc/ChangeLog
        * config/i386/i386-options.c (ix86_option_override_internal):
        Handle PTA_CLDEMOTE.
        * config/i386/i386.h (PTA_CLDEMOTE): Define.

GCC9-Fix.patch

gcc/ChangeLog
        * config/i386/i386.c (ix86_option_override_internal):
        Handle PTA_CLDEMOTE, PTA_MOVDIRI, PTA_MOVDIR64B.
        * config/i386/i386.h (PTA_CLDEMOTE, PTA_MOVDIRI,
        PTA_MOVDIR64B.): Define.

Bootstrap and regression test for i386 backend is ok on releases/gcc-9
and releases/gcc-10 branch.

Sorry for such unnecessary inconvenience.

> --
> BR,
> Hongtao



--
BR,
Hongtao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GCC10-Fix.patch
Type: text/x-patch
Size: 1840 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201110/5f451fcf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GCC9-Fix.patch
Type: text/x-patch
Size: 2383 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201110/5f451fcf/attachment-0001.bin>


More information about the Gcc-patches mailing list