[PATCH][x86] Remove duplicated headers includes

Peryt, Sebastian sebastian.peryt@intel.com
Wed May 30 12:52:00 GMT 2018


Hi,

I have made some cleaning to remove redundancy in includes call of some of the headers in x86intrin.h.
Removed headers were included in both x86intrin.h and immintrin.h which is included into x86intrin.h.

Is it ok for trunk?

2018-05-30  Sebastian Peryt  <sebastian.peryt@intel.com>

gcc/

        * config/i386/cldemoteintrin.h: Change define from _X86INTRIN_H_INCLUDED
        to _IMMINTRIN_H_INCLUDED.
        * config/i386/pconfigintrin.h: Ditto.
        * config/i386/waitpkgintrin.h: Ditto.
        * config/i386/immintrin.h: Add includes for sgxintrin.h,
        pconfigintrin.h, waitpkgintrin.h and cldemoteintrin.h.
        * config/i386/x86intrin.h: Remove includes for mintrin.h, xmmintrin.h,
        emmintrin.h, pmmintrin.h, tmmintrin.h, smmintrin.h, wmmintrin.h,
        bmiintrin.h, bmi2intrin.h, lzcntintrin.h, sgxintrin.h, pconfigintrin.h,
        waitpkgintrin.h and cldemoteintrin.h.

Thanks,
Sebastian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Headers-changes.patch
Type: application/octet-stream
Size: 3629 bytes
Desc: 0001-Headers-changes.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180530/554da407/attachment.obj>


More information about the Gcc-patches mailing list