bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/23418] Incorrect xmmword is accepted


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/23418] Incorrect xmmword is accepted
Date: Wed, 18 Jul 2018 19:36:52 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23418

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

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=01683b308a016c49418aee27241389bd2560e0f1

commit 01683b308a016c49418aee27241389bd2560e0f1
Author: H.J. Lu <address@hidden>
Date:   Wed Jul 18 12:34:44 2018 -0700

    x86: Split vcvtps2{,u}qq and vcvttps2{,u}qq

    After

    commit 1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d
    Author: Jan Beulich <address@hidden>
    Date:   Mon Dec 18 09:36:14 2017 +0100

        x86: fold RegXMM/RegYMM/RegZMM into RegSIMD

        ... qualified by their respective sizes, allowing to drop FirstXmm0 at
        the same time.

    folded RegXMM, RegYMM and RegZMM into RegSIMD, it's no longer impossible
    to distinguish if Xmmword can represent a memory reference when operand
    specification contains SIMD register. For example, template operands
    specification like these

    RegXMM|...|Xmmword|...

    and

    RegXMM|...

    The Xmmword bitfield is always set by RegXMM which is represented by
    "RegSIMD|Xmmword".  This patch splits each of vcvtps2qq, vcvtps2uqq,
    vcvttps2qq and vcvttps2uqq into 2 templates: one template only has
    RegXMM source operand and the other only has mempry source operand.

    gas/

        PR gas/23418
        * testsuite/gas/i386/xmmword.s: Add tests for vcvtps2qq,
        vcvtps2uqq, vcvttps2qq and vcvttps2uqq.
        * testsuite/gas/i386/xmmword.l: Updated.

    opcodes/

        PR gas/23418
        * i386-opc.h (Byte): Update comments.
        (Word): Likewise.
        (Dword): Likewise.
        (Fword): Likewise.
        (Qword): Likewise.
        (Tbyte): Likewise.
        (Xmmword): Likewise.
        (Ymmword): Likewise.
        (Zmmword): Likewise.
        * i386-opc.tbl: Split vcvtps2qq, vcvtps2uqq, vcvttps2qq and
        vcvttps2uqq.
        * i386-tbl.h: Regenerated.

    (cherry picked from commit 11a322db5c8bc23009e97af30180d6b14d86dbd3)

-- 
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]