Allow VL=1 on scalar FMA instructions.
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 28 Jan 2010 15:33:23 +0000 (15:33 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 28 Jan 2010 15:33:23 +0000 (15:33 +0000)
commit1c4809636b0de9e160c8e711f82dabf66e0000a9
tree4cbcd883520ebcdd6d1741375fb810d43e05b916
parent70ecb3842d3c4b2836c8b007743d996a2d6bef16
Allow VL=1 on scalar FMA instructions.

gas/testsuite/

2010-01-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/fma-scalar-intel.d: New.
* gas/i386/fma-scalar.d: Likewise.
* gas/i386/fma-scalar.s: Likewise.
* gas/i386/x86-64-fma-scalar-intel.d: Likewise.
* gas/i386/x86-64-fma-scalar.d: Likewise.
* gas/i386/x86-64-fma-scalar.s: Likewise.

* gas/i386/i386.exp: Run fma-scalar, fma-scalar-intel,
x86-64-fma-scalar and x86-64-fma-scalar-intel.

opcodes/

2010-01-28  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (EXVexWdqScalar): New.
(vex_scalar_w_dq_mode): Likewise.
(prefix_table): Update entries for PREFIX_VEX_3899,
PREFIX_VEX_389B, PREFIX_VEX_389D, PREFIX_VEX_389F,
PREFIX_VEX_38A9, PREFIX_VEX_38AB, PREFIX_VEX_38AD,
PREFIX_VEX_38AF, PREFIX_VEX_38B9, PREFIX_VEX_38BB,
PREFIX_VEX_38BD and PREFIX_VEX_38BF.
(intel_operand_size): Handle vex_scalar_w_dq_mode.
(OP_EX): Likewise.
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/fma-scalar-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/fma-scalar.d [new file with mode: 0644]
gas/testsuite/gas/i386/fma-scalar.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-fma-scalar-intel.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-fma-scalar.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-fma-scalar.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis.c