diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-07-18 05:33:36 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-07-18 05:33:50 -0700 |
commit | 11a322db5c8bc23009e97af30180d6b14d86dbd3 (patch) | |
tree | 44297f3d3e8c0a2d78eeb0347f3964aed085dad9 /opcodes/i386-opc.h | |
parent | afca762f598d453c563f244cd3777715b1a0cb72 (diff) | |
download | gdb-11a322db5c8bc23009e97af30180d6b14d86dbd3.zip gdb-11a322db5c8bc23009e97af30180d6b14d86dbd3.tar.gz gdb-11a322db5c8bc23009e97af30180d6b14d86dbd3.tar.bz2 |
x86: Split vcvtps2{,u}qq and vcvttps2{,u}qq
After
commit 1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d
Author: Jan Beulich <jbeulich@novell.com>
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.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index 4f12830..4f8cf24 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -736,23 +736,23 @@ enum RegMem, /* Memory. */ Mem, - /* BYTE memory. */ + /* BYTE size. */ Byte, - /* WORD memory. 2 byte */ + /* WORD size. 2 byte */ Word, - /* DWORD memory. 4 byte */ + /* DWORD size. 4 byte */ Dword, - /* FWORD memory. 6 byte */ + /* FWORD size. 6 byte */ Fword, - /* QWORD memory. 8 byte */ + /* QWORD size. 8 byte */ Qword, - /* TBYTE memory. 10 byte */ + /* TBYTE size. 10 byte */ Tbyte, - /* XMMWORD memory. */ + /* XMMWORD size. */ Xmmword, - /* YMMWORD memory. */ + /* YMMWORD size. */ Ymmword, - /* ZMMWORD memory. */ + /* ZMMWORD size. */ Zmmword, /* Unspecified memory size. */ Unspecified, |