[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/24352] Incorrect EVEX optimization

From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/24352] Incorrect EVEX optimization
Date: Sat, 16 Mar 2019 23:27:29 +0000


--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:


commit dd22218cf26fa5d8beade7266de391a28e63527b
Author: H.J. Lu <address@hidden>
Date:   Sun Mar 17 07:25:08 2019 +0800

    x86: Correctly optimize EVEX to 128-bit VEX/EVEX

    We can optimize 512-bit EVEX to 128-bit EVEX encoding for upper 16
    vector registers only when AVX512VL is enabled.  We can't optimize
    EVEX to 128-bit VEX encoding when AVX isn't enabled.

        PR gas/24352
        * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
        with 128-bit VEX encoding only when AVX is enabled and with
        128-bit EVEX encoding only when AVX512VL is enabled.
        * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
        * testsuite/gas/i386/optimize-6.s: New file.
        * testsuite/gas/i386/optimize-6a.d: Likewise.
        * testsuite/gas/i386/optimize-6b.d: Likewise.
        * testsuite/gas/i386/optimize-6c.d: Likewise.
        * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
        * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
        * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
        * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
        * testsuite/gas/i386/x86-64-optimize-2.d: Updated.

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]